Bug: Intermittent browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed content url - "normal" == "url(\"chrome://browser/content/browser.xul\")" - got "normal", expected "url(\"chrome://browser/content/browser.x
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-11-17 20:52:30+00:00
Resolved: 2022-07-25 23:18:32+00:00

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

---
```
 INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_styles.js | filtered out invalid background image url - "none" == "none" - 
[task 2021-11-17T18:41:54.144Z] 18:41:54     INFO - Buffered messages finished
[task 2021-11-17T18:41:54.146Z] 18:41:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed content url - "normal" == "url(\"chrome://browser/content/browser.xul\")" - got "normal", expected "url(\"chrome://browser/content/browser.xul\")" (operator ==)
[task 2021-11-17T18:41:54.146Z] 18:41:54     INFO - Stack trace:
[task 2021-11-17T18:41:54.146Z] 18:41:54     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-11-17T18:41:54.146Z] 18:41:54     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:119:7
[task 2021-11-17T18:41:54.146Z] 18:41:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-11-17T18:41:54.147Z] 18:41:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed cursor url - "auto" == "url(\"resource://activity-stream/cursor\"), auto" - got "auto", expected "url(\"resource://activity-stream/cursor\"), auto" (operator ==)
[task 2021-11-17T18:41:54.148Z] 18:41:54     INFO - Stack trace:
[task 2021-11-17T18:41:54.148Z] 18:41:54     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-11-17T18:41:54.148Z] 18:41:54     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:124:7
[task 2021-11-17T18:41:54.148Z] 18:41:54     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-11-17T18:41:54.149Z] 18:41:54     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_discovery_styles.js | applied, normalized and allowed list style image url - "none" == "url(\"https://img-getpocket.cdn.mozilla.net/list\")" - got "none", expected "url(\"https://img-getpocket.cdn.mozilla.net/list\")" (operator ==)
[task 2021-11-17T18:41:54.149Z] 18:41:54     INFO - Stack trace:
[task 2021-11-17T18:41:54.149Z] 18:41:54     INFO - is@resource://specialpowers/SpecialPowersSandbox.jsm:90:21
[task 2021-11-17T18:41:54.149Z] 18:41:54     INFO - test_url_filtering@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_discovery_styles.js:129:7
[task 2021-11-17T18:41:54.150Z] 18:41:54     INFO - Leaving test bound test_url_filtering
[task 2021-11-17T18:41:54.150Z] 18:41:54     INFO - Entering test bound test_atrule_filtering
[task 2021-11-17T18:41:54.151Z] 18:41:54     INFO - GECKO(9264) | [Child 6032, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:7057
[task 2021-11-17T18:41:54.151Z] 18:41:54     INFO - GECKO(9264) | [Child 6032, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:7057
[task 2021-11-17T18:41:54.152Z] 18:41:54     INFO - GECKO(9264) | [Child 6032: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL f81e400 == 6 [pid = 6032] [id = 54]
[task 2021-11-17T18:41:54.152Z] 18:41:54     INFO - GECKO(9264) | [Child 6032: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 29 (1517b500) [pid = 6032] [serial = 165] [outer = 0]
[task 2021-11-17T18:41:54.153Z] 18:41:54     INFO - GECKO(9264) | [Child 6032: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (123b0200) [pid = 6032] [serial = 166] [outer = 1517b500]
[task 2021-11-17T18:41:54.153Z] 18:41:54     INFO - GECKO(9264) | [Child 6032: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (15ab0f00) [pid = 6032] [serial = 167] [outer = 1517b500]
[task 2021-11-17T18:41:54.261Z] 18:41:54     INFO - GECKO(9264) | [Parent 7556, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2128
[task 2021-11-17T18:41:54.764Z] 18:41:54     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_discovery_styles.js | filtered out attempted @media query - "normal" == "normal" -
```