Bug: Intermittent browser/components/sessionstore/test/browser_broadcast.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-12 09:32:38+00:00
Resolved: 2024-11-25 12:04:50+00:00

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

---
```
[task 2023-07-12T08:38:51.799Z] 08:38:51     INFO - TEST-START | browser/components/sessionstore/test/browser_broadcast.js
[task 2023-07-12T08:38:51.816Z] 08:38:51     INFO - GECKO(2664) | [Child 3001: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7fdb9d3c6800 == 3 [pid = 3001] [id = 24]
[task 2023-07-12T08:38:51.816Z] 08:38:51     INFO - GECKO(2664) | [Child 3001: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 7 (7fdb9d331020) [pid = 3001] [serial = 67] [outer = 0]
[task 2023-07-12T08:38:51.817Z] 08:38:51     INFO - GECKO(2664) | [Parent 2664, Main Thread] WARNING: NS_ENSURE_TRUE(aLoadContext) failed: file /builds/worker/checkouts/gecko/caps/nsScriptSecurityManager.cpp:1401
[task 2023-07-12T08:38:51.819Z] 08:38:51     INFO - GECKO(2664) | [Child 3001: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (7fdb9d3c6c00) [pid = 3001] [serial = 68] [outer = 7fdb9d331020]
[task 2023-07-12T08:38:51.824Z] 08:38:51     INFO - TEST-INFO | started process screentopng
[task 2023-07-12T08:38:52.228Z] 08:38:52     INFO - TEST-INFO | screentopng: exit 0
[task 2023-07-12T08:38:52.228Z] 08:38:52     INFO - Buffered messages logged at 08:38:51
[task 2023-07-12T08:38:52.228Z] 08:38:52     INFO - Entering test bound flush_on_tabclose
[task 2023-07-12T08:38:52.228Z] 08:38:52     INFO - Buffered messages finished
[task 2023-07-12T08:38:52.231Z] 08:38:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_broadcast.js | uncaught exception - NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal] at construct@chrome://global/content/elements/browser-custom-element.js:1024:38
[task 2023-07-12T08:38:52.231Z] 08:38:52     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:330:12
[task 2023-07-12T08:38:52.231Z] 08:38:52     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2326:24
[task 2023-07-12T08:38:52.231Z] 08:38:52     INFO - addTab@chrome://browser/content/tabbrowser.js:2726:16
[task 2023-07-12T08:38:52.232Z] 08:38:52     INFO - addTab@resource://testing-common/BrowserTestUtils.sys.mjs:2659:23
[task 2023-07-12T08:38:52.232Z] 08:38:52     INFO - createTabWithStorageData@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:151:30
[task 2023-07-12T08:38:52.232Z] 08:38:52     INFO - flush_on_tabclose@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:13:19
[task 2023-07-12T08:38:52.232Z] 08:38:52     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-12T08:38:52.232Z] 08:38:52     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - 
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - Stack trace:
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://browser/content/tabbrowser.js:_insertBrowser:2326
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://browser/content/tabbrowser.js:addTab:2726
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:addTab:2659
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:createTabWithStorageData:151
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:flush_on_tabclose:13
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-12T08:38:52.233Z] 08:38:52     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-12T08:38:52.234Z] 08:38:52     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-12T08:38:52.234Z] 08:38:52     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-12T08:38:52.234Z] 08:38:52     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-12T08:38:52.235Z] 08:38:52     INFO - GECKO(2664) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 1024: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal]
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - Console message: [JavaScript Error: "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal]" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1024}]
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - construct@chrome://global/content/elements/browser-custom-element.js:1024:38
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:330:12
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2326:24
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - addTab@chrome://browser/content/tabbrowser.js:2726:16
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - addTab@resource://testing-common/BrowserTestUtils.sys.mjs:2659:23
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - createTabWithStorageData@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:151:30
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - flush_on_tabclose@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_broadcast.js:13:19
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - 
[task 2023-07-12T08:38:52.239Z] 08:38:52     INFO - Not taking screenshot here: see the one that was previously logged
```