Bug: Perma TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has the default value - when Gecko 93 switches to Late Beta on 2021-09-17
Status: VERIFIED
Priority: P1
Resolution: FIXED
Created: 2021-09-03 16:47:20+00:00
Resolved: 2021-09-15 18:48:22+00:00

[Tracking Requested - why for this release]:

[Central-as-beta simulation:](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=2dfd1e14ba5c02d349dd89bd20aea34deb831ba1&selectedTaskRun=BaQ5I3Z7S5elJGtYGQCMyQ.0) 
[How to run these simulations:](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=350446088&repo=try&lineNumber=5953)

```
[task 2021-09-03T15:22:43.669Z] 15:22:43     INFO - TEST-START | browser/components/preferences/tests/browser_contentblocking_categories.js
[task 2021-09-03T15:22:43.747Z] 15:22:43     INFO - TEST-INFO | started process screenshot
[task 2021-09-03T15:22:43.994Z] 15:22:43     INFO - TEST-INFO | screenshot: exit 0
[task 2021-09-03T15:22:43.999Z] 15:22:43     INFO - Buffered messages logged at 15:22:43
[task 2021-09-03T15:22:44.000Z] 15:22:44     INFO - Entering test bound testContentBlockingStandardDefinition
[task 2021-09-03T15:22:44.000Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | browser.contentblocking.category starts on standard - 
[task 2021-09-03T15:22:44.001Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.enabled pref has the default value - 
[task 2021-09-03T15:22:44.002Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.pbmode.enabled pref has the default value - 
[task 2021-09-03T15:22:44.003Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.fingerprinting.enabled pref has the default value - 
[task 2021-09-03T15:22:44.003Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has the default value - 
[task 2021-09-03T15:22:44.004Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.socialtracking.enabled pref has the default value - 
[task 2021-09-03T15:22:44.005Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior pref has the default value - 
[task 2021-09-03T15:22:44.005Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior.pbmode pref has the default value - 
[task 2021-09-03T15:22:44.006Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.annotate_channels.strict_list.enabled pref has the default value - 
[task 2021-09-03T15:22:44.006Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has the default value - 
[task 2021-09-03T15:22:44.007Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.enabled pref has the default value - 
[task 2021-09-03T15:22:44.008Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.pbmode.enabled pref has the default value - 
[task 2021-09-03T15:22:44.008Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.fingerprinting.enabled pref has the default value - 
[task 2021-09-03T15:22:44.009Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has the default value - 
[task 2021-09-03T15:22:44.009Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.socialtracking.enabled pref has the default value - 
[task 2021-09-03T15:22:44.010Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior pref has the default value - 
[task 2021-09-03T15:22:44.011Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior.pbmode pref has the default value - 
[task 2021-09-03T15:22:44.011Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.annotate_channels.strict_list.enabled pref has the default value - 
[task 2021-09-03T15:22:44.012Z] 15:22:44     INFO - Buffered messages finished
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has the default value - 
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - Stack trace:
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochikit/content/browser-test.js:test_ok:1336
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochitests/content/browser/browser/components/preferences/tests/browser_contentblocking_categories.js:testContentBlockingStandardDefinition:145
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1091
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1131
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:939
[task 2021-09-03T15:22:44.014Z] 15:22:44     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1041
[task 2021-09-03T15:22:44.015Z] 15:22:44     INFO - Leaving test bound testContentBlockingStandardDefinition
[task 2021-09-03T15:22:44.015Z] 15:22:44     INFO - Entering test bound testContentBlockingStrictDefinition
[task 2021-09-03T15:22:44.016Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | browser.contentblocking.category has changed to strict - 
[task 2021-09-03T15:22:44.017Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | We changed the default value of browser.contentblocking.features.strict - 
[task 2021-09-03T15:22:44.017Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | browser.contentblocking.features.strict changed to what we set. - 
[task 2021-09-03T15:22:44.018Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.018Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.pbmode.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.019Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.020Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.020Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.socialtracking.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.021Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior has been set to BEHAVIOR_ACCEPT - 
[task 2021-09-03T15:22:44.021Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior.pbmode has been set to BEHAVIOR_ACCEPT - 
[task 2021-09-03T15:22:44.022Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.annotate_channels.strict_list.enabled pref has been set to true - 
[task 2021-09-03T15:22:44.022Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has been set to true - 
[task 2021-09-03T15:22:44.023Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.enabled pref has the default value - 
[task 2021-09-03T15:22:44.023Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.pbmode.enabled pref has the default value - 
[task 2021-09-03T15:22:44.024Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.fingerprinting.enabled pref has the default value - 
[task 2021-09-03T15:22:44.024Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has the default value - 
[task 2021-09-03T15:22:44.025Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.socialtracking.enabled pref has the default value - 
[task 2021-09-03T15:22:44.026Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior pref has the default value - 
[task 2021-09-03T15:22:44.027Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior.pbmode pref has the default value - 
[task 2021-09-03T15:22:44.027Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.annotate_channels.strict_list.enabled pref has the default value - 
[task 2021-09-03T15:22:44.028Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has the default value - 
[task 2021-09-03T15:22:44.029Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.029Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.pbmode.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.030Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.fingerprinting.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.030Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.cryptomining.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.031Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.trackingprotection.socialtracking.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.031Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior has been set to BEHAVIOR_REJECT_TRACKER - 
[task 2021-09-03T15:22:44.032Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.cookie.cookieBehavior.pbmode has been set to BEHAVIOR_REJECT - 
[task 2021-09-03T15:22:44.032Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | privacy.annotate_channels.strict_list.enabled pref has been set to false - 
[task 2021-09-03T15:22:44.033Z] 15:22:44     INFO - TEST-PASS | browser/components/preferences/tests/browser_contentblocking_categories.js | network.http.referer.disallowCrossSiteRelaxingDefault pref has been set to false - 
[task 2021-09-03T15:22:44.033Z] 15:22:44     INFO - Leaving test bound testContentBlockingStrictDefinition
[task 2021-09-03T15:22:44.034Z] 15:22:44     INFO - Console message: [JavaScript Error: "Error: Unknown rule observed " {file: "resource:///modules/BrowserGlue.jsm" line: 4478}]
[task 2021-09-03T15:22:44.034Z] 15:22:44     INFO - setPrefExpectations@resource:///modules/BrowserGlue.jsm:4478:14
[task 2021-09-03T15:22:44.034Z] 15:22:44     INFO - _setPrefExpectationsAndUpdate@resource:///modules/BrowserGlue.jsm:1797:36
[task 2021-09-03T15:22:44.035Z] 15:22:44     INFO - testContentBlockingStrictDefinition@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_contentblocking_categories.js:238:12
[task 2021-09-03T15:22:44.035Z] 15:22:44     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-09-03T15:22:44.035Z] 15:22:44     INFO - 
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - Console message: [JavaScript Error: "Error: Unknown rule observed " {file: "resource:///modules/BrowserGlue.jsm" line: 4478}]
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - setPrefExpectations@resource:///modules/BrowserGlue.jsm:4478:14
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - _setPrefExpectations@resource:///modules/BrowserGlue.jsm:1793:36
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - setPrefsToCategory@resource:///modules/BrowserGlue.jsm:4564:26
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - updateCBCategory@resource:///modules/BrowserGlue.jsm:4552:10
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - _setPrefExpectationsAndUpdate@resource:///modules/BrowserGlue.jsm:1798:36
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - testContentBlockingStrictDefinition@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_contentblocking_categories.js:238:12
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-09-03T15:22:44.036Z] 15:22:44     INFO - 
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - Console message: [JavaScript Error: "Error: Unknown rule observed " {file: "resource:///modules/BrowserGlue.jsm" line: 4478}]
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - setPrefExpectations@resource:///modules/BrowserGlue.jsm:4478:14
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - _setPrefExpectations@resource:///modules/BrowserGlue.jsm:1793:36
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - setPrefsToCategory@resource:///modules/BrowserGlue.jsm:4564:26
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - updateCBCategory@resource:///modules/BrowserGlue.jsm:4552:10
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - _setPrefExpectationsAndUpdate@resource:///modules/BrowserGlue.jsm:1798:36
[task 2021-09-03T15:22:44.037Z] 15:22:44     INFO - testContentBlockingStrictDefinition@chrome://mochitests/content/browser/browser/components/preferences/tests/browser_contentblocking_categories.js:238:12
[task 2021-09-03T15:22:44.038Z] 15:22:44     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1091:34
[task 2021-09-03T15:22:44.038Z] 15:22:44     INFO - 
[task 2021-09-03T15:22:44.038Z] 15:22:44     INFO - GECKO(2092) | MEMORY STAT | vsize 19406338MB | vsizeMaxContiguous 65928755MB | residentFast 1484MB
[task 2021-09-03T15:22:44.038Z] 15:22:44     INFO - TEST-OK | browser/components/preferences/tests/browser_contentblocking_categories.js | took 290ms
[task 2021-09-03T15:22:44.039Z] 15:22:44     INFO - checking window state
[task 2021-09-03T15:22:44.039Z] 15:22:44     INFO - TEST-START | browser/components/preferences/tests/browser_cookie_exceptions_addRemove.js
```