Bug 1446940 followup to fix test breakage.

This commit is contained in:
Boris Zbarsky 2018-08-01 13:44:05 -04:00
parent 268fbf91e8
commit 0d2f1d309b

View File

@ -32,19 +32,15 @@ ok(Services.appShell.hiddenDOMWindow, "hiddenDOMWindow should exist");
ok(Services.appShell.hiddenPrivateWindow, "hiddenPrivateWindow should exist");
ok(Services.appShell.hiddenPrivateDOMWindow, "hiddenPrivateDOMWindow should exist");
ok(!PrivateBrowsingUtils.isWindowPrivate(
Services.appShell
.hiddenWindow
.docShell
.domWindow,
"hiddenWindow should not be private");
ok(
!PrivateBrowsingUtils.isWindowPrivate(
Services.appShell.hiddenWindow.docShell.domWindow),
"hiddenWindow should not be private");
ok(!PrivateBrowsingUtils.isWindowPrivate(Services.appShell.hiddenDOMWindow), "hiddenDOMWindow should not be private");
ok(PrivateBrowsingUtils.isWindowPrivate(
Services.appShell
.hiddenPrivateWindow
.docShell
.domWindow,
"hiddenPrivateWindow should be private");
ok(
PrivateBrowsingUtils.isWindowPrivate(
Services.appShell.hiddenPrivateWindow.docShell.domWindow),
"hiddenPrivateWindow should be private");
ok(PrivateBrowsingUtils.isWindowPrivate(Services.appShell.hiddenPrivateDOMWindow), "hiddenPrivateDOMWindow should be private");
]]>