Bug 1602915 - Remove nsIBrowserDOMWindow.isTabContentWindow. r=mossop,marionette-reviewers,whimboo

This only works for non-e10s and it also seems superseded by the
mPendingClose as per the comment.

Differential Revision: https://phabricator.services.mozilla.com/D92003
This commit is contained in:
Emilio Cobos Álvarez
2020-10-13 16:58:37 +00:00
parent 1f795c78eb
commit aa39e68d1f
6 changed files with 5 additions and 64 deletions

View File

@@ -6359,10 +6359,6 @@ nsBrowserAccess.prototype = {
);
},
isTabContentWindow(aWindow) {
return gBrowser.browsers.some(browser => browser.contentWindow == aWindow);
},
canClose() {
return CanCloseWindow();
},