Bug 1305622 - turn off hsts, mixed_content block to suspress intermittent on try. r=franziskus
☠☠ backed out by f179934df0c1 ☠ ☠
authorThomas Nguyen <tnguyen@mozilla.com>
Wed, 21 Dec 2016 17:01:56 +0800
changeset 374065 c4ae65fa000ae230b11bc8dc757c51071613dab1
parent 374064 9589c4a6677c5ac09bfc9be809665e74c5a5c084
child 374066 680af1b6873e6dec1a927805b82db0c9e83eb64c
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfranziskus
bugs1305622
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1305622 - turn off hsts, mixed_content block to suspress intermittent on try. r=franziskus MozReview-Commit-ID: FkJZ4TLJVlE
dom/base/test/test_bug704320.html
--- a/dom/base/test/test_bug704320.html
+++ b/dom/base/test/test_bug704320.html
@@ -38,16 +38,19 @@ SimpleTest.waitForExplicitFinish();
 var advance = function() { tests.next(); };
 
 /**
  * This is the main test routine -- serialized by use of a generator.
  * It performs all tests in sequence using in the same iframe.
  */
 var tests = (function*() {
   SimpleTest.requestLongerTimeout(4);
+  yield SpecialPowers.pushPrefEnv({"set": [['security.mixed_content.block_active_content', false]]}, advance);
+  yield SpecialPowers.pushPrefEnv({"set": [['security.mixed_content.send_hsts_priming', false]]}, advance);
+  yield SpecialPowers.pushPrefEnv({"set": [['security.mixed_content.use_hsts', false]]}, advance);
   var iframe = document.getElementById("testframe");
   iframe.onload = function() {
      advance();
   }
 
   // load the test frame from testIframeUrls[url]
   // it will call back into this function via postMessage when it finishes loading.
   // and continue beyond the yield.