fune/testing/web-platform/tests/XMLHttpRequest/open-url-multi-window.htm
James Graham ee29b04f1c Bug 1291312 - Update web-platform-tests to revision 7a6a5c9f436730f86123e6f48a44bf1b7ba5654f, a=testonly
MozReview-Commit-ID: 2Z26QRXPNuK


--HG--
rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted-different-av-keys.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted-different-av-keys.webm
rename : testing/web-platform/tests/encrypted-media/Google/test-encrypted.webm => testing/web-platform/tests/encrypted-media/Google/webm/test-encrypted.webm
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-08-04 23:34:05 +01:00

31 lines
1 KiB
HTML

<!doctype html>
<html>
<head>
<title>XMLHttpRequest: open() resolving URLs (multi-Window; 1)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#the-open()-method" data-tested-assertations="following::ol[1]/li[2]/ol[1]/li[2] following::ol[1]/li[7] following::ol[1]/li[14]/ul/li[2]" />
</head>
<body>
<div id="log"></div>
<script>
var test = async_test()
function init() {
test.step(function() {
var client = new self[0].XMLHttpRequest()
client.onreadystatechange = function() {
test.step(function() {
if(client.readyState == 4) {
assert_equals(client.responseText, "bottom\n")
test.done()
}
})
}
client.open("GET", "folder.txt")
client.send("")
})
}
</script>
<iframe src="resources/init.htm"></iframe>
</body>
</html>