Bug 1234440 - Stop using CPOWs in this test. r=wchen

--HG--
extra : rebase_source : 8884f9c2cb21565ce7934553f0b47ac7e2032e97
This commit is contained in:
Blake Kaplan 2016-03-04 17:54:00 -05:00
Родитель 67195fa604
Коммит af91847c15
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -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();
});
}