Bug: Intermittent [TV] browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Search section should be there. - null != null - got null, expected null (operator !=)
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2022-09-26 16:23:44+00:00
Resolved: 2023-08-08 17:04:31+00:00

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

---
```
INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Engine is inactive at the start of the test - 
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Leaving setup bound policies_headjs_startWithCleanSlate
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Entering setup bound 
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Leaving setup bound 
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Entering test bound test_firefox_home_without_policy_without_pocket
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Buffered messages logged at 15:17:29
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Global property added while loading chrome://browser/content/places/browserPlacesViews.js: PlacesViewBase
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Buffered messages finished
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Search section should be there. - null != null - got null, expected null (operator !=)
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - Stack trace:
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - isnot@resource://specialpowers/SpecialPowersSandbox.jsm:94:21
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - @chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js:24:10
[task 2022-09-26T15:17:30.921Z] 15:17:30     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:142:12
[task 2022-09-26T15:17:30.922Z] 15:17:30     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1638:15
[task 2022-09-26T15:17:30.922Z] 15:17:30     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:296:21
[task 2022-09-26T15:17:30.922Z] 15:17:30     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-26T15:17:30.925Z] 15:17:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Top Sites section should be there. - null != null - got null, expected null (operator !=)
[task 2022-09-26T15:17:30.926Z] 15:17:30     INFO - Stack trace:
[task 2022-09-26T15:17:30.927Z] 15:17:30     INFO - isnot@resource://specialpowers/SpecialPowersSandbox.jsm:94:21
[task 2022-09-26T15:17:30.928Z] 15:17:30     INFO - @chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js:28:10
[task 2022-09-26T15:17:30.928Z] 15:17:30     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:142:12
[task 2022-09-26T15:17:30.930Z] 15:17:30     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1638:15
[task 2022-09-26T15:17:30.931Z] 15:17:30     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:296:21
[task 2022-09-26T15:17:30.932Z] 15:17:30     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-09-26T15:17:30.934Z] 15:17:30     INFO - TEST-UNEXPECTED-FAIL | browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Highlights section should be there. - null != null - got null, expected null (operator !=)
[task 2022-09-26T15:17:30.934Z] 15:17:30     INFO - Stack trace:
[task 2022-09-26T15:17:30.935Z] 15:17:30     INFO - isnot@resource://specialpowers/SpecialPowersSandbox.jsm:94:21
[task 2022-09-26T15:17:30.936Z] 15:17:30     INFO - @chrome://mochitests/content/browser/browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js:32:10
[task 2022-09-26T15:17:30.936Z] 15:17:30     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:142:12
[task 2022-09-26T15:17:30.937Z] 15:17:30     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1638:15
[task 2022-09-26T15:17:30.937Z] 15:17:30     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:296:21
[task 2022-09-26T15:17:30.939Z] 15:17:30     INFO - GECKO(2459) | JavaScript error: resource:///actors/ContentSearchParent.sys.mjs, line 669: TypeError: can't access property "addEventListener", browser is null
[task 2022-09-26T15:17:30.940Z] 15:17:30     INFO - GECKO(2459) | JavaScript error: resource:///actors/ContentSearchParent.sys.mjs, line 669: TypeError: can't access property "addEventListener", browser is null
[task 2022-09-26T15:17:30.942Z] 15:17:30     INFO - Leaving test bound test_firefox_home_without_policy_without_pocket
[task 2022-09-26T15:17:30.943Z] 15:17:30     INFO - Entering test bound test_firefox_home_with_policy
[task 2022-09-26T15:17:30.947Z] 15:17:30     INFO - TEST-PASS | browser/components/enterprisepolicies/tests/browser/browser_policy_firefoxhome.js | Sanity check the temporary file doesn't exist. - true == true -
```