зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1671179 - Make test_bug132255.html xorigin compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D93605
This commit is contained in:
Родитель
395d747ad6
Коммит
1840c0b907
|
@ -43,7 +43,6 @@ prefs =
|
|||
|
||||
[test_DOMWindowCreated_chromeonly.html]
|
||||
[test_bug132255.html]
|
||||
fail-if = xorigin
|
||||
[test_bug1551425_reference_to_childnodes_nodelist_keeps_childnodes_alive.html]
|
||||
[test_bug159849.html]
|
||||
[test_bug289714.html]
|
||||
|
|
|
@ -25,7 +25,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=132255
|
|||
SimpleTest.waitForExplicitFinish();
|
||||
addLoadEvent(function() {
|
||||
is(window.frames[0].document.links[0].href,
|
||||
window.location.href.replace(/bugs\/test_bug132255\.html/, "foo.html"),
|
||||
window.location.href.replace(/\?.*/, "")
|
||||
.replace(/bugs\/test_bug132255\.html/, "foo.html"),
|
||||
"Unexpected anchor href");
|
||||
is(window.frames[1].document.links[0].href,
|
||||
"http://example.com/foo.html",
|
||||
|
|
Загрузка…
Ссылка в новой задаче