Bug: Intermittent browser/base/content/test/tabs/browser_tabReorder.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-07-04 15:49:42+00:00
Resolved: 2023-08-04 12:03:49+00:00

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

---
```
[task 2023-07-04T15:23:34.469Z] 15:23:34     INFO - TEST-START | browser/base/content/test/tabs/browser_tabReorder.js
[task 2023-07-04T15:23:34.480Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f28abbb3000 == 7 [pid = 1581] [id = 131]
[task 2023-07-04T15:23:34.481Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (7f28d15bac40) [pid = 1581] [serial = 312] [outer = 0]
[task 2023-07-04T15:23:34.483Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (7f28abbb5400) [pid = 1581] [serial = 313] [outer = 7f28d15bac40]
[task 2023-07-04T15:23:34.503Z] 15:23:34     INFO - GECKO(1581) | console.error:
[task 2023-07-04T15:23:34.508Z] 15:23:34     INFO - GECKO(1581) |   Message: TypeError: WeakMap key must be an object, got nativeTab.linkedBrowser
[task 2023-07-04T15:23:34.509Z] 15:23:34     INFO - GECKO(1581) |   Stack:
[task 2023-07-04T15:23:34.514Z] 15:23:34     INFO - GECKO(1581) |     setId@chrome://browser/content/parent/ext-browser.js:359:22
[task 2023-07-04T15:23:34.518Z] 15:23:34     INFO - GECKO(1581) | getId@chrome://browser/content/parent/ext-browser.js:330:10
[task 2023-07-04T15:23:34.519Z] 15:23:34     INFO - GECKO(1581) | wrapTab@chrome://browser/content/parent/ext-browser.js:1221:58
[task 2023-07-04T15:23:34.522Z] 15:23:34     INFO - GECKO(1581) | statusListener@chrome://browser/content/parent/ext-tabs.js:490:33
[task 2023-07-04T15:23:34.523Z] 15:23:34     INFO - GECKO(1581) | onStateChange@chrome://extensions/content/parent/ext-tabs-base.js:1449:12
[task 2023-07-04T15:23:34.524Z] 15:23:34     INFO - GECKO(1581) | callListeners@chrome://browser/content/tabbrowser.js:962:31
[task 2023-07-04T15:23:34.525Z] 15:23:34     INFO - GECKO(1581) | _callProgressListeners@chrome://browser/content/tabbrowser.js:982:22
[task 2023-07-04T15:23:34.528Z] 15:23:34     INFO - GECKO(1581) | _callProgressListeners@chrome://browser/content/tabbrowser.js:6522:46
[task 2023-07-04T15:23:34.530Z] 15:23:34     INFO - GECKO(1581) | onStateChange@chrome://browser/content/tabbrowser.js:6831:12
[task 2023-07-04T15:23:34.531Z] 15:23:34     INFO - GECKO(1581) | _internalMaybeFixupLoadURI@chrome://browser/content/tabbrowser.js:7265:33
[task 2023-07-04T15:23:34.532Z] 15:23:34     INFO - GECKO(1581) | fixupAndLoadURIString@chrome://browser/content/tabbrowser.js:7218:12
[task 2023-07-04T15:23:34.533Z] 15:23:34     INFO - GECKO(1581) | _kickOffBrowserLoad@chrome://browser/content/tabbrowser.js:3121:19
[task 2023-07-04T15:23:34.534Z] 15:23:34     INFO - GECKO(1581) | addTab@chrome://browser/content/tabbrowser.js:2810:14
[task 2023-07-04T15:23:34.535Z] 15:23:34     INFO - GECKO(1581) | addTab@resource://testing-common/BrowserTestUtils.sys.mjs:2659:23
[task 2023-07-04T15:23:34.535Z] 15:23:34     INFO - GECKO(1581) | @chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabReorder.js:7:58
[task 2023-07-04T15:23:34.536Z] 15:23:34     INFO - GECKO(1581) | handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-04T15:23:34.536Z] 15:23:34     INFO - GECKO(1581) | _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-04T15:23:34.537Z] 15:23:34     INFO - GECKO(1581) | Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-04T15:23:34.538Z] 15:23:34     INFO - GECKO(1581) | nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-04T15:23:34.538Z] 15:23:34     INFO - GECKO(1581) | SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-04T15:23:34.539Z] 15:23:34     INFO - TEST-INFO | started process screentopng
[task 2023-07-04T15:23:34.733Z] 15:23:34     INFO - TEST-INFO | screentopng: exit 0
[task 2023-07-04T15:23:34.733Z] 15:23:34     INFO - Buffered messages logged at 15:23:34
[task 2023-07-04T15:23:34.733Z] 15:23:34     INFO - Entering test bound 
[task 2023-07-04T15:23:34.733Z] 15:23:34     INFO - Buffered messages finished
[task 2023-07-04T15:23:34.735Z] 15:23:34     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_tabReorder.js | uncaught exception - TypeError: can't access property "originNoSuffix", newBrowser.contentPrincipal is undefined at updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1146:1
[task 2023-07-04T15:23:34.736Z] 15:23:34     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5939:16
[task 2023-07-04T15:23:34.736Z] 15:23:34     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-04T15:23:34.736Z] 15:23:34     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-04T15:23:34.737Z] 15:23:34     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-04T15:23:34.737Z] 15:23:34     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-04T15:23:34.737Z] 15:23:34     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-04T15:23:34.738Z] 15:23:34     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:359:7
[task 2023-07-04T15:23:34.738Z] 15:23:34     INFO - @chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabReorder.js:7:58
[task 2023-07-04T15:23:34.738Z] 15:23:34     INFO - handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-04T15:23:34.738Z] 15:23:34     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-04T15:23:34.739Z] 15:23:34     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-04T15:23:34.739Z] 15:23:34     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-04T15:23:34.739Z] 15:23:34     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-04T15:23:34.739Z] 15:23:34     INFO - 
[task 2023-07-04T15:23:34.739Z] 15:23:34     INFO - Stack trace:
[task 2023-07-04T15:23:34.740Z] 15:23:34     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2003
[task 2023-07-04T15:23:34.740Z] 15:23:34     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:236
[task 2023-07-04T15:23:34.740Z] 15:23:34     INFO - chrome://global/content/elements/tabbox.js:set selectedPanel:246
[task 2023-07-04T15:23:34.740Z] 15:23:34     INFO - chrome://global/content/elements/tabbox.js:set selectedIndex:599
[task 2023-07-04T15:23:34.741Z] 15:23:34     INFO - chrome://global/content/elements/tabbox.js:set selectedItem:617
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://global/content/elements/tabbox.js:set selectedTab:80
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://browser/content/tabbrowser.js:set selectedTab:359
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabReorder.js:null:7
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-04T15:23:34.742Z] 15:23:34     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-04T15:23:34.743Z] 15:23:34     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-04T15:23:34.743Z] 15:23:34     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-04T15:23:34.744Z] 15:23:34     INFO - GECKO(1581) | JavaScript error: chrome://browser/content/tabbrowser.js, line 1146: TypeError: can't access property "originNoSuffix", newBrowser.contentPrincipal is undefined
[task 2023-07-04T15:23:34.744Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f28abc62c00 == 8 [pid = 1581] [id = 132]
[task 2023-07-04T15:23:34.745Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (7f28d3a8f2e0) [pid = 1581] [serial = 314] [outer = 0]
[task 2023-07-04T15:23:34.745Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (7f28abc62000) [pid = 1581] [serial = 315] [outer = 7f28d3a8f2e0]
[task 2023-07-04T15:23:34.746Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f28abc67800 == 9 [pid = 1581] [id = 133]
[task 2023-07-04T15:23:34.747Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (7f28d93686a0) [pid = 1581] [serial = 316] [outer = 0]
[task 2023-07-04T15:23:34.747Z] 15:23:34     INFO - GECKO(1581) | [Parent 1581: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (7f28abc6cc00) [pid = 1581] [serial = 317] [outer = 7f28d93686a0]
[task 2023-07-04T15:23:34.748Z] 15:23:34     INFO - TEST-PASS | browser/base/content/test/tabs/browser_tabReorder.js | new tabs are opened - 
```