Bug: Intermittent [TV] browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/head.js:66 - TypeError: can't access pr
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-10-03 09:15:18+00:00
Resolved: 2020-10-08 09:56:12+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=317463880&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UpfYTWoaRnWiaQAhAb01Eg/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/UpfYTWoaRnWiaQAhAb01Eg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2020-10-03T06:58:00.287Z] 06:58:00     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Should be blocked by policy - 
[task 2020-10-03T06:58:00.288Z] 06:58:00     INFO - Buffered messages finished
[task 2020-10-03T06:58:00.289Z] 06:58:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/head.js:66 - TypeError: can't access property "spec", newTab.linkedBrowser.documentURI is null
[task 2020-10-03T06:58:00.291Z] 06:58:00     INFO - Stack trace:
[task 2020-10-03T06:58:00.291Z] 06:58:00     INFO - checkBlockedPage@chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/head.js:66:1
[task 2020-10-03T06:58:00.292Z] 06:58:00     INFO - Leaving test bound test_http
[task 2020-10-03T06:58:00.292Z] 06:58:00     INFO - Entering test bound test_http_mixed_case
[task 2020-10-03T06:58:00.293Z] 06:58:00     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2020-10-03T06:58:00.294Z] 06:58:00     INFO - GECKO(1854) | console.log: "_cleanup from onBeforeAddons"
[task 2020-10-03T06:58:00.294Z] 06:58:00     INFO - GECKO(1854) | console.log: "_cleanup from onProfileAfterChange"
[task 2020-10-03T06:58:00.295Z] 06:58:00     INFO - GECKO(1854) | console.log: "_cleanup from onBeforeUIStartup"
[task 2020-10-03T06:58:00.296Z] 06:58:00     INFO - GECKO(1854) | console.log: "_cleanup from onAllWindowsRestored"
[task 2020-10-03T06:58:00.297Z] 06:58:00     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Should be blocked by policy - 
[task 2020-10-03T06:58:00.298Z] 06:58:00     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-10-03T06:58:00.298Z] 06:58:00     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_websitefilter.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/head.js:66 - TypeError: can't access property "spec", newTab.linkedBrowser.documentURI is null
[task 2020-10-03T06:58:00.299Z] 06:58:00     INFO - Stack trace:
[task 2020-10-03T06:58:00.300Z] 06:58:00     INFO - checkBlockedPage@chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/head.js:66:1
[task 2020-10-03T06:58:00.301Z] 06:58:00     INFO - Leaving test bound test_http_mixed_case
[task 2020-10-03T06:58:00.302Z] 06:58:00     INFO - Entering test bound test_file```