Bug 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert
authorTanvi Vyas <tanvi@mozilla.com>
Mon, 03 Aug 2015 15:25:24 -0700
changeset 287660 fb5980199e219ff828262be3415994249f1c3753
parent 287659 00613ac2c5aae9f9e50dd63914e6385e3fe156f5
child 287661 fa8755511ac220f1d0960df39276203cf84b05cb
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttaubert
bugs1181683
milestone42.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 1181683 - Update test_anchor_ping.html to disable mixed active content blocking. ping is now considered mixed active so the mixed content pings in this test would get blocked and fail without this change. r=ttaubert
dom/html/test/test_anchor_ping.html
--- a/dom/html/test/test_anchor_ping.html
+++ b/dom/html/test/test_anchor_ping.html
@@ -35,20 +35,22 @@ addLoadEvent(function () {
 });
 
 let tests = [
 
   // Ensure that sending pings is enabled.
   function* setup() {
     Services.prefs.setBoolPref("browser.send_pings", true);
     Services.prefs.setIntPref("browser.send_pings.max_per_link", -1);
+    Services.prefs.setBoolPref("security.mixed_content.block_active_content", false);
 
     SimpleTest.registerCleanupFunction(() => {
       Services.prefs.clearUserPref("browser.send_pings");
       Services.prefs.clearUserPref("browser.send_pings.max_per_link");
+      Services.prefs.clearUserPref("security.mixed_content.block_active_content");
     });
   },
 
   // If both the address of the document containing the hyperlink being audited
   // and ping URL have the same origin then the request must include a Ping-From
   // HTTP header with, as its value, the address of the document containing the
   // hyperlink, and a Ping-To HTTP header with, as its value, the target URL.
   // The request must not include a Referer (sic) HTTP header.