mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1676671 - [marionette] Remove unused return value from driver::registerBrowser r=marionette-reviewers,maja_zf
Depends on D98780 The existing call sites for registerBrowser do not read the return value: https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#634 https://searchfox.org/mozilla-central/rev/6bb59b783b193f06d6744c5ccaac69a992e9ee7b/testing/marionette/driver.js#3668 and it is currently not documented. Differential Revision: https://phabricator.services.mozilla.com/D98781
This commit is contained in:
parent
7e23a6e87c
commit
b21a958eae
@ -634,8 +634,6 @@ GeckoDriver.prototype.registerBrowser = function(browserElement) {
|
||||
|
||||
const browsingContext = browserElement.browsingContext;
|
||||
this.wins.set(browsingContext.id, browsingContext.currentWindowGlobal);
|
||||
|
||||
return browsingContext.id;
|
||||
};
|
||||
|
||||
GeckoDriver.prototype.registerPromise = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user