Bug: Intermittent browser/components/urlbar/tests/browser/browser_raceWithTabs.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-04-24 16:19:55+00:00
Resolved: 2023-04-25 14:57:36+00:00

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

---
```
task 2023-04-24T15:15:54.622Z] 15:15:54     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_raceWithTabs.js | Old tab loaded URL - 
[task 2023-04-24T15:15:54.622Z] 15:15:54     INFO - Closing tabs
[task 2023-04-24T15:15:54.622Z] 15:15:54     INFO - Buffered messages finished
[task 2023-04-24T15:15:54.626Z] 15:15:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_raceWithTabs.js | A promise chain failed to handle a rejection: WindowGlobalParent.getActor: Window protocol 'AboutNewTab' doesn't match remote type 'webIsolated=https://example.com' - stack: sendToChildren@chrome://global/content/elements/browser-custom-element.js:1862:24
[task 2023-04-24T15:15:54.626Z] 15:15:54     INFO - sendMessageToActor@chrome://global/content/elements/browser-custom-element.js:1875:21
[task 2023-04-24T15:15:54.628Z] 15:15:54     INFO - broadcast@resource://activity-stream/lib/ActivityStreamMessageChannel.jsm:112:15
[task 2023-04-24T15:15:54.628Z] 15:15:54     INFO - middleware/</<@resource://activity-stream/lib/ActivityStreamMessageChannel.jsm:80:14
[task 2023-04-24T15:15:54.628Z] 15:15:54     INFO - _middleware/</<@resource://activity-stream/lib/Store.jsm:60:11
[task 2023-04-24T15:15:54.628Z] 15:15:54     INFO - Store/this[method]@resource://activity-stream/lib/Store.jsm:39:54
[task 2023-04-24T15:15:54.629Z] 15:15:54     INFO - _fetchScreenshot/<@resource://activity-stream/lib/TopSitesFeed.jsm:1142:20
[task 2023-04-24T15:15:54.629Z] 15:15:54     INFO - maybeCacheScreenshot@resource://activity-stream/lib/Screenshots.jsm:142:17
[task 2023-04-24T15:15:54.629Z] 15:15:54     INFO - async*_fetchScreenshot@resource://activity-stream/lib/TopSitesFeed.jsm:1137:28
[task 2023-04-24T15:15:54.630Z] 15:15:54     INFO - _fetchIcon@resource://activity-stream/lib/TopSitesFeed.jsm:1120:16
[task 2023-04-24T15:15:54.630Z] 15:15:54     INFO - getLinksWithDefaults@resource://activity-stream/lib/TopSitesFeed.jsm:953:16
[task 2023-04-24T15:15:54.631Z] 15:15:54     INFO - async*refresh@resource://activity-stream/lib/TopSitesFeed.jsm:1025:30
[task 2023-04-24T15:15:54.631Z] 15:15:54     INFO - onAction@resource://activity-stream/lib/TopSitesFeed.jsm:1443:14
[task 2023-04-24T15:15:54.632Z] 15:15:54     INFO - _middleware/</<@resource://activity-stream/lib/Store.jsm:63:17
[task 2023-04-24T15:15:54.632Z] 15:15:54     INFO - Store/this[method]@resource://activity-stream/lib/Store.jsm:39:54
[task 2023-04-24T15:15:54.633Z] 15:15:54     INFO - customDispatch/this.placesChangedTimer<@resource://activity-stream/lib/PlacesFeed.jsm:173:22
[task 2023-04-24T15:15:54.633Z] 15:15:54     INFO - Rejection date: Mon Apr 24 2023 15:15:53 GMT+0000 (Coordinated Universal Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":562,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":525,"lineNumber":1155,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":525,"lineNumber":1199,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":525,"lineNumber":1341,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":525,"lineNumber":1116,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":553,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1155:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1155:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1199:18\nTester_execTest@chrome://mochikit/content/browser-test.js:1341:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1116:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-04-24T15:15:54.635Z] 15:15:54     INFO - Stack trace:
[task 2023-04-24T15:15:54.637Z] 15:15:54     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-04-24T15:15:54.638Z] 15:15:54     INFO - chrome://mochikit/content/browser-test.js:handleTask:1155
[task 2023-04-24T15:15:54.639Z] 15:15:54     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1199
[task 2023-04-24T15:15:54.641Z] 15:15:54     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1341
[task 2023-04-24T15:15:54.642Z] 15:15:54     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1116
[task 2023-04-24T15:15:54.642Z] 15:15:54     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-04-24T15:15:54.643Z] 15:15:54     INFO - Leaving test bound hitEnterLoadInRightTab
[task 2023-04-24T15:15:54.644Z] 15:15:54     INFO - GECKO(3898) | [Parent 3898, Main Thread] WARNING: WebProgress Ignored: BrowsingContext is null or discarded: file /builds/worker/checkouts/gecko/dom/ipc/BrowserParent.cpp:2997
[task 2023-04-24T15:15:54.645Z] 15:15:54     INFO - Console message: [JavaScript Error: "NotSupportedError: WindowGlobalParent.getActor: Window protocol 'AboutNewTab' doesn't match remote type 'webIsolated=https://example.com'" {file: "chrome://global/content/elements/browser-custom-element.js" line: 1862}]
[task 2023-04-24T15:15:54.645Z] 15:15:54     INFO - GECKO(3898) | JavaScript error: resource:///actors/ContentSearchParent.sys.mjs, line 660: TypeError: can't access property "addEventListener", browser is null
[task 2023-04-24T15:15:54.646Z] 15:15:54     INFO - GECKO(3898) | JavaScript error: resource:///actors/ContentSearchParent.sys.mjs, line 660: TypeError: can't access property "addEventListener", browser is null
[task 2023-04-24T15:15:54.649Z] 15:15:54     INFO - Console message: [JavaScript Error: "TypeError: can't access property "addEventListener", browser is null" {file: "resource:///actors/ContentSearchParent.sys.mjs" line: 660}]
[task 2023-04-24T15:15:54.650Z] 15:15:54     INFO - receiveMessage@resource:///actors/ContentSearchParent.sys.mjs:660:5
[task 2023-04-24T15:15:54.651Z] 15:15:54     INFO - JSActor query*handleEvent@resource:///actors/ContentSearchChild.sys.mjs:11:12
[task 2023-04-24T15:15:54.652Z] 15:15:54     INFO - _sendMsg@chrome://browser/content/contentSearchHandoffUI.js:143:18
[task 2023-04-24T15:15:54.653Z] 15:15:54     INFO - ContentSearchHandoffUIController@chrome://browser/content/contentSearchHandoffUI.js:13:8
[task 2023-04-24T15:15:54.655Z] 15:15:54     INFO - onInputMountHandoff@resource://activity-stream/data/content/activity-stream.bundle.js:14540:39
[task 2023-04-24T15:15:54.656Z] 15:15:54     INFO - Aj@resource://activity-stream/vendor/react-dom.js:161:87
[task 2023-04-24T15:15:54.657Z] 15:15:54     INFO - unstable_runWithPriority@resource://activity-stream/vendor/react.js:25:260
[task 2023-04-24T15:15:54.659Z] 15:15:54     INFO - Da@resource://activity-stream/vendor/react-dom.js:60:280
[task 2023-04-24T15:15:54.660Z] 15:15:54     INFO - ab@resource://activity-stream/vendor/react-dom.js:154:192
[task 2023-04-24T15:15:54.661Z] 15:15:54     INFO - Te@resource://activity-stream/vendor/react-dom.js:146:357
[task 2023-04-24T15:15:54.662Z] 15:15:54     INFO - Pg/<@resource://activity-stream/vendor/react-dom.js:61:68
[task 2023-04-24T15:15:54.663Z] 15:15:54     INFO - unstable_runWithPriority@resource://activity-stream/vendor/react.js:25:260
[task 2023-04-24T15:15:54.664Z] 15:15:54     INFO - Da@resource://activity-stream/vendor/react-dom.js:60:280
[task 2023-04-24T15:15:54.666Z] 15:15:54     INFO - Pg@resource://activity-stream/vendor/react-dom.js:61:16
[task 2023-04-24T15:15:54.667Z] 15:15:54     INFO - ha@resource://activity-stream/vendor/react-dom.js:60:451
[task 2023-04-24T15:15:54.668Z] 15:15:54     INFO - Qh@resource://activity-stream/vendor/react-dom.js:147:10
[task 2023-04-24T15:15:54.669Z] 15:15:54     INFO - notify@resource://activity-stream/vendor/react-redux.js:1:1399
[task 2023-04-24T15:15:54.673Z] 15:15:54     INFO - notifyNestedSubs@resource://activity-stream/vendor/react-redux.js:1:1811
[task 2023-04-24T15:15:54.680Z] 15:15:54     INFO - o@resource://activity-stream/vendor/react-redux.js:1:1234
[task 2023-04-24T15:15:54.681Z] 15:15:54     INFO - dispatch@resource://activity-stream/vendor/redux.js:339:20
```