Bug: Intermittent browser/components/urlbar/tests/browser/browser_whereToOpen.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemote
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-06-02 14:10:03+00:00
Resolved: 2023-05-31 12:01:28+00:00

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

---
```
task 2022-06-02T12:49:59.360Z] 12:49:59     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_whereToOpen.js | URL would open in the current tab - 
[task 2022-06-02T12:49:59.360Z] 12:49:59     INFO - AltGr+Enter, non-empty tab, openInTab
[task 2022-06-02T12:49:59.360Z] 12:49:59     INFO - Buffered messages logged at 12:49:47
[task 2022-06-02T12:49:59.361Z] 12:49:59     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/non-empty" line: 0}]
[task 2022-06-02T12:49:59.361Z] 12:49:59     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_whereToOpen.js | URL would open in the current tab - 
[task 2022-06-02T12:49:59.361Z] 12:49:59     INFO - Buffered messages logged at 12:49:48
[task 2022-06-02T12:49:59.362Z] 12:49:59     INFO - Meta+click, non-empty tab, openInTab
[task 2022-06-02T12:49:59.363Z] 12:49:59     INFO - Buffered messages logged at 12:49:56
[task 2022-06-02T12:49:59.363Z] 12:49:59     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_whereToOpen.js | URL would open in the current tab - 
[task 2022-06-02T12:49:59.363Z] 12:49:59     INFO - Buffered messages logged at 12:49:57
[task 2022-06-02T12:49:59.364Z] 12:49:59     INFO - Middle click, non-empty tab, openInTab
[task 2022-06-02T12:49:59.364Z] 12:49:59     INFO - Buffered messages finished
[task 2022-06-02T12:49:59.366Z] 12:49:59     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_whereToOpen.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1914:28
[task 2022-06-02T12:49:59.366Z] 12:49:59     INFO - onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:306:14
[task 2022-06-02T12:49:59.366Z] 12:49:59     INFO - onTabCrashed@chrome://browser/content/tabbrowser.js:5993:27
[task 2022-06-02T12:49:59.367Z] 12:49:59     INFO - get loadContext@chrome://global/content/elements/browser-custom-element.js:386:7
[task 2022-06-02T12:49:59.367Z] 12:49:59     INFO - construct@chrome://global/content/elements/browser-custom-element.js:985:1
[task 2022-06-02T12:49:59.367Z] 12:49:59     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:324:12
[task 2022-06-02T12:49:59.368Z] 12:49:59     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2347:24
[task 2022-06-02T12:49:59.368Z] 12:49:59     INFO - addTab@chrome://browser/content/tabbrowser.js:2835:16
[task 2022-06-02T12:49:59.368Z] 12:49:59     INFO - addTab@resource://testing-common/BrowserTestUtils.jsm:2473:23
[task 2022-06-02T12:49:59.368Z] 12:49:59     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2022-06-02T12:49:59.369Z] 12:49:59     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2022-06-02T12:49:59.369Z] 12:49:59     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2022-06-02T12:49:59.369Z] 12:49:59     INFO - openInCurrentTab@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_whereToOpen.js:182:62
[task 2022-06-02T12:49:59.369Z] 12:49:59     INFO - 
[task 2022-06-02T12:49:59.370Z] 12:49:59     INFO - Stack trace:
[task 2022-06-02T12:49:59.370Z] 12:49:59     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-06-02T12:49:59.370Z] 12:49:59     INFO - chrome://global/content/elements/browser-custom-element.js:get loadContext:386
[task 2022-06-02T12:49:59.370Z] 12:49:59     INFO - chrome://global/content/elements/browser-custom-element.js:construct:985
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - chrome://global/content/elements/browser-custom-element.js:connectedCallback:324
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - chrome://browser/content/tabbrowser.js:_insertBrowser:2347
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - chrome://browser/content/tabbrowser.js:addTab:2835
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - resource://testing-common/BrowserTestUtils.jsm:addTab:2473
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab/promises<:250
[task 2022-06-02T12:49:59.371Z] 12:49:59     INFO - resource://testing-common/BrowserTestUtils.jsm:switchTab:388
[task 2022-06-02T12:49:59.372Z] 12:49:59     INFO - resource://testing-common/BrowserTestUtils.jsm:openNewForegroundTab:245
[task 2022-06-02T12:49:59.372Z] 12:49:59     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_whereToOpen.js:openInCurrentTab:182
[task 2022-06-02T12:49:59.372Z] 12:49:59     INFO - GECKO(6622) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1914: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener]
[task 2022-06-02T12:49:59.372Z] 12:49:59     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-06-02T12:49:59.373Z] 12:49:59     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_whereToOpen.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebProgress.removeProgressListener] at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1914:28
[task 2022-06-02T12:49:59.374Z] 12:49:59     INFO - onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:306:14
[task 2022-06-02T12:49:59.374Z] 12:49:59     INFO - onTabCrashed@chrome://browser/content/tabbrowser.js:5993:27
[task 2022-06-02T12:49:59.375Z] 12:49:59     INFO - get loadContext@chrome://global/content/elements/browser-custom-element.js:386:7
[task 2022-06-02T12:49:59.375Z] 12:49:59     INFO - construct@chrome://global/content/elements/browser-custom-element.js:985:1
[task 2022-06-02T12:49:59.375Z] 12:49:59     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:324:12
[task 2022-06-02T12:49:59.375Z] 12:49:59     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2347:24
[task 2022-06-02T12:49:59.376Z] 12:49:59     INFO - addTab@chrome://browser/content/tabbrowser.js:2835:16
[task 2022-06-02T12:49:59.376Z] 12:49:59     INFO - addTab@resource://testing-common/BrowserTestUtils.jsm:2473:23
[task 2022-06-02T12:49:59.376Z] 12:49:59     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2022-06-02T12:49:59.376Z] 12:49:59     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2022-06-02T12:49:59.377Z] 12:49:59     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2022-06-02T12:49:59.377Z] 12:49:59     INFO - openInCurrentTab@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_whereToOpen.js:182:62
```