Closed Bug 1266952 Opened 3 years ago Closed 3 years ago

Intermittent e10s browser_contextmenu_childprocess.js | Uncaught exception - at chrome://global/content/browser-child.js:112 - Error: operation not possible on dead CPOW

Categories

(Firefox :: Menus, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Firefox 51
Tracking Status
e10s + ---
firefox48 --- wontfix
firefox49 --- wontfix
firefox50 --- fixed
firefox51 --- fixed

People

(Reporter: aryx, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, Whiteboard: e10s)

Attachments

(1 file)

https://treeherder.mozilla.org/logviewer.html#?job_id=26487727&repo=mozilla-inbound

05:04:39     INFO -  341 INFO TEST-START | browser/base/content/test/general/browser_contextmenu_childprocess.js
05:04:45     INFO -  TEST-INFO | started process screentopng
05:04:47     INFO -  TEST-INFO | screentopng: exit 0
05:04:47     INFO -  342 INFO checking window state
05:04:47     INFO -  343 INFO Entering test bound
05:04:47     INFO -  344 INFO Wait tab event: load
05:04:47     INFO -  345 INFO Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/browser/base/content/test/general/subtst_contextmenu.html" line: 0}]
05:04:47     INFO -  346 INFO Console message: [JavaScript Warning: "Specified "type" attribute of "video/durrrr;" is not supported. Load of media resource bogus.duh failed." {file: "https://example.com/browser/browser/base/content/test/general/subtst_contextmenu.html" line: 0}]
05:04:47     INFO -  347 INFO Console message: [JavaScript Warning: "All candidate resources failed to load. Media load paused." {file: "https://example.com/browser/browser/base/content/test/general/subtst_contextmenu.html" line: 0}]
05:04:47     INFO -  348 INFO Console message: [JavaScript Warning: "HTTP load failed with status 404. Load of media resource https://example.com/browser/browser/base/content/test/general/bogus.duh failed." {file: "https://example.com/browser/browser/base/content/test/general/subtst_contextmenu.html" line: 0}]
05:04:47     INFO -  349 INFO Tab event received: load
05:04:47     INFO -  350 INFO Waiting for popupshown
05:04:47     INFO -  351 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_contextmenu_childprocess.js | Uncaught exception - at chrome://global/content/browser-child.js:112 - Error: operation not possible on dead CPOW
05:04:47     INFO -  Stack trace:
05:04:47     INFO -      _send@chrome://global/content/browser-child.js:112:7
05:04:47     INFO -      onProgressChange@chrome://global/content/browser-child.js:148:5
05:04:47     INFO -      Tester_execTest@chrome://mochikit/content/browser-test.js:791:9
05:04:47     INFO -      Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:711:7
05:04:47     INFO -      SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:741:59
05:04:47     INFO -      Tester_execTest@chrome://mochikit/content/browser-test.js:791:9
05:04:47     INFO -      Tester.prototype.nextTest</<@chrome://mochikit/content/browser-test.js:711:7
05:04:47     INFO -      SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:741:59
05:04:47     INFO -  352 INFO Leaving test bound
05:04:47     INFO -  MEMORY STAT | vsize 20973212MB | residentFast 830MB
05:04:47     INFO -  353 INFO TEST-OK | browser/base/content/test/general/browser_contextmenu_childprocess.js | took 6210ms
05:04:47     INFO -  Not taking screenshot here: see the one that was previously logged
05:04:47     INFO -  354 INFO TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_contextmenu_childprocess.js | Found an unexpected tab at the end of test run: https://example.com/browser/browser/base/content/test/general/subtst_contextmenu.html -
tracking-e10s: --- → ?
Intermittent e10s test failure
Priority: -- → P5
This is one of the top dead CPOW failures in automation.

https://dxr.mozilla.org/mozilla-central/source/browser/base/content/test/general/browser_contextmenu_childprocess.js#18
> let rect = browser.contentWindow.document.getElementById("test-pagemenu").getBoundingClientRect();

Neil, would you be able to look into this? Otherwise, maybe this could be a good mentored bug for Kevin, who's been taking an interest in fixing dead CPOW oranges recently.
Flags: needinfo?(enndeakin)
Attached patch Fix testSplinter Review
We just need to modernize the test.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin)
Comment on attachment 8790891 [details] [diff] [review]
Fix test

Test runs ok:

https://treeherder.mozilla.org/#/jobs?repo=try&revision=5ca984fada406085f205cf694493f5ea47e6fe6d

Removes the cpow usage from the test so should be good.
Attachment #8790891 - Flags: review?(felipc)
Attachment #8790891 - Flags: review?(felipc) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/7bd2ef72d263e2c277aea8cefccfdc8277ebd54f
Bug 1266952, remove cpow usage from browser_contextmenu_childprocess.js, r=felipe
https://hg.mozilla.org/mozilla-central/rev/7bd2ef72d263
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
You need to log in before you can comment on or make changes to this bug.