Backed out changeset d9793b0ed9dc (bug 1349859) for browser_blobFromFile.js permafail.
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 29 Mar 2017 13:21:21 -0400
changeset 395520 26cd6703fbe46811774f5c41248d7a993d59c951
parent 395519 afcd6f6f55c34d727af335b38b85d5bd911ac202
child 395521 27057064e224a8e69de0de4cedca78d25b5ec9a1
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1349859
milestone54.0a2
backs outd9793b0ed9dc53a4720fc5d2815b485b69ab9b07
Backed out changeset d9793b0ed9dc (bug 1349859) for browser_blobFromFile.js permafail.
testing/marionette/client/marionette_driver/geckoinstance.py
testing/marionette/driver.js
--- a/testing/marionette/client/marionette_driver/geckoinstance.py
+++ b/testing/marionette/client/marionette_driver/geckoinstance.py
@@ -96,19 +96,16 @@ class GeckoInstance(object):
         # influenced by the presence of the persistent doorhanger notification
         "signon.rememberSignons": False,
 
         # Prevent starting into safe mode after application crashes
         "toolkit.startup.max_resumed_crashes": -1,
 
         # We want to collect telemetry, but we don't want to send in the results
         "toolkit.telemetry.server": "https://%(server)s/dummy/telemetry/",
-
-        # Enabling the support for File object creation in the content process.
-        "dom.file.createInChild": True,
     }
 
     def __init__(self, host=None, port=None, bin=None, profile=None, addons=None,
                  app_args=None, symbols_path=None, gecko_log=None, prefs=None,
                  workspace=None, verbose=0):
         self.runner_class = Runner
         self.app_args = app_args or []
         self.runner = None
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -439,16 +439,18 @@ GeckoDriver.prototype.whenBrowserStarted
     }
 
     if (!Preferences.get(CONTENT_LISTENER_PREF) || !isNewSession) {
       // load listener into the remote frame
       // and any applicable new frames
       // opened after this call
       mm.loadFrameScript(FRAME_SCRIPT, true);
       Preferences.set(CONTENT_LISTENER_PREF, true);
+
+      Preferences.set("dom.file.createInChild", true);
     }
   } else {
     logger.error(
         `Could not load listener into content for page ${win.location.href}`);
   }
 };
 
 /**