TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_netlogging.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: content.wrappedJSObject.testXhrGet is not a function at chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_netlogging.js:101
Created attachment 629825 [details] [diff] [review] [in-fx-team] proposed fix Proposed fix. Potential problem: the network request callback is invoked before the page completes loading, before testXhrGet() is available. Solution: also wait for page load. Try push: https://tbpl.mozilla.org/?tree=Try&rev=3b7f99b34142
Comment on attachment 629825 [details] [diff] [review] [in-fx-team] proposed fix yeah, I think that should cover it. I don't think you can have requestCallbackInvoked == false and still get your load event.
Comment on attachment 629825 [details] [diff] [review] [in-fx-team] proposed fix https://hg.mozilla.org/integration/fx-team/rev/51c36b7f783b