mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1446940 followup to fix test breakage.
This commit is contained in:
parent
268fbf91e8
commit
0d2f1d309b
@ -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");
|
||||
|
||||
]]>
|
||||
|
Loading…
Reference in New Issue
Block a user