fx128: Remove uses of nsIDOMChromeWindow

https://bugzilla.mozilla.org/show_bug.cgi?id=1522052
This commit is contained in:
Dan Stillman 2024-12-03 05:09:55 -05:00
parent 9606fca3ad
commit 45e681431b
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@
// otherwise, fall back to opening the anchor directly
var win = window;
if (window instanceof Components.interfaces.nsIDOMChromeWindow) {
if (win.isChromeWindow) {
while (win.opener && !win.opener.closed)
win = win.opener;
}

View file

@ -3020,7 +3020,7 @@ var ZoteroPane = new function()
}
// Restore window if it's in the dock
if (window.windowState == Components.interfaces.nsIDOMChromeWindow.STATE_MINIMIZED) {
if (window.windowState == window.STATE_MINIMIZED) {
window.restore();
}