Bug 1317115 turn off HSTS priming to suppress perma-orange a=test-only
authorKate McKinley <kmckinley@mozilla.com>
Tue, 15 Nov 2016 10:52:45 +0900
changeset 440006 401aa89aeb11b0cb29419438bfc4d27061c3c3e7
parent 440005 d32b3458265589c2e9bc2f9413b5a3256a6f9ea3
child 440007 6ed5d0a9618dc27a84dcc1789651a943f712ed28
push id36143
push userjkingston@mozilla.com
push dateWed, 16 Nov 2016 22:20:38 +0000
reviewerstest-only
bugs1317115
milestone52.0a2
Bug 1317115 turn off HSTS priming to suppress perma-orange a=test-only MozReview-Commit-ID: I1bNquP4yT7
dom/security/test/csp/test_referrerdirective.html
--- a/dom/security/test/csp/test_referrerdirective.html
+++ b/dom/security/test/csp/test_referrerdirective.html
@@ -110,17 +110,20 @@ var referrerDirectiveTests = {
     SimpleTest.finish();
   }
 };
 
 SimpleTest.waitForExplicitFinish();
 // have to disable mixed content blocking to test https->http referrers.
 SpecialPowers.pushPrefEnv({
     'set': [['security.mixed_content.block_active_content',   false],
-            ['security.mixed_content.block_display_content',  false]]
+            ['security.mixed_content.block_display_content',  false],
+            ['security.mixed_content.send_hsts_priming',  false],
+            ['security.mixed_content.use_hsts',  false],
+    ]
     },
     function() {
       // each of the iframes we create will call us back when its contents are loaded.
       window.addEventListener("message", referrerDirectiveTests.onIframeComplete.bind(window), false);
 
       // one iframe created for each test case
       for (var id in testData) {
         var elt = document.createElement("iframe");