Bug: Permafailing OS X browser/components/sessionstore/test/browser_restoreLastClosedTabOrWindowOrSession.js | Got the expected number of tabs - x == x - {"filename":"chrome://mochitests/content/browser/browser/components/sessionstore/test/browser...
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-07-26 13:54:19+00:00
Resolved: 2023-07-31 06:40:57+00:00

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

---
```
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - TEST-INFO | screencapture: exit 0
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - Buffered messages logged at 12:30:25
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - Entering test bound 
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<body><input>" line: 0}]
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<body><input>" line: 0}]
[task 2023-07-26T12:30:25.873Z] 12:30:25     INFO - Buffered messages finished
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabs/browser_tabswitch_updatecommands.js | only one command update per tab switch - Got 2, expected 1
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - Stack trace:
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/browser-test.js:test_is:1608
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabswitch_updatecommands.js:null:18
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - Update stack:
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - countUpdates@chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabswitch_updatecommands.js:12:18
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - _adjustFocusBeforeTabSwitch@chrome://browser/content/tabbrowser.js:1393:34
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.sys.mjs:453:23
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - postActions@resource:///modules/AsyncTabSwitcher.sys.mjs:666:10
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.sys.mjs:1120:12
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - queueUnload@resource:///modules/AsyncTabSwitcher.sys.mjs:1057:10
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1053:10
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1099:31
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5885:16
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-26T12:30:25.874Z] 12:30:25     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:355:7
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:393:7
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - @chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabswitch_updatecommands.js:16:26
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - 
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - Update stack:
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - countUpdates@chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabswitch_updatecommands.js:12:18
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - _adjustFocusAfterTabSwitch@chrome://browser/content/tabbrowser.js:1537:10
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - updateDisplay@resource:///modules/AsyncTabSwitcher.sys.mjs:474:27
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - postActions@resource:///modules/AsyncTabSwitcher.sys.mjs:666:10
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - handleEvent@resource:///modules/AsyncTabSwitcher.sys.mjs:1120:12
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - queueUnload@resource:///modules/AsyncTabSwitcher.sys.mjs:1057:10
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - requestTab@resource:///modules/AsyncTabSwitcher.sys.mjs:1053:10
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1099:31
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5885:16
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:236:14
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:246:54
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:599:9
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedItem@chrome://global/content/elements/tabbox.js:617:35
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedTab@chrome://global/content/elements/tabbox.js:80:11
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - set selectedTab@chrome://browser/content/tabbrowser.js:355:7
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - switchTab@resource://testing-common/BrowserTestUtils.sys.mjs:393:7
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - @chrome://mochitests/content/browser/browser/base/content/test/tabs/browser_tabswitch_updatecommands.js:16:26
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1131:26
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1120:14
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - 
[task 2023-07-26T12:30:25.875Z] 12:30:25     INFO - Leaving test bound 
[task 2023-07-26T12:30:26.055Z] 12:30:26     INFO - GECKO(2178) | MEMORY STAT | vsize 419228MB | residentFast 661MB | heapAllocated 228MB
[task 2023-07-26T12:30:26.056Z] 12:30:26     INFO - TEST-OK | browser/base/content/test/tabs/browser_tabswitch_updatecommands.js | took 683ms
```