Bug: Intermittent browser/components/tabbrowser/test/browser/tabs/browser_tab_groups.js | single tracking bug
Status: REOPENED
Priority: P3
Created: 2024-10-30 17:36:13+00:00
Resolved: 2025-03-03 06:47:33+00:00

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

---
```
TEST-PASS | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups.js | group has 2 tabs - 2 == 2 - 
[task 2024-10-30T16:18:42.748Z] 16:18:42     INFO - Console message: [JavaScript Error: "Cannot attach ID to a tab in a closed window." {file: "chrome://browser/content/parent/ext-browser.js" line: 343}]
[task 2024-10-30T16:18:42.748Z] 16:18:42     INFO - setId@chrome://browser/content/parent/ext-browser.js:343:13
[task 2024-10-30T16:18:42.749Z] 16:18:42     INFO - getId@chrome://browser/content/parent/ext-browser.js:319:10
[task 2024-10-30T16:18:42.749Z] 16:18:42     INFO - emitRemoved@chrome://browser/content/parent/ext-browser.js:683:22
[task 2024-10-30T16:18:42.749Z] 16:18:42     INFO - _handleWindowClose@chrome://browser/content/parent/ext-browser.js:610:14
[task 2024-10-30T16:18:42.749Z] 16:18:42     INFO - observe@chrome://extensions/content/parent/ext-tabs-base.js:1763:19
[task 2024-10-30T16:18:42.750Z] 16:18:42     INFO - 
[task 2024-10-30T16:18:42.750Z] 16:18:42     INFO - Console message: [JavaScript Error: "TypeError: can't convert undefined to object" {file: "resource:///modules/sessionstore/TabStateCache.sys.mjs" line: 142}]
[task 2024-10-30T16:18:42.750Z] 16:18:42     INFO - Buffered messages finished
[task 2024-10-30T16:18:42.753Z] 16:18:42     INFO - TEST-UNEXPECTED-FAIL | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups.js | A promise chain failed to handle a rejection: can't convert undefined to object - stack: update@resource:///modules/sessionstore/TabStateCache.sys.mjs:142:28
[task 2024-10-30T16:18:42.753Z] 16:18:42     INFO - update@resource:///modules/sessionstore/TabStateCache.sys.mjs:39:27
[task 2024-10-30T16:18:42.753Z] 16:18:42     INFO - onMoveToNewWindow/<@resource:///modules/sessionstore/SessionStore.sys.mjs:2852:26
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - Rejection date: Wed Oct 30 2024 16:18:42 GMT+0000 (Coordinated Universal Time) - false == true - 
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - Stack trace:
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - chrome://mochikit/content/browser-test.js:handleTask:1173
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-30T16:18:42.754Z] 16:18:42     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-30T16:18:42.755Z] 16:18:42     INFO - Leaving test bound test_tabGroupContextMenuMoveTabToExistingGroupInDifferentWindow
[task 2024-10-30T16:18:42.755Z] 16:18:42     INFO - Entering test bound test_tabGroupContextMenuMoveTabToGroupContextMenuTabNotInList
[task 2024-10-30T16:18:42.756Z] 16:18:42     INFO - TEST-PASS | browser/components/tabbrowser/test/browser/tabs/browser_tab_groups.js | context menu is initially closed - "closed" == "closed" -
```