Bug: Intermittent browser/base/content/test/general/browser_tab_detach_restore.js | Should have restore data for the closed window - Got 0, expected 1 After Uncaught exception - [Exception... "Invalid index: not in the closed windows" nsresult...
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-04-13 11:57:20+00:00
Resolved: 2020-06-02 17:00:08+00:00

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

---

[task 2020-04-13T09:15:27.790Z] 09:15:27     INFO - TEST-INFO | started process screentopng
[task 2020-04-13T09:15:28.354Z] 09:15:28     INFO - TEST-INFO | screentopng: exit 0
[task 2020-04-13T09:15:28.354Z] 09:15:28     INFO - Buffered messages logged at 09:15:25
[task 2020-04-13T09:15:28.354Z] 09:15:28     INFO - Entering test bound 
[task 2020-04-13T09:15:28.355Z] 09:15:28     INFO - Buffered messages logged at 09:15:27
[task 2020-04-13T09:15:28.355Z] 09:15:28     INFO - TEST-PASS | browser/base/content/test/general/browser_tab_detach_restore.js | Should have properly copied the permanentKey - 
[task 2020-04-13T09:15:28.355Z] 09:15:28     INFO - Buffered messages finished
[task 2020-04-13T09:15:28.355Z] 09:15:28     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_tab_detach_restore.js | Should have restore data for the closed window - Got 0, expected 1
[task 2020-04-13T09:15:28.356Z] 09:15:28     INFO - Stack trace:
[task 2020-04-13T09:15:28.356Z] 09:15:28     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - chrome://mochitests/content/browser/browser/base/content/test/general/browser_tab_detach_restore.js:null:32
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-04-13T09:15:28.357Z] 09:15:28     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-13T09:15:28.358Z] 09:15:28     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/general/browser_tab_detach_restore.js | Uncaught exception - [Exception... "Invalid index: not in the closed windows"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: resource:///modules/sessionstore/SessionStore.jsm :: ssi_undoCloseWindow :: line 3524"  data: no]
[task 2020-04-13T09:15:28.359Z] 09:15:28     INFO - Stack trace:
[task 2020-04-13T09:15:28.359Z] 09:15:28     INFO - ssi_undoCloseWindow@resource:///modules/sessionstore/SessionStore.jsm:3524:24
[task 2020-04-13T09:15:28.359Z] 09:15:28     INFO - ss_undoCloseWindow@resource:///modules/sessionstore/SessionStore.jsm:355:33
[task 2020-04-13T09:15:28.359Z] 09:15:28     INFO - @chrome://mochitests/content/browser/browser/base/content/test/general/browser_tab_detach_restore.js:38:22
[task 2020-04-13T09:15:28.360Z] 09:15:28     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-04-13T09:15:28.360Z] 09:15:28     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-04-13T09:15:28.360Z] 09:15:28     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-04-13T09:15:28.361Z] 09:15:28     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-04-13T09:15:28.362Z] 09:15:28     INFO - Leaving test bound 
[task 2020-04-13T09:15:28.362Z] 09:15:28     INFO - GECKO(1221) | MEMORY STAT | vsize 4164MB | residentFast 550MB | heapAllocated 206MB
[task 2020-04-13T09:15:28.363Z] 09:15:28     INFO - TEST-OK | browser/base/content/test/general/browser_tab_detach_restore.js | took 2258ms