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 352430 401aa89aeb11b0cb29419438bfc4d27061c3c3e7
parent 352429 d32b3458265589c2e9bc2f9413b5a3256a6f9ea3
child 352431 6ed5d0a9618dc27a84dcc1789651a943f712ed28
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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");