Bug 1317115 turn off HSTS priming to suppress perma-orange a=test-only draft
authorKate McKinley <kmckinley@mozilla.com>
Tue, 15 Nov 2016 10:52:45 +0900
changeset 438838 33a7366924ce5b171e9640ef890313e79a691d42
parent 438279 bc799ca467cbd9492527b91aca5833e4623a646b
child 537005 c131ca2b60265fcb9709fb2b8cace58c750b287a
push id35831
push userbmo:kmckinley@mozilla.com
push dateTue, 15 Nov 2016 04:50:11 +0000
reviewerstest-only
bugs1317115
milestone52.0a1
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");