Bug: Intermittent TV browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | Cleanup function threw an exception - at resource://services-settings/Database.jsm:26 - TypeError: IndexedDB: clear() can't access property "transacti
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-03-18 21:35:39+00:00
Resolved: 2020-03-23 06:31:44+00:00

**Filed by:** rmaries [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=293745239&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XC11AM1oSV2WjLDel0mmCA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/XC11AM1oSV2WjLDel0mmCA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

[task 2020-03-18T20:18:10.478Z] 20:18:10     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js
[task 2020-03-18T20:18:12.392Z] 20:18:12     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | the first login should still be TEST_LOGIN1 since it has the most recent timePasswordChanged value - "{395e5773-58d4-bd40-a0c8-a21e1a6ac111}" == "{395e5773-58d4-bd40-a0c8-a21e1a6ac111}" - 
[task 2020-03-18T20:18:12.392Z] 20:18:12     INFO - Leaving test bound test_sort_order_persisted
[task 2020-03-18T20:18:12.393Z] 20:18:12     INFO - Buffered messages finished
[task 2020-03-18T20:18:12.394Z] 20:18:12     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | Cleanup function threw an exception - at resource://services-settings/Database.jsm:26 - TypeError: IndexedDB: clear() can't access property "transaction", db is null
[task 2020-03-18T20:18:12.394Z] 20:18:12     INFO - GECKO(1671) | MEMORY STAT | vsize 7602MB | residentFast 352MB | heapAllocated 143MB
[task 2020-03-18T20:18:12.395Z] 20:18:12     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_loginSortOrderRestored.js | took 1747ms
[task 2020-03-18T20:18:12.395Z] 20:18:12     INFO - GECKO(1671) | [Child 1685: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x1076b7800 == 1 [pid = 1685] [id = {27169707-347f-8e42-bd58-9936fa22a10e}]
[task 2020-03-18T20:18:12.395Z] 20:18:12     INFO - GECKO(1671) | [Child 1685: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x10310b8c0) [pid = 1685] [serial = 1] [outer = 0x0]
[task 2020-03-18T20:18:12.395Z] 20:18:12     INFO - GECKO(1671) | [Child 1685, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/base/nsPresContext.cpp, line 839
[task 2020-03-18T20:18:12.396Z] 20:18:12     INFO - GECKO(1671) | [Child 1685: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x108d0f400) [pid = 1685] [serial = 2] [outer = 0x10310b8c0]
[task 2020-03-18T20:18:12.397Z] 20:18:12     INFO - GECKO(1671) | [Child 1685: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x108dc6400) [pid = 1685] [serial = 3] [outer = 0x10310b8c0]
[task 2020-03-18T20:18:12.415Z] 20:18:12     INFO - checking window state