ccampbell/chromephp-extension — pull request #6 by micnigh (2013-03-28 21:24:51+00:00)
Title: Delay updating client until onCompleted event

Previously the client received log data after the `onResponseStarted` event, and the extension logged it - but chrome clears the console shortly after.

This patch instead uses the last web request event, `onCompleted`, to print log statements after the console has been cleared.

fixes #4

Chrome web request info
https://developer.chrome.com/extensions/webRequest.html#life_cycle