Bug: Intermittent browser/components/urlbar/tests/browser/browser_stop_pending.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057... at updateBrowserRemoteness@chrome://browser/content/tabbrowser.js:1898:28
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-06-08 19:14:39+00:00
Resolved: 2022-07-25 23:16:33+00:00

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

---
```
INFO - TEST-START | browser/components/urlbar/tests/browser/browser_stop_pending.js
[task 2021-06-08T16:51:06.297Z] 16:51:06     INFO - GECKO(1564) | Waiting for browser load
[task 2021-06-08T16:51:06.298Z] 16:51:06     INFO - GECKO(1564) | Waiting for browser state change
[task 2021-06-08T16:51:06.604Z] 16:51:06     INFO - GECKO(1564) | Saw state f0001 and status 0
[task 2021-06-08T16:51:07.270Z] 16:51:07     INFO - GECKO(1564) | Saw state c0010 and status 0
[task 2021-06-08T16:51:07.270Z] 16:51:07     INFO - GECKO(1564) | Browser got expected state change http://example.com/
[task 2021-06-08T16:51:07.572Z] 16:51:07     INFO - GECKO(1564) | [Parent 1564, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:762
[task 2021-06-08T16:51:08.158Z] 16:51:08     INFO - GECKO(1564) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2021-06-08T16:51:09.277Z] 16:51:09     INFO - GECKO(1564) | [Parent 1564, IPC I/O Parent] WARNING: Failed to launch tab subprocess: file /builds/worker/checkouts/gecko/ipc/glue/GeckoChildProcessHost.cpp:762
[task 2021-06-08T16:51:09.298Z] 16:51:09     INFO - TEST-INFO | started process screentopng
[task 2021-06-08T16:51:11.441Z] 16:51:11     INFO - TEST-INFO | screentopng: exit 0
[task 2021-06-08T16:51:11.460Z] 16:51:11     INFO - Buffered messages logged at 16:51:06
[task 2021-06-08T16:51:11.468Z] 16:51:11     INFO - Entering test bound 
[task 2021-06-08T16:51:11.469Z] 16:51:11     INFO - Buffered messages logged at 16:51:07
[task 2021-06-08T16:51:11.470Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.471Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.471Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.473Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.473Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not have changed URL bar value synchronously. - 
[task 2021-06-08T16:51:11.475Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.478Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.478Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.478Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.478Z] 16:51:11     INFO - Buffered messages logged at 16:51:08
[task 2021-06-08T16:51:11.479Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.480Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.480Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should not revert URL bar value! - 
[task 2021-06-08T16:51:11.481Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | Should set expected URL bar value! - 
[task 2021-06-08T16:51:11.482Z] 16:51:11     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_stop_pending.js | The URL bar change handler should have been called by the time the page was loaded - 
[task 2021-06-08T16:51:11.483Z] 16:51:11     INFO - Buffered messages logged at 16:51:09
[task 2021-06-08T16:51:11.483Z] 16:51:11     INFO - Leaving test bound 
[task 2021-06-08T16:51:11.484Z] 16:51:11     INFO - Entering test bound 
[task 2021-06-08T16:51:11.485Z] 16:51:11     INFO - Using URLs: https://localhost:34789/
[task 2021-06-08T16:51:11.485Z] 16:51:11     INFO - Buffered messages finished
[task 2021-06-08T16:51:11.491Z] 16:51:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_stop_pending.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:1898:28
[task 2021-06-08T16:51:11.492Z] 16:51:11     INFO - onBackgroundBrowserCrash@resource:///modules/ContentCrashHandlers.jsm:300:14
[task 2021-06-08T16:51:11.492Z] 16:51:11     INFO - onTabCrashed@chrome://browser/content/tabbrowser.js:5818:27
[task 2021-06-08T16:51:11.492Z] 16:51:11     INFO - get loadContext@chrome://global/content/elements/browser-custom-element.js:388:7
[task 2021-06-08T16:51:11.493Z] 16:51:11     INFO - construct@chrome://global/content/elements/browser-custom-element.js:1025:1
[task 2021-06-08T16:51:11.493Z] 16:51:11     INFO - connectedCallback@chrome://global/content/elements/browser-custom-element.js:326:12
[task 2021-06-08T16:51:11.494Z] 16:51:11     INFO - _insertBrowser@chrome://browser/content/tabbrowser.js:2329:24
[task 2021-06-08T16:51:11.494Z] 16:51:11     INFO - addTab@chrome://browser/content/tabbrowser.js:2811:16
[task 2021-06-08T16:51:11.494Z] 16:51:11     INFO - addTab@resource://testing-common/BrowserTestUtils.jsm:2431:23
[task 2021-06-08T16:51:11.494Z] 16:51:11     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.jsm:250:61
[task 2021-06-08T16:51:11.494Z] 16:51:11     INFO - switchTab@resource://testing-common/BrowserTestUtils.jsm:388:7
[task 2021-06-08T16:51:11.495Z] 16:51:11     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.jsm:245:26
[task 2021-06-08T16:51:11.495Z] 16:51:11     INFO - @chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_stop_pending.js:99:36
[task 2021-06-08T16:51:11.495Z] 16:51:11     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1089:34
[task 2021-06-08T16:51:11.495Z] 16:51:11     INFO - 
[task 2021-06-08T16:51:11.496Z] 16:51:11     INFO - Stack trace:
[task 2021-06-08T16:51:11.496Z] 16:51:11     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1964
```