Skip to content

Commit b54aa3a

Browse files
committed
Bug 1489301 - Part 3: Fix test expecting interfaces not exposed on System, r=bzbarsky
The `Window` interface is now exposed on system globals, so the check is now invalid. Differential Revision: https://phabricator.services.mozilla.com/D9403
1 parent 0f68724 commit b54aa3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dom/base/test/chrome/file_bug1139964.xul

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1139964
3232
ppm.removeMessageListener(msgName, processListener);
3333
ok(m.data.hasPromise, "ProcessGlobal should have Promise object in the global scope!");
3434
ok(m.data.hasTextEncoder, "ProcessGlobal should have TextEncoder object in the global scope!");
35-
ok(!m.data.hasWindow, "ProcessGlobal should not have Window object in the global scope!");
35+
ok(m.data.hasWindow, "ProcessGlobal should have Window object in the global scope!");
3636
3737
messageManager.addMessageListener(msgName, tabListener)
3838
messageManager.loadFrameScript("data:,(" + mmScriptForPromiseTest.toString() + ")()", true);
@@ -42,7 +42,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1139964
4242
messageManager.removeMessageListener(msgName, tabListener);
4343
ok(m.data.hasPromise, "TabChildGlobal should have Promise object in the global scope!");
4444
ok(m.data.hasTextEncoder, "TabChildGlobal should have TextEncoder object in the global scope!");
45-
ok(!m.data.hasWindow, "TabChildGlobal should not have Window object in the global scope!");
45+
ok(m.data.hasWindow, "TabChildGlobal should have Window object in the global scope!");
4646
4747
opener.setTimeout("done()", 0);
4848
window.close();

0 commit comments

Comments
 (0)