Bug: Intermittent [tier 2] browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2023-07-08 04:41:03+00:00
Resolved: 2023-07-08 15:44:39+00:00

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

---
```
[task 2023-07-08T03:28:02.550Z] 03:28:02     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js
[task 2023-07-08T03:28:02.563Z] 03:28:02     INFO - TEST-INFO | started process screentopng
[task 2023-07-08T03:28:02.773Z] 03:28:02     INFO - TEST-INFO | screentopng: exit 0
[task 2023-07-08T03:28:02.773Z] 03:28:02     INFO - Buffered messages logged at 03:28:02
[task 2023-07-08T03:28:02.773Z] 03:28:02     INFO - Entering test bound 
[task 2023-07-08T03:28:02.773Z] 03:28:02     INFO - Buffered messages finished
[task 2023-07-08T03:28:02.776Z] 03:28:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js | uncaught exception - TypeError: can't access property "spec", tab.linkedBrowser.currentURI is null at tinfo@resource:///modules/AsyncTabSwitcher.sys.mjs:1187:7
[task 2023-07-08T03:28:02.777Z] 03:28:02     INFO - requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1037:40
[task 2023-07-08T03:28:02.777Z] 03:28:02     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1153:31
[task 2023-07-08T03:28:02.778Z] 03:28:02     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5935:16
[task 2023-07-08T03:28:02.779Z] 03:28:02     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-08T03:28:02.779Z] 03:28:02     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-08T03:28:02.780Z] 03:28:02     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-08T03:28:02.781Z] 03:28:02     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-08T03:28:02.781Z] 03:28:02     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-08T03:28:02.782Z] 03:28:02     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:359:7
[task 2023-07-08T03:28:02.784Z] 03:28:02     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.sys.mjs:251:61
[task 2023-07-08T03:28:02.784Z] 03:28:02     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:391:7
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:246:26
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - @chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js:4:36
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - 
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - Stack trace:
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:236
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://global/content/elements/tabbox.js:set selectedPanel:246
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:599
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://global/content/elements/tabbox.js:set selectedItem:617
[task 2023-07-08T03:28:02.794Z] 03:28:02     INFO - chrome://global/content/elements/tabbox.js:set selectedTab:80
[task 2023-07-08T03:28:02.795Z] 03:28:02     INFO - chrome://browser/content/tabbrowser.js:set selectedTab:359
[task 2023-07-08T03:28:02.795Z] 03:28:02     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab/promises<:251
[task 2023-07-08T03:28:02.795Z] 03:28:02     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:switchTab:391
[task 2023-07-08T03:28:02.795Z] 03:28:02     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab:246
[task 2023-07-08T03:28:02.795Z] 03:28:02     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js:null:4
[task 2023-07-08T03:28:02.796Z] 03:28:02     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-08T03:28:02.796Z] 03:28:02     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-08T03:28:02.796Z] 03:28:02     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-08T03:28:02.796Z] 03:28:02     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-08T03:28:02.796Z] 03:28:02     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-08T03:28:02.797Z] 03:28:02     INFO - GECKO(15978) | JavaScript error: resource:///modules/AsyncTabSwitcher.sys.mjs, line 1187: TypeError: can't access property "spec", tab.linkedBrowser.currentURI is null
[task 2023-07-08T03:28:02.797Z] 03:28:02     INFO - Console message: [JavaScript Error: "TypeError: can't access property "spec", tab.linkedBrowser.currentURI is null" {file: "resource:///modules/AsyncTabSwitcher.sys.mjs" line: 1187}]
[task 2023-07-08T03:28:02.797Z] 03:28:02     INFO - tinfo@resource:///modules/AsyncTabSwitcher.sys.mjs:1187:7
[task 2023-07-08T03:28:02.798Z] 03:28:02     INFO - requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1037:40
[task 2023-07-08T03:28:02.798Z] 03:28:02     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1153:31
[task 2023-07-08T03:28:02.798Z] 03:28:02     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5935:16
[task 2023-07-08T03:28:02.798Z] 03:28:02     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-08T03:28:02.798Z] 03:28:02     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-08T03:28:02.799Z] 03:28:02     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-08T03:28:02.799Z] 03:28:02     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-08T03:28:02.799Z] 03:28:02     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-08T03:28:02.800Z] 03:28:02     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:359:7
[task 2023-07-08T03:28:02.800Z] 03:28:02     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.sys.mjs:251:61
[task 2023-07-08T03:28:02.800Z] 03:28:02     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:391:7
[task 2023-07-08T03:28:02.801Z] 03:28:02     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:246:26
[task 2023-07-08T03:28:02.801Z] 03:28:02     INFO - @chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js:4:36
[task 2023-07-08T03:28:02.801Z] 03:28:02     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-08T03:28:02.801Z] 03:28:02     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-08T03:28:02.802Z] 03:28:02     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - 
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - GECKO(15978) | JavaScript error: chrome://extensions/content/parent/ext-tabs-base.js, line 198: TypeError: can't access property "spec", this.browser.currentURI is null
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_UrlbarInput_trimURLs.js | uncaught exception - TypeError: can't access property "_currentURI", this._remoteWebNavigation is undefined at updateForLocationChange@chrome://global/content/elements/browser-custom-element.js:1168:9
[task 2023-07-08T03:28:02.803Z] 03:28:02     INFO - getInterfaceProxy/get/<@chrome://global/content/customElements.js:683:35
[task 2023-07-08T03:28:02.804Z] 03:28:02     INFO - 
[task 2023-07-08T03:28:02.804Z] 03:28:02     INFO - Stack trace:
[task 2023-07-08T03:28:02.804Z] 03:28:02     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-08T03:28:02.805Z] 03:28:02     INFO - OnErrorEventHandlerNonNull*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:null:1978
<...>
```