Bug: Intermittent browser/components/sessionstore/test/browser_restore_srcdoc.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-05-03 15:08:50+00:00
Resolved: 2024-05-31 12:04:36+00:00

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

---
```
TEST-PASS | browser/components/sessionstore/test/browser_restore_srcdoc.js | Didn't load neterror - "" == "" - 
[task 2024-05-03T14:56:11.170Z] 14:56:11     INFO - Buffered messages finished
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_restore_srcdoc.js | A promise chain failed to handle a rejection: can't access property "currentURI", this._tab.linkedBrowser is null - stack: get _displayURI@chrome://browser/content/tabpreview/tab-preview-panel.mjs:189:30
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - _updatePreview@chrome://browser/content/tabpreview/tab-preview-panel.mjs:140:1
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - _maybeRequestThumbnail/<@chrome://browser/content/tabpreview/tab-preview-panel.mjs:74:14
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - Rejection date: Fri May 03 2024 14:56:10 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":609,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":573,"lineNumber":1167,"columnNumber":22,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":573,"lineNumber":1211,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":573,"lineNumber":1353,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":573,"lineNumber":1128,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":600,"lineNumber":1058,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"handleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nhandleTask@chrome://mochikit/content/browser-test.js:1167:22\nasync*_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1128:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13\n","nativeSavedFrame":{}}
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - Stack trace:
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - chrome://mochikit/content/browser-test.js:handleTask:1167
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-03T14:56:11.174Z] 14:56:11     INFO - Leaving test bound test_blank
[task 2024-05-03T14:56:11.175Z] 14:56:11     INFO - GECKO(1105) | [Parent 1105: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 77 (18ab27880) [pid = 1105] [serial = 661] [outer = 0] [url = about:blank]
[task 2024-05-03T14:56:11.175Z] 14:56:11     INFO - GECKO(1105) | [Parent 1105: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 76 (17d5b4d40) [pid = 1105] [serial = 649] [outer = 0] [url = about:blank]
[task 2024-05-03T14:56:11.176Z] 14:56:11     INFO - GECKO(1105) | [Parent 1105: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 75 (17d7e7980) [pid = 1105] [serial = 643] [outer = 0] [url = about:blank]
[task 2024-05-03T14:56:11.176Z] 14:56:11     INFO - GECKO(1105) | [Parent 1105: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 74 (1804a8880) [pid = 1105] [serial = 655] [outer = 0] [url = about:blank]
[task 2024-05-03T14:56:11.515Z] 14:56:11     INFO - GECKO(1105) | MEMORY STAT | vsize 25236MB | residentFast 679MB | heapAllocated 343MB
[task 2024-05-03T14:56:11.515Z] 14:56:11     INFO - TEST-OK | browser/components/sessionstore/test/browser_restore_srcdoc.js | took 1327ms
```