Last Comment Bug 760999 - Intermittent browser_webconsole_netlogging.js | TypeError: content.wrappedJSObject.testXhrGet is not a function
: Intermittent browser_webconsole_netlogging.js | TypeError: content.wrappedJSO...
Status: RESOLVED FIXED
: intermittent-failure
Product: Firefox
Classification: Client Software
Component: Developer Tools: Console (show other bugs)
: unspecified
: All All
: -- normal (vote)
: Firefox 16
Assigned To: Mihai Sucan [:msucan]
:
Mentors:
Depends on:
Blocks: 438871
  Show dependency treegraph
 
Reported: 2012-06-03 10:33 PDT by Rob Campbell [:rc] (:robcee)
Modified: 2012-11-25 19:31 PST (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
[in-fx-team] proposed fix (2.99 KB, patch)
2012-06-04 09:49 PDT, Mihai Sucan [:msucan]
rcampbell: review+
Details | Diff | Review

Description Rob Campbell [:rc] (:robcee) 2012-06-03 10:33:31 PDT
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
Comment 1 Mihai Sucan [:msucan] 2012-06-04 09:49:00 PDT
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 2 Rob Campbell [:rc] (:robcee) 2012-06-05 06:37:23 PDT
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 3 Mihai Sucan [:msucan] 2012-06-14 04:58:25 PDT
Comment on attachment 629825 [details] [diff] [review]
[in-fx-team] proposed fix

https://hg.mozilla.org/integration/fx-team/rev/51c36b7f783b
Comment 4 Tim Taubert [:ttaubert] 2012-06-16 03:45:30 PDT
https://hg.mozilla.org/mozilla-central/rev/51c36b7f783b
Comment 5 Treeherder Robot 2012-08-14 17:17:21 PDT
philor
https://tbpl.mozilla.org/php/getParsedLog.php?id=14382115&tree=Mozilla-Beta
Rev3 WINNT 5.1 mozilla-beta debug test mochitest-other on 2012-08-14 15:43:23
slave: talos-r3-xp-006

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
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_netlogging.js | Test timed out
Comment 6 Treeherder Robot 2012-09-06 22:55:44 PDT
philor
https://tbpl.mozilla.org/php/getParsedLog.php?id=15035590&tree=Mozilla-Release
Rev3 WINNT 5.1 mozilla-release pgo test mochitest-other on 2012-09-06 18:59:05
slave: talos-r3-xp-052

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
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/webconsole/test/browser_webconsole_netlogging.js | Test timed out
9012 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/states/test_link.html | Test timed out.
9016 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/states/test_popup.xul | Can't get accessible for link_traversed
9017 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/states/test_popup.xul | Can't get accessible for link_traversed
9018 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/states/test_popup.xul | wrong state bits for  'link_traversed' !got '0', expected 'traversed'
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/states/test_popup.xul | application timed out after 330 seconds with no output
PROCESS-CRASH | chrome://mochitests/content/a11y/accessible/states/test_popup.xul | application crashed (minidump found)

Note You need to log in before you can comment on or make changes to this bug.