Bug 965308: Remove b2g capability returned on startup r?ato draft
authorDavid Burns <dburns@mozilla.com>
Fri, 06 May 2016 00:02:04 +0100
changeset 363993 d0219f1e67841cedfa813715e403cf4711747d5b
parent 363992 984b9c1f5c1552bda0dd8fc77a568496c431a07c
child 520183 16821f95dc99abbd5460363759cc3c86f71637bc
push id17356
push userdburns@mozilla.com
push dateThu, 05 May 2016 23:03:25 +0000
reviewersato
bugs965308
milestone49.0a1
Bug 965308: Remove b2g capability returned on startup r?ato This removes a hack that was left behind so to not break eideticker and mochitests on b2g. MozReview-Commit-ID: 3n02qaAIPyp
testing/marionette/driver.js
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -3079,23 +3079,16 @@ BrowserObj.prototype.setBrowser = functi
   switch (this.driver.appName) {
     case "Firefox":
       this.browser = win.gBrowser;
       break;
 
     case "Fennec":
       this.browser = win.BrowserApp;
       break;
-
-    case "B2G":
-      // eideticker (bug 965297) and mochitest (bug 965304)
-      // compatibility.  They only check for the presence of this
-      // property and should not be in caps if not on a B2G device.
-      this.driver.sessionCapabilities.b2g = true;
-      break;
   }
 };
 
 /** Called when we start a session with this browser. */
 BrowserObj.prototype.startSession = function(newSession, win, callback) {
   callback(win, newSession);
 };