Bug: Intermittent browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should be in edit mode when the remove all dialog opens - "undefined" == true - got (void 0), expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-01-20 06:55:09+00:00
Resolved: 2021-02-16 17:01:04+00:00

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

---
```
 INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js
[task 2021-01-20T00:57:12.342Z] 00:57:12     INFO - GECKO(1768) | [Child 1771: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x117aa6000 == 10 [pid = 1771] [id = 24]
[task 2021-01-20T00:57:12.342Z] 00:57:12     INFO - GECKO(1768) | [Child 1771: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (0x118a32580) [pid = 1771] [serial = 77] [outer = 0x0]
[task 2021-01-20T00:57:12.343Z] 00:57:12     INFO - GECKO(1768) | [Child 1771: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (0x117aaa800) [pid = 1771] [serial = 78] [outer = 0x118a32580]
[task 2021-01-20T00:57:12.469Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext->IsContentSubframe()) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3707
[task 2021-01-20T00:57:12.469Z] 00:57:12     INFO - GECKO(1768) | [Child 1771: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (0x118356400) [pid = 1771] [serial = 79] [outer = 0x118a32580]
[task 2021-01-20T00:57:12.469Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.540Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1594
[task 2021-01-20T00:57:12.586Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.587Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:12.620Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6983
[task 2021-01-20T00:57:12.826Z] 00:57:12     INFO - GECKO(1768) | [Child 1769, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.826Z] 00:57:12     INFO - GECKO(1768) | [Child 1769, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.826Z] 00:57:12     INFO - GECKO(1768) | [Child 1769, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.826Z] 00:57:12     INFO - GECKO(1768) | [Child 1772, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.865Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.865Z] 00:57:12     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp:348
[task 2021-01-20T00:57:12.932Z] 00:57:12     INFO - GECKO(1768) | [Child 1771: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x119c42400 == 9 [pid = 1771] [id = 19] [url = about:logins]
...
INFO - GECKO(1768) | [Parent 1768: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x125f97000) [pid = 1768] [serial = 24] [outer = 0x0] [url = about:blank]
[task 2021-01-20T00:57:14.832Z] 00:57:14     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_TRUE(browsingContext) failed: file /builds/worker/checkouts/gecko/dom/base/Document.cpp:3706
[task 2021-01-20T00:57:14.866Z] 00:57:14     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6983
[task 2021-01-20T00:57:16.117Z] 00:57:16     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6983
[task 2021-01-20T00:57:16.332Z] 00:57:16     INFO - TEST-INFO | started process screencapture
[task 2021-01-20T00:57:16.432Z] 00:57:16     INFO - TEST-INFO | screencapture: exit 0
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Buffered messages logged at 00:57:12
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Entering test bound setup_head
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Leaving test bound setup_head
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Entering test bound setup
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Leaving test bound setup
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Entering test bound test_remove_all_dialog_l10n
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | test_login1 - 
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.433Z] 00:57:16     INFO - Buffered messages logged at 00:57:13
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | true == true - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Title contents should match l10n-id attribute set on element - "about-logins-confirm-remove-all-dialog-title" == "about-logins-confirm-remove-all-dialog-title" - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Message contents should match l10n-id attribute set on element - "about-logins-confirm-remove-all-dialog-message" == "about-logins-confirm-remove-all-dialog-message" - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Label contents should match l10n-id attribute set on outer element - "about-logins-confirm-remove-all-dialog-checkbox-label" == "about-logins-confirm-remove-all-dialog-checkbox-label" - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Cancel button contents should match l10n-id attribute set on outer element - "confirmation-dialog-cancel-button" == "confirmation-dialog-cancel-button" - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Remove all button contents should match l10n-id attribute set on outer element - "about-logins-confirm-remove-all-dialog-confirm-button-label" == "about-logins-confirm-remove-all-dialog-confirm-button-label" - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Title contents should match l10n-args attribute set on element - 1 == 1 - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Message contents should match l10n-args attribute set on element - 1 == 1 - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Label contents should match l10n-id attribute set on outer element - 1 == 1 - 
[task 2021-01-20T00:57:16.434Z] 00:57:16     INFO - Leaving test bound test_remove_all_dialog_l10n
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - Entering test bound test_remove_all_dialog_keyboard_navigation
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Remove all should be disabled on dialog open - true == true - 
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Remove all should be enabled when activating the checkbox - false == false - 
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Remove all should be disabled after deactivating the checkbox - true == true - 
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Cancel button should be the next element in tab order - {} == {} - 
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - Buffered messages logged at 00:57:14
[task 2021-01-20T00:57:16.435Z] 00:57:16     INFO - remove all dialog should be opened
...
INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should not be in editing mode after activating the confirm button in the remove all dialog - true == true - 
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Leaving test bound test_edit_mode_resets_on_remove_all_with_login
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Entering test bound test_remove_all_when_creating_new_login
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Buffered messages finished
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should be in edit mode when the remove all dialog opens - "undefined" == true - got (void 0), expected true (operator ==)
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Stack trace:
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js:475:7
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should be in the 'new login' state when the remove all dialog opens - "undefined" == true - got (void 0), expected true (operator ==)
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - Stack trace:
[task 2021-01-20T00:57:16.438Z] 00:57:16     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js:479:7
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item is still in edit mode after cancelling out of the remove all dialog - "undefined" == true - got (void 0), expected true (operator ==)
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - Stack trace:
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js:495:7
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should be in the 'newLogin' state after cancelling out of the remove all dialog - "undefined" == true - got (void 0), expected true (operator ==)
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - Stack trace:
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - ok@resource://specialpowers/SpecialPowersSandbox.jsm:87:21
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js:499:7
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1617:15
[task 2021-01-20T00:57:16.439Z] 00:57:16     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:310:21
[task 2021-01-20T00:57:16.532Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.549Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Remove all should be enabled after clicking the checkbox - false == false - 
INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6983
[task 2021-01-20T00:57:16.582Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should not be in editing mode after activating the confirm button in the remove all dialog - true == true - 
[task 2021-01-20T00:57:16.583Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Login item should not be in 'new login' mode after activating the confirm button in the remove all dialog - true == true - 
[task 2021-01-20T00:57:16.583Z] 00:57:16     INFO - Leaving test bound test_remove_all_when_creating_new_login
[task 2021-01-20T00:57:16.583Z] 00:57:16     INFO - Entering test bound test_ensure_icons_are_not_draggable
[task 2021-01-20T00:57:16.916Z] 00:57:16     INFO - remove all dialog should be opened
[task 2021-01-20T00:57:16.916Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Warning icon should not be draggable - true == true - 
[task 2021-01-20T00:57:16.916Z] 00:57:16     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | Dismiss icon should not be draggable - true == true - 
[task 2021-01-20T00:57:16.916Z] 00:57:16     INFO - Leaving test bound test_ensure_icons_are_not_draggable
[task 2021-01-20T00:57:16.953Z] 00:57:16     INFO - GECKO(1768) | [Child 1771, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1349
[task 2021-01-20T00:57:16.977Z] 00:57:16     INFO - Console message: SENTINEL
[task 2021-01-20T00:57:16.984Z] 00:57:16     INFO - GECKO(1768) | MEMORY STAT | vsize 7869MB | residentFast 364MB | heapAllocated 122MB
[task 2021-01-20T00:57:16.984Z] 00:57:16     INFO - TEST-OK | browser/components/aboutlogins/tests/browser/browser_removeAllDialog.js | took 4674ms
[task 2021-01-20T00:57:17.016Z] 00:57:17     INFO - GECKO(1768) | [Child 1770: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x11cc6cc00 == 4 [pid = 1770] [id = 12]
[task 2021-01-20T00:57:17.016Z] 00:57:17     INFO - GECKO(1768) | [Child 1770: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 8 (0x10b62a740) [pid = 1770] [serial = 28] [outer = 0x0]
[task 2021-01-20T00:57:17.016Z] 00:57:17     INFO - GECKO(1768) | [Child 1770: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 9 (0x11cc75c00) [pid = 1770] [serial = 29] [outer = 0x10b62a740]
[task 2021-01-20T00:57:17.037Z] 00:57:17     INFO - checking window state
[task 2021-01-20T00:57:17.067Z] 00:57:17     INFO - TEST-START | browser/components/aboutlogins/tests/browser/browser_tabKeyNav.js```