Bug: Intermittent browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-05-08 10:39:07+00:00
Resolved: 2023-07-26 12:00:50+00:00

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

---
```
[task 2023-05-08T09:47:56.474Z] 09:47:56     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js | Triggering main action - true == true - 
[task 2023-05-08T09:47:56.474Z] 09:47:56     INFO - Console message: PopupNotifications._onButtonEvent: Button click happened before the security delay: -51.994400000003225ms
[task 2023-05-08T09:47:56.474Z] 09:47:56     INFO - Buffered messages finished
[task 2023-05-08T09:47:56.474Z] 09:47:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js | Uncaught exception in test bound test_policy_masterpassword_doorhanger - wait for open to get called asynchronously - timed out after 50 tries.
[task 2023-05-08T09:47:56.474Z] 09:47:56     INFO - Leaving test bound test_policy_masterpassword_doorhanger
[task 2023-05-08T09:47:56.481Z] 09:47:56     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeAddons"
[task 2023-05-08T09:47:56.481Z] 09:47:56     INFO - GECKO(5028) | console.log: "_cleanup from onProfileAfterChange"
[task 2023-05-08T09:47:56.481Z] 09:47:56     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeUIStartup"
[task 2023-05-08T09:47:56.481Z] 09:47:56     INFO - GECKO(5028) | console.log: "_cleanup from onAllWindowsRestored"
[task 2023-05-08T09:47:56.481Z] 09:47:56     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js | Engine is inactive at the end of the test - 
[task 2023-05-08T09:47:56.786Z] 09:47:56     INFO - GECKO(5028) | MEMORY STAT | vsize 1358MB | vsizeMaxContiguous 131MB | residentFast 464MB | heapAllocated 386MB
[task 2023-05-08T09:47:56.786Z] 09:47:56     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js | took 6823ms
[task 2023-05-08T09:47:56.810Z] 09:47:56     INFO - checking window state
[task 2023-05-08T09:47:56.841Z] 09:47:56     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_offertosavelogins.js
[task 2023-05-08T09:47:57.567Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeAddons"
[task 2023-05-08T09:47:57.567Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onProfileAfterChange"
[task 2023-05-08T09:47:57.567Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeUIStartup"
[task 2023-05-08T09:47:57.567Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onAllWindowsRestored"
[task 2023-05-08T09:47:57.817Z] 09:47:57     INFO - GECKO(5028) | MEMORY STAT | vsize 1349MB | vsizeMaxContiguous 131MB | residentFast 440MB | heapAllocated 358MB
[task 2023-05-08T09:47:57.817Z] 09:47:57     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_offertosavelogins.js | took 977ms
[task 2023-05-08T09:47:57.833Z] 09:47:57     INFO - checking window state
[task 2023-05-08T09:47:57.864Z] 09:47:57     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_override_postupdatepage.js
[task 2023-05-08T09:47:57.880Z] 09:47:57     INFO - GECKO(5028) | console.error: "formatURL: Couldn't find value for key: " "OLD_VERSION"
[task 2023-05-08T09:47:57.911Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeAddons"
[task 2023-05-08T09:47:57.911Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onProfileAfterChange"
[task 2023-05-08T09:47:57.911Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeUIStartup"
[task 2023-05-08T09:47:57.911Z] 09:47:57     INFO - GECKO(5028) | console.log: "_cleanup from onAllWindowsRestored"
[task 2023-05-08T09:47:58.145Z] 09:47:58     INFO - GECKO(5028) | MEMORY STAT | vsize 1349MB | vsizeMaxContiguous 131MB | residentFast 441MB | heapAllocated 359MB
[task 2023-05-08T09:47:58.145Z] 09:47:58     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_override_postupdatepage.js | took 280ms
[task 2023-05-08T09:47:58.161Z] 09:47:58     INFO - checking window state
[task 2023-05-08T09:47:58.200Z] 09:47:58     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - Buffered messages logged at 09:47:58
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - Entering setup bound policies_headjs_startWithCleanSlate
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js | Engine is inactive at the start of the test - 
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - Leaving setup bound policies_headjs_startWithCleanSlate
[task 2023-05-08T09:47:58.561Z] 09:47:58     INFO - Entering test bound test_pageinfo_permissions
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/" line: 0}]
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - Buffered messages finished
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js | Uncaught exception in test bound test_pageinfo_permissions - at chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js:58 - TypeError: aCallback is not a function
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - Stack trace:
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - test_policy_masterpassword_doorhanger/</window.openDialog@chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_masterpassword_doorhanger.js:58:11
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - BrowserPageInfo@chrome://browser/content/browser.js:3206:10
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - test_pageinfo_permissions/<@chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js:62:35
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - withNewTab@resource://testing-common/BrowserTestUtils.sys.mjs:150:22
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - async*test_pageinfo_permissions@chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js:61:26
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1133:26
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1205:18
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1347:14
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1122:14
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13
[task 2023-05-08T09:47:58.569Z] 09:47:58     INFO - Leaving test bound test_pageinfo_permissions
[task 2023-05-08T09:47:58.593Z] 09:47:58     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeAddons"
[task 2023-05-08T09:47:58.624Z] 09:47:58     INFO - GECKO(5028) | console.log: "_cleanup from onProfileAfterChange"
[task 2023-05-08T09:47:58.624Z] 09:47:58     INFO - GECKO(5028) | console.log: "_cleanup from onBeforeUIStartup"
[task 2023-05-08T09:47:58.624Z] 09:47:58     INFO - GECKO(5028) | console.log: "_cleanup from onAllWindowsRestored"
[task 2023-05-08T09:47:58.624Z] 09:47:58     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js | Engine is inactive at the end of the test - 
[task 2023-05-08T09:47:58.866Z] 09:47:58     INFO - GECKO(5028) | MEMORY STAT | vsize 1349MB | vsizeMaxContiguous 131MB | residentFast 441MB | heapAllocated 359MB
[task 2023-05-08T09:47:58.866Z] 09:47:58     INFO - TEST-OK | browser/components/enterprisepolicies/tests/browser/browser_policy_pageinfo_permissions.js | took 662ms
[task 2023-05-08T09:47:58.882Z] 09:47:58     INFO - checking window state
[task 2023-05-08T09:47:58.936Z] 09:47:58     INFO - TEST-START | browser/components/enterprisepolicies/tests/browser/browser_policy_passwordmanager.js
```