Bug: Intermittent unknown test url | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:191
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-02-11 06:57:41+00:00
Resolved: 2022-02-15 18:39:59+00:00

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

---
```
[task 2022-02-11T06:30:04.947Z] 06:30:04     INFO - *** Start BrowserChrome Test Results ***
[task 2022-02-11T06:30:04.967Z] 06:30:04     INFO - GECKO(4516) | [Parent 7304, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:743
[task 2022-02-11T06:30:04.968Z] 06:30:04    ERROR - GECKO(4516) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1912:28
[task 2022-02-11T06:30:04.969Z] 06:30:04     INFO - GECKO(4516) | onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:300:14
[task 2022-02-11T06:30:04.969Z] 06:30:04     INFO - GECKO(4516) | onTabCrashed@chrome://browser/content/tabbrowser.js:5976:27
[task 2022-02-11T06:30:04.969Z] 06:30:04     INFO - GECKO(4516) | _insertBrowser@chrome://browser/content/tabbrowser.js:2340:24
[task 2022-02-11T06:30:04.970Z] 06:30:04     INFO - GECKO(4516) | addTab@chrome://browser/content/tabbrowser.js:2828:16
[task 2022-02-11T06:30:04.970Z] 06:30:04     INFO - GECKO(4516) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:418:16
[task 2022-02-11T06:30:04.971Z] 06:30:04     INFO - GECKO(4516) | nextTest@chrome://mochikit/content/browser-test.js:865:10
[task 2022-02-11T06:30:04.971Z] 06:30:04     INFO - GECKO(4516) | Tester_start/<@chrome://mochikit/content/browser-test.js:337:14
[task 2022-02-11T06:30:04.972Z] 06:30:04     INFO - GECKO(4516) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1912: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]
[task 2022-02-11T06:30:04.972Z] 06:30:04    ERROR - GECKO(4516) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1912:28
[task 2022-02-11T06:30:04.973Z] 06:30:04     INFO - GECKO(4516) | onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:300:14
[task 2022-02-11T06:30:04.973Z] 06:30:04     INFO - GECKO(4516) | onTabCrashed@chrome://browser/content/tabbrowser.js:5976:27
[task 2022-02-11T06:30:04.974Z] 06:30:04     INFO - GECKO(4516) | _insertBrowser@chrome://browser/content/tabbrowser.js:2340:24
[task 2022-02-11T06:30:04.974Z] 06:30:04     INFO - GECKO(4516) | addTab@chrome://browser/content/tabbrowser.js:2828:16
[task 2022-02-11T06:30:04.975Z] 06:30:04     INFO - GECKO(4516) | Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:418:16
[task 2022-02-11T06:30:04.975Z] 06:30:04     INFO - GECKO(4516) | nextTest@chrome://mochikit/content/browser-test.js:865:10
[task 2022-02-11T06:30:04.976Z] 06:30:04     INFO - GECKO(4516) | Tester_start/<@chrome://mochikit/content/browser-test.js:337:14
[task 2022-02-11T06:30:04.976Z] 06:30:04     INFO - GECKO(4516) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1912: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]
[task 2022-02-11T06:30:04.981Z] 06:30:04     INFO - checking window state
[task 2022-02-11T06:30:04.986Z] 06:30:04     INFO - GECKO(4516) | Assertion failure
[task 2022-02-11T06:30:04.987Z] 06:30:04     INFO - GECKO(4516) | assert@resource:///modules/AsyncTabSwitcher.jsm:499:36
[task 2022-02-11T06:30:04.987Z] 06:30:04     INFO - GECKO(4516) | finish@resource:///modules/AsyncTabSwitcher.jsm:331:10
[task 2022-02-11T06:30:04.988Z] 06:30:04     INFO - GECKO(4516) | postActions@resource:///modules/AsyncTabSwitcher.jsm:697:12
[task 2022-02-11T06:30:04.988Z] 06:30:04     INFO - GECKO(4516) | handleEvent@resource:///modules/AsyncTabSwitcher.jsm:1116:12
[task 2022-02-11T06:30:04.994Z] 06:30:04     INFO - GECKO(4516) | [Parent 7304, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:743
[task 2022-02-11T06:30:04.996Z] 06:30:04    ERROR - GECKO(4516) | TEST-UNEXPECTED-FAIL | unknown test url | 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:981:38
[task 2022-02-11T06:30:04.996Z] 06:30:04     INFO - GECKO(4516) | connectedCallback@chrome://global/content/elements/browser-custom-element.js:324:12
[task 2022-02-11T06:30:04.997Z] 06:30:04     INFO - GECKO(4516) | _createBrowser@resource:///modules/NewTabPagePreloading.jsm:71:24
[task 2022-02-11T06:30:04.997Z] 06:30:04     INFO - GECKO(4516) | maybeCreatePreloadedBrowser@resource:///modules/NewTabPagePreloading.jsm:144:24
[task 2022-02-11T06:30:04.998Z] 06:30:04     INFO - GECKO(4516) | _handleNewTab@chrome://browser/content/tabbrowser-tabs.js:1979:30
[task 2022-02-11T06:30:04.999Z] 06:30:04     INFO - GECKO(4516) | addTab/<@chrome://browser/content/tabbrowser.js:2703:26
[task 2022-02-11T06:30:04.999Z] 06:30:04     INFO - GECKO(4516) | JavaScript error: chrome://global/content/elements/browser-custom-element.js, line 981: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptSecurityManager.getLoadContextContentPrincipal]
[task 2022-02-11T06:30:05.000Z] 06:30:05    ERROR - GECKO(4516) | TEST-UNEXPECTED-FAIL | unknown test url | uncaught exception - TypeError: can't access property "remoteTab", this._browser.frameLoader is null at maybeCancelContentJSExecution@resource://gre/modules/RemoteWebNavigation.jsm:34:5
[task 2022-02-11T06:30:05.001Z] 06:30:05     INFO - GECKO(4516) | loadURI@resource://gre/modules/RemoteWebNavigation.jsm:126:37
[task 2022-02-11T06:30:05.001Z] 06:30:05     INFO - GECKO(4516) | loadURI/<@chrome://global/content/elements/browser-custom-element.js:809:28
[task 2022-02-11T06:30:05.002Z] 06:30:05     INFO - GECKO(4516) | _wrapURIChangeCall@chrome://global/content/elements/browser-custom-element.js:738:9
[task 2022-02-11T06:30:05.002Z] 06:30:05     INFO - GECKO(4516) | loadURI@chrome://global/content/elements/browser-custom-element.js:808:12
[task 2022-02-11T06:30:05.003Z] 06:30:05     INFO - GECKO(4516) | maybeCreatePreloadedBrowser@resource:///modules/NewTabPagePreloading.jsm:145:13
[task 2022-02-11T06:30:05.003Z] 06:30:05     INFO - GECKO(4516) | _handleNewTab@chrome://browser/content/tabbrowser-tabs.js:1979:30
[task 2022-02-11T06:30:05.005Z] 06:30:05     INFO - GECKO(4516) | addTab/<@chrome://browser/content/tabbrowser.js:2703:26
[task 2022-02-11T06:30:05.006Z] 06:30:05     INFO - GECKO(4516) | JavaScript error: resource://gre/modules/RemoteWebNavigation.jsm, line 34: TypeError: can't access property "remoteTab", this._browser.frameLoader is null
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "remote browser crashed while on <unknown>
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - " {file: "chrome://mochikit/content/mochitest-e10s-utils.js" line: 10}]
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - e10s_init/<@chrome://mochikit/content/mochitest-e10s-utils.js:10:10
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2340:24
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - addTab@chrome://browser/content/tabbrowser.js:2828:16
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:418:16
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - nextTest@chrome://mochikit/content/browser-test.js:865:10
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - Tester_start/<@chrome://mochikit/content/browser-test.js:337:14
[task 2022-02-11T06:30:05.007Z] 06:30:05     INFO - 
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]" {file: "chrome://browser/content/tabbrowser.js" line: 1912}]
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1912:28
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:300:14
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - onTabCrashed@chrome://browser/content/tabbrowser.js:5976:27
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2340:24
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - addTab@chrome://browser/content/tabbrowser.js:2828:16
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - Tester_waitForWindowsState@chrome://mochikit/content/browser-test.js:418:16
[task 2022-02-11T06:30:05.009Z] 06:30:05     INFO - nextTest@chrome://mochikit/content/browser-test.js:865:10
[task 2022-02-11T06:30:05.010Z] 06:30:05     INFO - Tester_start/<@chrome://mochikit/content/browser-test.js:337:14
[task 2022-02-11T06:30:05.010Z] 06:30:05     INFO - 
[task 2022-02-11T06:30:05.012Z] 06:30:05     INFO - TEST-INFO | (browser-test.js) | Console message: [JavaScript Error: "remote browser crashed while on <unknown>
```