Bug: Intermittent toolkit/components/thumbnails/test/browser_thumbnails_privacy.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-11 21:01:59+00:00
Resolved: 2023-09-27 12:00:57+00:00

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

---
```
[task 2023-07-11T19:50:02.859Z] 19:50:02     INFO - TEST-START | toolkit/components/thumbnails/test/browser_thumbnails_privacy.js
[task 2023-07-11T19:50:02.990Z] 19:50:02     INFO - GECKO(4100) | [Child 8960: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 555ed00 == 1 [pid = 8960] [id = 0]
[task 2023-07-11T19:50:02.998Z] 19:50:02     INFO - GECKO(4100) | [Child 8960: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (c530940) [pid = 8960] [serial = 1] [outer = 0]
[task 2023-07-11T19:50:02.999Z] 19:50:02     INFO - GECKO(4100) | [Child 8960: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (c510200) [pid = 8960] [serial = 2] [outer = c530940]
[task 2023-07-11T19:50:03.010Z] 19:50:03     INFO - TEST-INFO | started process screenshot
[task 2023-07-11T19:50:03.141Z] 19:50:03     INFO - TEST-INFO | screenshot: exit 0
[task 2023-07-11T19:50:03.148Z] 19:50:03     INFO - Buffered messages logged at 19:50:02
[task 2023-07-11T19:50:03.149Z] 19:50:03     INFO - Entering test bound thumbnails_privacy
[task 2023-07-11T19:50:03.149Z] 19:50:03     INFO - Buffered messages finished
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/thumbnails/test/browser_thumbnails_privacy.js | uncaught exception - TypeError: can't access property "linkedBrowser", tab is undefined at requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1047:5
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1099:31
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5881:16
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:355:7
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - openNewForegroundTab/promises<@resource://testing-common/BrowserTestUtils.sys.mjs:251:61
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:391:7
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - openNewForegroundTab@resource://testing-common/BrowserTestUtils.sys.mjs:246:26
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:142:38
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - checkCombinations@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_privacy.js:58:28
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - async*thumbnails_privacy@chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_privacy.js:40:9
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - 
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - Stack trace:
[task 2023-07-11T19:50:03.155Z] 19:50:03     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:236
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://global/content/elements/tabbox.js:set selectedPanel:246
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:599
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://global/content/elements/tabbox.js:set selectedItem:617
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://global/content/elements/tabbox.js:set selectedTab:80
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://browser/content/tabbrowser.js:set selectedTab:355
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab/promises<:251
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:switchTab:391
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:openNewForegroundTab:246
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:142
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_privacy.js:checkCombinations:58
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochitests/content/browser/toolkit/components/thumbnails/test/browser_thumbnails_privacy.js:thumbnails_privacy:40
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-11T19:50:03.156Z] 19:50:03     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-11T19:50:03.157Z] 19:50:03     INFO - GECKO(4100) | JavaScript error: resource:///modules/AsyncTabSwitcher.sys.mjs, line 1047: TypeError: can't access property "linkedBrowser", tab is undefined
[task 2023-07-11T19:50:03.160Z] 19:50:03     INFO - Console message: [JavaScript Error: "TypeError: can't access property "linkedBrowser", tab is undefined" {file: "resource:///modules/AsyncTabSwitcher.sys.mjs" line: 1047}]
[task 2023-07-11T19:50:03.160Z] 19:50:03     INFO - requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1047:5
[task 2023-07-11T19:50:03.160Z] 19:50:03     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1099:31
[task 2023-07-11T19:50:03.160Z] 19:50:03     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5881:16
```