зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1234440 - Stop using CPOWs in this test. r=wchen
--HG-- extra : rebase_source : 8884f9c2cb21565ce7934553f0b47ac7e2032e97
This commit is contained in:
Родитель
67195fa604
Коммит
af91847c15
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче