Bug 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen
☠☠ backed out by 47e77fc9d699 ☠ ☠
authorJim Chen <nchen@mozilla.com>
Wed, 17 Oct 2018 16:12:30 +0000
changeset 500163 7b5505d44965fd3b0719610c52a827c89a6081db
parent 500162 670b75f8446faa1b7368442f142b685288cc7bb8
child 500164 bc592bed0522e528eb713f24a639be4c299eb715
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1496220
milestone64.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 1496220 - 3. Disable Necko IPC security for test_saveHeapSnapshot_e10s_01; r=fitzgen The use of <iframe mozbrowser> in test_saveHeapSnapshot_e10s_01.html has implicitly depended on the "network.disable.ipc.security" pref set to false, which is the default for desktop and not applicable for Fennec. With the new mobile test harness, this pref needs to be set explicitly by the test. Differential Revision: https://phabricator.services.mozilla.com/D7786
devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html
--- a/devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html
+++ b/devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html
@@ -38,17 +38,18 @@ Bug 1201597 - Sanity test that we can ta
     // Kick everything off on load.
     window.onload = function() {
       info("window.onload fired");
       SpecialPowers.addPermission("browser", true, document);
       SpecialPowers.pushPrefEnv({
          "set": [
              ["dom.ipc.browser_frames.oop_by_default", true],
              ["dom.mozBrowserFramesEnabled", true],
-             ["browser.pagethumbnails.capturing_disabled", true]
+             ["browser.pagethumbnails.capturing_disabled", true],
+             ["network.disable.ipc.security", true],
          ]
       }, function() {
         const iframe = document.createElement("iframe");
         SpecialPowers.wrap(iframe).mozbrowser = true;
         iframe.id = "iframe";
         iframe.src = childFrameURL;
 
         iframe.addEventListener("mozbrowserloadend", function() {