Bug: Intermittent browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@[..]/sessionstore/test/browser_662743.js:116:32
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-12-26 12:40:13+00:00
Resolved: 2021-01-19 17:04:01+00:00

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

---
```
[task 2020-12-26T11:51:58.881Z] 11:51:58     INFO - TEST-START | browser/components/sessionstore/test/browser_662743.js
[task 2020-12-26T11:51:59.244Z] 11:51:59     INFO - GECKO(11628) | JavaScript error: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js, line 116: TypeError: can't access property "id", restoredFormData is undefined
[task 2020-12-26T11:51:59.323Z] 11:51:59     INFO - GECKO(11628) | JavaScript error: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js, line 116: TypeError: can't access property "id", restoredFormData is undefined
[task 2020-12-26T11:51:59.323Z] 11:51:59     INFO - GECKO(11628) | JavaScript error: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js, line 116: TypeError: can't access property "id", restoredFormData is undefined
[task 2020-12-26T11:51:59.323Z] 11:51:59     INFO - GECKO(11628) | JavaScript error: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js, line 116: TypeError: can't access property "id", restoredFormData is undefined
[task 2020-12-26T11:51:59.368Z] 11:51:59     INFO - GECKO(11628) | JavaScript error: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js, line 116: TypeError: can't access property "id", restoredFormData is undefined
[task 2020-12-26T11:53:28.952Z] 11:53:28     INFO - TEST-INFO | started process screenshot
[task 2020-12-26T11:53:29.018Z] 11:53:29     INFO - TEST-INFO | screenshot: exit 0
[task 2020-12-26T11:53:29.018Z] 11:53:29     INFO - Buffered messages logged at 11:51:59
[task 2020-12-26T11:53:29.019Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | no formdata collected - 
[task 2020-12-26T11:53:29.019Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | Select Option by selectedIndex &/or value has been restored correctly - 
[task 2020-12-26T11:53:29.020Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | no formdata collected - 
[task 2020-12-26T11:53:29.020Z] 11:53:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", restoredFormData is undefined" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js" line: 116}]
[task 2020-12-26T11:53:29.020Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | Select Option by selectedIndex &/or value has been restored correctly - 
[task 2020-12-26T11:53:29.021Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | Select Option by selectedIndex &/or value has been restored correctly - 
[task 2020-12-26T11:53:29.021Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | Select Option by selectedIndex &/or value has been restored correctly - 
[task 2020-12-26T11:53:29.022Z] 11:53:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", restoredFormData is undefined" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js" line: 116}]
[task 2020-12-26T11:53:29.022Z] 11:53:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", restoredFormData is undefined" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js" line: 116}]
[task 2020-12-26T11:53:29.022Z] 11:53:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", restoredFormData is undefined" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js" line: 116}]
[task 2020-12-26T11:53:29.023Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | no formdata collected - 
[task 2020-12-26T11:53:29.023Z] 11:53:29     INFO - TEST-PASS | browser/components/sessionstore/test/browser_662743.js | Select Option by selectedIndex &/or value has been restored correctly - 
[task 2020-12-26T11:53:29.023Z] 11:53:29     INFO - Console message: [JavaScript Error: "TypeError: can't access property "id", restoredFormData is undefined" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js" line: 116}]
[task 2020-12-26T11:53:29.023Z] 11:53:29     INFO - Buffered messages logged at 11:52:43
[task 2020-12-26T11:53:29.023Z] 11:53:29     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Buffered messages finished
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Test timed out - 
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js:116:32
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Rejection date: Sat Dec 26 2020 11:51:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Stack trace:
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js:116:32
[task 2020-12-26T11:53:29.024Z] 11:53:29     INFO - Rejection date: Sat Dec 26 2020 11:51:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - Stack trace:
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js:116:32
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - Rejection date: Sat Dec 26 2020 11:51:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - Stack trace:
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-12-26T11:53:29.025Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js:116:32
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - Rejection date: Sat Dec 26 2020 11:51:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - Stack trace:
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | A promise chain failed to handle a rejection: can't access property "id", restoredFormData is undefined - stack: testTabRestoreData/</<@chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743.js:116:32
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - Rejection date: Sat Dec 26 2020 11:51:59 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 282
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - Stack trace:
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:282
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-12-26T11:53:29.026Z] 11:53:29     INFO - GECKO(11628) | MEMORY STAT | vsize 2104610MB | vsizeMaxContiguous 65564961MB | residentFast 370MB | heapAllocated 85MB
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - TEST-OK | browser/components/sessionstore/test/browser_662743.js | took 90098ms
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743_sample.html - 
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743_sample.html - 
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743_sample.html - 
[task 2020-12-26T11:53:29.027Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.028Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743_sample.html - 
[task 2020-12-26T11:53:29.028Z] 11:53:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-26T11:53:29.028Z] 11:53:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_662743.js | Found a tab after previous test timed out: chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_662743_sample.html - 
[task 2020-12-26T11:53:29.028Z] 11:53:29     INFO - checking window state```