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
--- 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);
};