зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1390770 - rewrite test_bug289384.html for new data: URI inheritance model. r=masayuki
This commit is contained in:
Родитель
fb393ff797
Коммит
b930b3d1ee
|
@ -0,0 +1 @@
|
|||
<a href="file_bug289384-2.html">link</a>
|
|
@ -0,0 +1 @@
|
|||
<body contenteditable onload='opener.continueTest(window);'>foo bar</body>
|
|
@ -5,6 +5,8 @@ support-files =
|
|||
data/cfhtml-ie.txt
|
||||
data/cfhtml-ooo.txt
|
||||
data/cfhtml-nocontext.txt
|
||||
file_bug289384-1.html
|
||||
file_bug289384-2.html
|
||||
file_bug549262.html
|
||||
file_bug586662.html
|
||||
file_bug611182.html
|
||||
|
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=289384
|
|||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
addLoadEvent(function() {
|
||||
var win = window.open("data:text/html,<a href=\"data:text/html,<body contenteditable onload='opener.continueTest(window);'>foo bar</body>\">link</a>", "", "test-289384");
|
||||
var win = window.open("file_bug289384-1.html", "", "test-289384");
|
||||
win.addEventListener("load", function() {
|
||||
win.document.querySelector("a").click();
|
||||
}, {once: true});
|
||||
|
|
Загрузка…
Ссылка в новой задаче