From af91847c155846d7057f8bdeead6401a2ff1bda5 Mon Sep 17 00:00:00 2001 From: Blake Kaplan Date: Fri, 4 Mar 2016 17:54:00 -0500 Subject: [PATCH] Bug 1234440 - Stop using CPOWs in this test. r=wchen --HG-- extra : rebase_source : 8884f9c2cb21565ce7934553f0b47ac7e2032e97 --- dom/base/test/browser_bug902350.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dom/base/test/browser_bug902350.js b/dom/base/test/browser_bug902350.js index 58e1ed956707..f23414255117 100644 --- a/dom/base/test/browser_bug902350.js +++ b/dom/base/test/browser_bug902350.js @@ -38,7 +38,6 @@ function test() { // Need to capture 2 loads, one for the main page and one for the iframe function MixedTest1A() { - dump("XYZ\n"); BrowserTestUtils.browserLoaded(gTestBrowser, true /*includeSubFrames*/).then(MixedTest1B); } @@ -62,9 +61,8 @@ function MixedTest1C() { ContentTask.spawn(gTestBrowser, null, function() { return content.location.href; }).then(url => { - ok(gTestBrowser.contentWindow.location == "http://example.com/", "Navigating to insecure domain through target='_top' failed.") + is(url, "http://example.com/", "Navigating to insecure domain through target='_top' failed.") MixedTestsCompleted(); }); } -