mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
18
testing/web-platform/tests/dom/nodes/Document-URL.sub.html
Normal file
18
testing/web-platform/tests/dom/nodes/Document-URL.sub.html
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>Document.URL with redirect</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id=log></div>
|
||||
<script>
|
||||
async_test(function() {
|
||||
var iframe = document.createElement("iframe");
|
||||
iframe.src = "/common/redirect.py?location=/common/blank.html";
|
||||
document.body.appendChild(iframe);
|
||||
this.add_cleanup(function() { document.body.removeChild(iframe); });
|
||||
iframe.onload = this.step_func_done(function() {
|
||||
assert_equals(iframe.contentDocument.URL,
|
||||
"http://{{host}}:{{ports[http][0]}}/common/blank.html");
|
||||
});
|
||||
})
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue