Bug: Intermittent browser/components/sessionstore/test/browser_should_restore_tab.js | single tracking bug
Status: NEW
Priority: P5
Created: 2023-08-12 12:21:01+00:00
Resolved: 2025-03-03 06:46:39+00:00

**Filed by:** csabou [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=425771399&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aSI6k2DDTt-CKhoPCpePxA/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2023-08-12T11:30:52.245Z] 11:30:52     INFO - TEST-OK | browser/components/sessionstore/test/browser_sessionStoreContainer.js | took 10987ms
[task 2023-08-12T11:30:52.319Z] 11:30:52     INFO - checking window state
[task 2023-08-12T11:30:52.364Z] 11:30:52     INFO - TEST-START | browser/components/sessionstore/test/browser_should_restore_tab.js
[task 2023-08-12T11:30:52.936Z] 11:30:52     INFO - TEST-INFO | started process screentopng
[task 2023-08-12T11:30:53.413Z] 11:30:53     INFO - TEST-INFO | screentopng: exit 0
[task 2023-08-12T11:30:53.414Z] 11:30:53     INFO - Buffered messages logged at 11:30:52
[task 2023-08-12T11:30:53.415Z] 11:30:53     INFO - Entering setup bound 
[task 2023-08-12T11:30:53.416Z] 11:30:53     INFO - Leaving setup bound 
[task 2023-08-12T11:30:53.416Z] 11:30:53     INFO - Entering test bound test_control_case
[task 2023-08-12T11:30:53.417Z] 11:30:53     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "https://example.com/" line: 0}]
[task 2023-08-12T11:30:53.418Z] 11:30:53     INFO - Buffered messages finished
[task 2023-08-12T11:30:53.421Z] 11:30:53     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_should_restore_tab.js | Expected sessionstore-closed-objects-changed when the https://example.com/ tab closed - false == true - {"filename":"chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js","name":"check_tab_close_notification","sourceId":4720,"lineNumber":33,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js","name":"test_control_case","sourceId":4720,"lineNumber":66,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":529,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":529,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":529,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":529,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":556,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*test_control_case@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js:66:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"check_tab_close_notification@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js:33:12\nasync*test_control_case@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js:66:9\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - Stack trace:
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js:check_tab_close_notification:33
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_should_restore_tab.js:test_control_case:66
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-08-12T11:30:53.422Z] 11:30:53     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-08-12T11:30:53.423Z] 11:30:53     INFO - TEST-PASS | browser/components/sessionstore/test/browser_should_restore_tab.js | Expected closed tab count to have incremented - 6 == 6 - 
```