Bug: Intermittent browser/base/content/test/general/browser_bug495058.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-09-29 21:51:23+00:00
Resolved: 2024-06-19 12:02:59+00:00

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

---
```
[task 2023-09-29T21:03:07.630Z] 21:03:07     INFO - TEST-PASS | browser/base/content/test/general/browser_bug495058.js | about:sessionrestore: placeholder text is present - "Search with Google or enter address" == true - 
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "favIconUrl", tab is undefined" {file: "chrome://browser/content/parent/ext-tabs.js" line: 468}]
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - listener@chrome://browser/content/parent/ext-tabs.js:468:11
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - _tabAttrModified@chrome://browser/content/tabbrowser.js:1555:12
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - setIcon@chrome://browser/content/tabbrowser.js:1000:14
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.js:4556:16
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - swapBrowsers@chrome://browser/content/browser.js:1739:20
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - onLoad@chrome://browser/content/browser.js:1753:9
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:119:39
[task 2023-09-29T21:03:07.631Z] 21:03:07     INFO - 
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "title", tab is undefined" {file: "chrome://browser/content/parent/ext-tabs.js" line: 468}]
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - listener@chrome://browser/content/parent/ext-tabs.js:468:11
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - _tabAttrModified@chrome://browser/content/tabbrowser.js:1555:12
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1737:14
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1683:19
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.js:4605:12
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - swapBrowsers@chrome://browser/content/browser.js:1739:20
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - onLoad@chrome://browser/content/browser.js:1753:9
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:119:39
[task 2023-09-29T21:03:07.632Z] 21:03:07     INFO - 
[task 2023-09-29T21:03:07.633Z] 21:03:07     INFO - Console message: [JavaScript Warning: "Loading failed for the module with source “chrome://global/content/elements/moz-button-group.mjs”." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2023-09-29T21:03:07.633Z] 21:03:07     INFO - Console message: [JavaScript Warning: "Loading failed for the module with source “chrome://global/content/elements/moz-toggle.mjs”." {file: "chrome://browser/content/browser.xhtml" line: 0}]
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "favIconUrl", tab is undefined" {file: "chrome://browser/content/parent/ext-tabs.js" line: 468}]
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - listener@chrome://browser/content/parent/ext-tabs.js:468:11
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - _tabAttrModified@chrome://browser/content/tabbrowser.js:1555:12
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - setIcon@chrome://browser/content/tabbrowser.js:1000:14
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.js:4556:16
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - swapBrowsers@chrome://browser/content/browser.js:1739:20
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - EventListener.handleEvent*onLoad@chrome://browser/content/browser.js:1751:25
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:119:39
[task 2023-09-29T21:03:07.634Z] 21:03:07     INFO - 
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "title", tab is undefined" {file: "chrome://browser/content/parent/ext-tabs.js" line: 468}]
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - listener@chrome://browser/content/parent/ext-tabs.js:468:11
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - _tabAttrModified@chrome://browser/content/tabbrowser.js:1555:12
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - _setTabLabel@chrome://browser/content/tabbrowser.js:1737:14
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - setTabTitle@chrome://browser/content/tabbrowser.js:1683:19
[task 2023-09-29T21:03:07.635Z] 21:03:07     INFO - swapBrowsersAndCloseOther@chrome://browser/content/tabbrowser.js:4605:12
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - swapBrowsers@chrome://browser/content/browser.js:1739:20
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - EventListener.handleEvent*onLoad@chrome://browser/content/browser.js:1751:25
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:119:39
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - 
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - Buffered messages finished
[task 2023-09-29T21:03:07.636Z] 21:03:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug495058.js | Test timed out - 
[task 2023-09-29T21:03:07.637Z] 21:03:07     INFO - GECKO(1400) | MEMORY STAT | vsize 16362MB | residentFast 429MB | heapAllocated 156MB
[task 2023-09-29T21:03:07.637Z] 21:03:07     INFO - TEST-OK | browser/base/content/test/general/browser_bug495058.js | took 45052ms
[task 2023-09-29T21:03:07.637Z] 21:03:07     INFO - checking window state
[task 2023-09-29T21:03:07.638Z] 21:03:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-29T21:03:07.638Z] 21:03:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug495058.js | Found a browser window after previous test timed out - 
[task 2023-09-29T21:03:07.638Z] 21:03:07     INFO - GECKO(1400) | must wait for focus
[task 2023-09-29T21:03:07.638Z] 21:03:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-29T21:03:07.639Z] 21:03:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug495058.js | Uncaught exception received from previously timed out test bound  - at chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug495058.js:34 - TypeError: can't access property "equal", Assert is null
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - Stack trace:
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_bug495058.js:34:5
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - TEST-START | browser/base/content/test/general/browser_bug520538.js
[task 2023-09-29T21:03:07.640Z] 21:03:07     INFO - GECKO(1400) | JavaScript error: chrome://mochikit/content/browser-test.js, line 1194: TypeError: can't access property "shift", currentScope.__tasks is null
[task 2023-09-29T21:03:07.641Z] 21:03:07     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-09-29T21:03:07.641Z] 21:03:07     INFO - Buffered messages logged at 21:03:07
[task 2023-09-29T21:03:07.641Z] 21:03:07     INFO - TEST-PASS | browser/base/content/test/general/browser_bug520538.js | '--new-tab about:blank' opens a new tab - 
[task 2023-09-29T21:03:07.642Z] 21:03:07     INFO - TEST-PASS | browser/base/content/test/general/browser_bug520538.js | '--new-tab about:blank' selects the new tab - 
[task 2023-09-29T21:03:07.642Z] 21:03:07     INFO - TEST-PASS | browser/base/content/test/general/browser_bug520538.js | '--new-tab about:blank' focuses the location bar - 
[task 2023-09-29T21:03:07.642Z] 21:03:07     INFO - Buffered messages finished
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_bug520538.js | A promise chain failed to handle a rejection: can't access property "shift", currentScope.__tasks is null - stack: _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1194:13
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - Rejection date: Fri Sep 29 2023 21:03:07 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":583,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":549,"lineNumber":766,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":549,"lineNumber":1373,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":549,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":574,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"Tester_execTest@chrome://mochikit/content/browser-test.js:1373:12\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:766:29\nTester_execTest@chrome://mochikit/content/browser-test.js:1373:12\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:766:29\nTester_execTest@chrome://mochikit/content/browser-test.js:1373:12\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - Stack trace:
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - chrome://mochikit/content/browser-test.js:nextTest:766
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1373
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-09-29T21:03:07.646Z] 21:03:07     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - Console message: [JavaScript Error: "TypeError: can't access property "shift", currentScope.__tasks is null" {file: "chrome://mochikit/content/browser-test.js" line: 1194}]
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:3
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-09-29T21:03:07.647Z] 21:03:07     INFO - 
[task 2023-09-29T21:03:08.178Z] 21:03:08     INFO - GECKO(1400) | MEMORY STAT | vsize 16331MB | residentFast 429MB | heapAllocated 153MB
[task 2023-09-29T21:03:08.178Z] 21:03:08     INFO - TEST-OK | browser/base/content/test/general/browser_bug520538.js | took 734ms
```