зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1671179 - Make test_bug636336.html xorigin compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D93604
This commit is contained in:
Родитель
ba224a5ebc
Коммит
395d747ad6
|
@ -360,7 +360,6 @@ skip-if = toolkit == 'android' || os == 'mac' #TIMED_OUT # form control not sele
|
|||
[test_bug629801.html]
|
||||
[test_bug633058.html]
|
||||
[test_bug636336.html]
|
||||
fail-if = xorigin
|
||||
[test_bug641219.html]
|
||||
[test_bug643051.html]
|
||||
[test_bug646157.html]
|
||||
|
|
|
@ -26,7 +26,8 @@ function testIt(tag) {
|
|||
elem.setAttribute("src", " test ");
|
||||
is(elem.getAttribute("src"), " test ",
|
||||
tag + " src attribute setter should not strip whitespace around non-whitespace");
|
||||
is(elem.src, window.location.href.replace(/test_bug636336\.html$/, "test"),
|
||||
is(elem.src, window.location.href.replace(/\?.*/, "")
|
||||
.replace(/test_bug636336\.html$/, "test"),
|
||||
tag + ".src should strip whitespace as needed");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче