зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1246411 - Remove unreachable break statements; r=automatedtester
MozReview-Commit-ID: 7l0OEwIKoHS --HG-- extra : rebase_source : bc92122f864c04c300cd7df89a5e6c1677f7c9e4
This commit is contained in:
Родитель
2d1370817c
Коммит
6d10dd54f8
|
@ -716,6 +716,7 @@ GeckoDriver.prototype.setUpProxy = function(proxy) {
|
||||||
case "NOPROXY":
|
case "NOPROXY":
|
||||||
default:
|
default:
|
||||||
Preferences.set("network.proxy.type", 0);
|
Preferences.set("network.proxy.type", 0);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new InvalidArgumentError("Value of 'proxy' should be an object");
|
throw new InvalidArgumentError("Value of 'proxy' should be an object");
|
||||||
|
@ -2629,7 +2630,6 @@ GeckoDriver.prototype.takeScreenshot = function(cmd, resp) {
|
||||||
|
|
||||||
case Context.CONTENT:
|
case Context.CONTENT:
|
||||||
return this.listener.takeScreenshot(id, full, highlights);
|
return this.listener.takeScreenshot(id, full, highlights);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче