Bug: Intermittent [tier 2] uriloader/exthandler/tests/mochitest/browser_web_protocol_handlers.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-05 22:46:27+00:00
Resolved: 2023-08-04 12:01:54+00:00

**Filed by:** sstanca [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=421627359&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/K3PAoo6wTdqRdRknzEdrpg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-07-05T22:01:05.130Z] 22:01:05     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_web_handler_app_pinned_tab.js | took 582ms
[task 2023-07-05T22:01:05.146Z] 22:01:05     INFO - checking window state
[task 2023-07-05T22:01:05.170Z] 22:01:05     INFO - TEST-START | uriloader/exthandler/tests/mochitest/browser_web_protocol_handlers.js
[task 2023-07-05T22:01:05.216Z] 22:01:05     INFO - TEST-INFO | started process screentopng
[task 2023-07-05T22:01:05.391Z] 22:01:05     INFO - TEST-INFO | screentopng: exit 0
[task 2023-07-05T22:01:05.392Z] 22:01:05     INFO - Buffered messages logged at 22:01:05
[task 2023-07-05T22:01:05.393Z] 22:01:05     INFO - Entering setup bound test_common_initialize
[task 2023-07-05T22:01:05.393Z] 22:01:05     INFO - Leaving setup bound test_common_initialize
[task 2023-07-05T22:01:05.394Z] 22:01:05     INFO - Entering test bound 
[task 2023-07-05T22:01:05.394Z] 22:01:05     INFO - Buffered messages finished
[task 2023-07-05T22:01:05.395Z] 22:01:05     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_web_protocol_handlers.js | uncaught exception - NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIObserverService.addObserver] at construct@chrome://global/content/elements/browser-custom-element.js:1034:24
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - finishChangeRemoteness@chrome://global/content/elements/browser-custom-element.js:1956:12
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - getInterfaceProxy/get/<@chrome://global/content/customElements.js:683:35
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - 
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - Stack trace:
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1978
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - chrome://mochikit/content/browser-test.js:Tester:175
[task 2023-07-05T22:01:05.396Z] 22:01:05     INFO - chrome://mochikit/content/browser-harness.xhtml:createTester/</<:267
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - GECKO(16791) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 1034: NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIObserverService.addObserver]
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - Console message: [JavaScript Error: "NS_ERROR_XPC_BAD_CONVERT_JS: Could not convert JavaScript argument arg 0 [nsIObserverService.addObserver]" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1034}]
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - construct@chrome://global/content/elements/browser-custom-element.js:1034:24
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - finishChangeRemoteness@chrome://global/content/elements/browser-custom-element.js:1956:12
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - getInterfaceProxy/get/<@chrome://global/content/customElements.js:683:35
[task 2023-07-05T22:01:05.397Z] 22:01:05     INFO - 
[task 2023-07-05T22:01:50.174Z] 22:01:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-07-05T22:01:50.175Z] 22:01:50     INFO - TEST-UNEXPECTED-FAIL | uriloader/exthandler/tests/mochitest/browser_web_protocol_handlers.js | Test timed out - 
[task 2023-07-05T22:01:50.181Z] 22:01:50     INFO - GECKO(16791) | MEMORY STAT | vsize 3739MB | residentFast 467MB | heapAllocated 358MB
[task 2023-07-05T22:01:50.182Z] 22:01:50     INFO - TEST-OK | uriloader/exthandler/tests/mochitest/browser_web_protocol_handlers.js | took 45011ms
```