Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | Uncaught exception in test - Waiting for login to be displayed in page - threw exception: TypeError: can't access property "length", loginList._loginGuidsSortedOrder is
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-04-12 10:48:44+00:00
Resolved: 2022-04-12 10:49:46+00:00

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

---
```
[task 2022-04-12T10:33:13.864Z] 10:33:13     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js
[task 2022-04-12T10:33:15.121Z] 10:33:15     INFO - TEST-INFO | started process screentopng
[task 2022-04-12T10:33:15.677Z] 10:33:15     INFO - TEST-INFO | screentopng: exit 0
[task 2022-04-12T10:33:15.678Z] 10:33:15     INFO - Buffered messages logged at 10:33:13
[task 2022-04-12T10:33:15.680Z] 10:33:15     INFO - Entering setup bound setup_head
[task 2022-04-12T10:33:15.680Z] 10:33:15     INFO - Leaving setup bound setup_head
[task 2022-04-12T10:33:15.681Z] 10:33:15     INFO - Entering test bound 
[task 2022-04-12T10:33:15.682Z] 10:33:15     INFO - Buffered messages logged at 10:33:14
[task 2022-04-12T10:33:15.683Z] 10:33:15     INFO - Console message: [JavaScript Warning: "Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content." {file: "chrome://browser/content/aboutlogins/components/login-filter.js" line: 30}]
[task 2022-04-12T10:33:15.684Z] 10:33:15     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | Confirming that login is displayed in page - true == true - 
[task 2022-04-12T10:33:15.685Z] 10:33:15     INFO - Adding a lazy about:logins tab...
[task 2022-04-12T10:33:15.686Z] 10:33:15     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | Tab is lazy - 
[task 2022-04-12T10:33:15.687Z] 10:33:15     INFO - Switching tab to cause it to get restored
[task 2022-04-12T10:33:15.689Z] 10:33:15     INFO - Buffered messages finished
[task 2022-04-12T10:33:15.690Z] 10:33:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | Uncaught exception in test - Waiting for login to be displayed in page - threw exception: TypeError: can't access property "length", loginList._loginGuidsSortedOrder is undefined
[task 2022-04-12T10:33:15.691Z] 10:33:15     INFO - Leaving test bound 
[task 2022-04-12T10:33:15.692Z] 10:33:15     INFO - Console message: SENTINEL
[task 2022-04-12T10:33:15.693Z] 10:33:15     INFO - GECKO(1576) | MEMORY STAT | vsize 20991942MB | residentFast 1258MB
[task 2022-04-12T10:33:15.694Z] 10:33:15     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | took 1294ms
[task 2022-04-12T10:33:15.695Z] 10:33:15     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-04-12T10:33:15.696Z] 10:33:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_sessionRestore.js | Found an unexpected tab at the end of test run: about:logins - 
[task 2022-04-12T10:33:15.697Z] 10:33:15     INFO - checking window state
[task 2022-04-12T10:33:15.698Z] 10:33:15     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_tabKeyNav.js
```