Bug: Perma mozilla-beta browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2024-05-30 18:04:28+00:00
Resolved: 2024-06-03 06:27:40+00:00

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

---
```
TEST-START | browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js
[task 2024-05-30T15:51:34.502Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 1da3b700 == 8 [pid = 8172] [id = 12]
[task 2024-05-30T15:51:34.506Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (1afd8040) [pid = 8172] [serial = 33] [outer = 0]
[task 2024-05-30T15:51:34.506Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (1da44200) [pid = 8172] [serial = 34] [outer = 1afd8040]
[task 2024-05-30T15:51:34.564Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 19 (26736700) [pid = 8172] [serial = 35] [outer = 1afd8040]
[task 2024-05-30T15:51:34.816Z] 15:51:34     INFO - GECKO(1912) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_171708372900056\AppData\Local\Temp\tmpyfs4zo9j.mozrunner\runtests_leaks_tab_pid10144.log
[task 2024-05-30T15:51:34.835Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 23f04800 == 9 [pid = 8172] [id = 13]
[task 2024-05-30T15:51:34.843Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (20fe8160) [pid = 8172] [serial = 36] [outer = 0]
[task 2024-05-30T15:51:34.844Z] 15:51:34     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (286e7900) [pid = 8172] [serial = 37] [outer = 20fe8160]
[task 2024-05-30T15:51:35.099Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (13552a00) [pid = 10100] [serial = 79] [outer = 0] [url = about:logins]
[task 2024-05-30T15:51:35.111Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (1354fa00) [pid = 10100] [serial = 76] [outer = 0] [url = about:loginsimportreport]
[task 2024-05-30T15:51:35.113Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL e61bb00 == 4 [pid = 10100] [id = 27] [url = about:logins#%7B505ac712-77c1-455f-bd44-a42166747794%7D]
[task 2024-05-30T15:51:35.113Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 12b7b800 == 3 [pid = 10100] [id = 28] [url = about:blank]
[task 2024-05-30T15:51:35.114Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 118fdb00 == 2 [pid = 10100] [id = 25] [url = about:logins]
[task 2024-05-30T15:51:35.115Z] 15:51:35     INFO - GECKO(1912) | [Child 10100: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL c62c100 == 1 [pid = 10100] [id = 26] [url = about:logins]
[task 2024-05-30T15:51:35.184Z] 15:51:35     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (255b2100) [pid = 8172] [serial = 38] [outer = 20fe8160]
[task 2024-05-30T15:51:35.349Z] 15:51:35     INFO - GECKO(1912) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-30T15:51:35.616Z] 15:51:35     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:334
[task 2024-05-30T15:51:35.663Z] 15:51:35     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:334
[task 2024-05-30T15:51:36.195Z] 15:51:36     INFO - TEST-INFO | started process screenshot
[task 2024-05-30T15:51:36.462Z] 15:51:36     INFO - TEST-INFO | screenshot: exit 0
[task 2024-05-30T15:51:36.464Z] 15:51:36     INFO - Buffered messages logged at 15:51:34
[task 2024-05-30T15:51:36.465Z] 15:51:36     INFO - Entering setup bound setup_head
[task 2024-05-30T15:51:36.467Z] 15:51:36     INFO - Leaving setup bound setup_head
[task 2024-05-30T15:51:36.477Z] 15:51:36     INFO - Entering setup bound 
[task 2024-05-30T15:51:36.477Z] 15:51:36     INFO - Leaving setup bound 
[task 2024-05-30T15:51:36.480Z] 15:51:36     INFO - Entering test bound test_os_auth_enabled_with_checkbox
[task 2024-05-30T15:51:36.480Z] 15:51:36     INFO - Buffered messages finished
[task 2024-05-30T15:51:36.480Z] 15:51:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js | OSReauth for Passwords should be checked - false == true - got false, expected true (operator ==)
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - Stack trace:
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - is@resource://testing-common/SpecialPowersSandbox.sys.mjs:88:21
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - @chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js:29:11
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - execute@resource://testing-common/SpecialPowersSandbox.sys.mjs:139:12
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - _spawnTask@resource://testing-common/SpecialPowersChild.sys.mjs:1617:15
INFO - receiveMessage@resource://testing-common/SpecialPowersChild.sys.mjs:256:21
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - JSActor query*receiveMessage@resource://testing-common/SpecialPowersParent.sys.mjs:1383:14
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - JSActor query*spawn@resource://testing-common/SpecialPowersChild.sys.mjs:1546:17
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - test_os_auth_enabled_with_checkbox/<@chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js:27:27
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - async*withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:146:22
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - async*test_os_auth_enabled_with_checkbox@chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js:22:26
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-05-30T15:51:36.481Z] 15:51:36     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js | OSAuth should be enabled. - Got false, expected true
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - Stack trace:
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js:test_os_auth_enabled_with_checkbox/<:34
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js:test_os_auth_enabled_with_checkbox:22
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:163
[task 2024-05-30T15:51:36.482Z] 15:51:36     INFO - Leaving test bound test_os_auth_enabled_with_checkbox
[task 2024-05-30T15:51:36.483Z] 15:51:36     INFO - Entering test bound test_os_auth_disabled_with_checkbox
INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 22af9a00 == 10 [pid = 8172] [id = 14]
[task 2024-05-30T15:51:36.483Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (1ccbcee0) [pid = 8172] [serial = 39] [outer = 0]
[task 2024-05-30T15:51:36.483Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (23f04500) [pid = 8172] [serial = 40] [outer = 1ccbcee0]
[task 2024-05-30T15:51:36.483Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (25a64a00) [pid = 8172] [serial = 41] [outer = 1ccbcee0]
[task 2024-05-30T15:51:36.713Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 25a33500 == 11 [pid = 8172] [id = 15]
[task 2024-05-30T15:51:36.714Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 26 (26895940) [pid = 8172] [serial = 42] [outer = 0]
[task 2024-05-30T15:51:36.715Z] 15:51:36     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (28a91700) [pid = 8172] [serial = 43] [outer = 26895940]
[task 2024-05-30T15:51:36.839Z] 15:51:36     INFO - GECKO(1912) | [Child 2920: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a0f9000 == 2 [pid = 2920] [id = 8] [url = about:blank]
[task 2024-05-30T15:51:36.841Z] 15:51:36     INFO - GECKO(1912) | [Child 2920: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL a0f9300 == 1 [pid = 2920] [id = 9] [url = about:blank]
[task 2024-05-30T15:51:36.887Z] 15:51:36     INFO - GECKO(1912) | [Child 2920: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (4e90160) [pid = 2920] [serial = 19] [outer = 0] [url = about:blank]
[task 2024-05-30T15:51:36.893Z] 15:51:36     INFO - GECKO(1912) | [Child 2920: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (4e90a60) [pid = 2920] [serial = 21] [outer = 0] [url = about:blank]
[task 2024-05-30T15:51:37.090Z] 15:51:37     INFO - GECKO(1912) | [Parent 8172: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (214a3600) [pid = 8172] [serial = 44] [outer = 26895940]
[task 2024-05-30T15:51:37.168Z] 15:51:37     INFO - GECKO(1912) | console.error: "Failed to open Windows registry" ({})
[task 2024-05-30T15:51:37.309Z] 15:51:37     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:334
[task 2024-05-30T15:51:37.356Z] 15:51:37     INFO - GECKO(1912) | [Parent 8172, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH): file /builds/worker/checkouts/gecko/uriloader/exthandler/win/nsOSHelperAppService.cpp:334
[task 2024-05-30T15:51:37.591Z] 15:51:37     INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_osAuthDialog.js | OSReauth for passwords should be unchecked - false == false - 
```