Bug 1315905 - "Cleanup Necko http security check" r=me a=test-only
☠☠ backed out by 55b599ca3530 ☠ ☠
authorAndrea Marchesini <amarchesini@mozilla.com>
Thu, 24 Nov 2016 07:01:00 +0100
changeset 352644 faf338a9891a7af3a9c128c634f0a9e958bfb2da
parent 352643 3722df768f32768071ab28c8d0880194cf80551b
child 352645 287a87843f93f402f1bf4292ad4d28be98fe930a
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)
reviewersme, test-only
bugs1315905
milestone52.0a2
Bug 1315905 - "Cleanup Necko http security check" r=me a=test-only
dom/base/test/test_postMessage_originAttributes.html
--- a/dom/base/test/test_postMessage_originAttributes.html
+++ b/dom/base/test/test_postMessage_originAttributes.html
@@ -5,16 +5,22 @@
   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="/tests/SimpleTest/SpawnTask.js"></script>
   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
 </head>
 
 <body>
 <iframe id="target-iframe"></iframe>
 <script type="application/javascript">
+
+add_task(function*() {
+  yield SpecialPowers.pushPrefEnv(
+    { "set": [["network.disable.ipc.security", true]] });
+});
+
 add_task(function*() {
   let iframe = document.querySelector("#target-iframe");
 
   let win = SpecialPowers.wrap(iframe).contentWindow;
   let docShell = win.QueryInterface(SpecialPowers.Ci.nsIInterfaceRequestor)
                     .getInterface(SpecialPowers.Ci.nsIDocShell);
 
   // Add private browsing ID to docShell origin and load document.