Bug: Intermittent browser/extensions/doh-rollout/test/browser/browser_policyOverride.js | Uncaught exception - at mochitests/content/browser/browser/extensions/doh-rollout/test/browser/head.js:73 - TypeError: can't access property "filter", events is undefined
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-01-17 22:36:28+00:00
Resolved: 2020-01-20 06:38:59+00:00

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

---

[task 2020-01-17T17:44:06.914Z] 17:44:06     INFO - TEST-PASS | browser/extensions/doh-rollout/test/browser/browser_policyOverride.js | No change in TRR mode - 
[task 2020-01-17T17:44:06.914Z] 17:44:06     INFO - Buffered messages finished
[task 2020-01-17T17:44:06.914Z] 17:44:06     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/doh-rollout/test/browser/browser_policyOverride.js | Uncaught exception - at chrome://mochitests/content/browser/browser/extensions/doh-rollout/test/browser/head.js:73 - TypeError: can't access property "filter", events is undefined
[task 2020-01-17T17:44:06.914Z] 17:44:06     INFO - Stack trace:
[task 2020-01-17T17:44:06.914Z] 17:44:06     INFO - checkHeuristicsTelemetry@chrome://mochitests/content/browser/browser/extensions/doh-rollout/test/browser/head.js:73:3
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - testPolicyOverride@chrome://mochitests/content/browser/browser/extensions/doh-rollout/test/browser/browser_policyOverride.js:51:27
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:808:67
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - Leaving test bound testPolicyOverride
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: destroy :: line 1374"  data: no]"]
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - destroy@chrome://global/content/elements/browser-custom-element.js:1374:28
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - disconnectedCallback@chrome://global/content/elements/browser-custom-element.js:408:12
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - _releaseBrowser@resource://gre/modules/ExtensionParent.jsm:1436:18
[task 2020-01-17T17:44:06.915Z] 17:44:06     INFO - shutdown@resource://gre/modules/ExtensionParent.jsm:1431:12
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - shutdown@chrome://extensions/content/parent/ext-backgroundPage.js:99:11
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - onShutdown@chrome://extensions/content/parent/ext-backgroundPage.js:165:19
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - ExtensionAPI/<@resource://gre/modules/ExtensionCommon.jsm:356:14
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - wrapper@resource://gre/modules/ExtensionCommon.jsm:300:14
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - emit@resource://gre/modules/ExtensionCommon.jsm:327:32
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - emit@resource://gre/modules/Extension.jsm:1815:25
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - shutdown@resource://gre/modules/Extension.jsm:2464:10
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - shutdown@resource://gre/modules/Extension.jsm:1561:39
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - callBootstrapMethod@resource://gre/modules/addons/XPIProvider.jsm:1790:33
[task 2020-01-17T17:44:06.916Z] 17:44:06     INFO - _shutdown@resource://gre/modules/addons/XPIProvider.jsm:1919:17
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - async*shutdown@resource://gre/modules/addons/XPIProvider.jsm:1912:33
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - disable@resource://gre/modules/addons/XPIProvider.jsm:1933:18
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - updateAddonDisabledState@resource://gre/modules/addons/XPIDatabase.jsm:2572:25
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - setUserDisabled@resource://gre/modules/addons/XPIDatabase.jsm:623:25
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - disable@resource://gre/modules/addons/XPIDatabase.jsm:1136:27
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - resetPrefsAndRestartAddon@chrome://mochitests/content/browser/browser/extensions/doh-rollout/test/browser/head.js:119:15
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - async*setup/<@chrome://mochitests/content/browser/browser/extensions/doh-rollout/test/browser/head.js:65:11
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - nextTest@chrome://mochikit/content/browser-test.js:570:35
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1457:25
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - run@chrome://mochikit/content/browser-test.js:1372:9
[task 2020-01-17T17:44:06.917Z] 17:44:06     INFO - 
[task 2020-01-17T17:44:06.932Z] 17:44:06     INFO - GECKO(3112) | MEMORY STAT | vsize 744MB | vsizeMaxContiguous 430MB | residentFast 204MB | heapAllocated 82MB
[task 2020-01-17T17:44:06.932Z] 17:44:06     INFO - TEST-OK | browser/extensions/doh-rollout/test/browser/browser_policyOverride.js | took 15655ms
[task 2020-01-17T17:44:06.947Z] 17:44:06     INFO - checking window state