Revision eb9f8a917a751b5bd2e4ed86840eac8b5c4445f2 authored by Brian Birtles on 15 March 2018, 06:57:09 UTC, committed by Brian Birtles on 15 March 2018, 06:57:09 UTC
This patch also drops the test that an AnimationEffectTiming object is created in the appropriate realm since it is no longer the case that a separate timing object is created.
1 parent df2153f
open-open-sync-send.htm
<!DOCTYPE html>
<html>
<head>
<title>XMLHttpRequest: open() - open() (sync) - send()</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/li[14]/ul/li[1] following::ol/li[14]/ul/li[2] following::ol/li[14]/ul/li[3] following::ol/li[15]/ol/li[1] following::ol/li[15]/ol/li[2]" />
</head>
<body>
<div id="log"></div>
<script>
var test = async_test()
test.step(function() {
var client = new XMLHttpRequest(),
result = [],
expected = [1,4]
client.onreadystatechange = function() {
test.step(function() {
result.push(client.readyState)
})
}
client.open("GET", "folder.txt")
client.open("GET", "folder.txt", false)
client.send(null)
assert_equals(client.responseText, 'top\n')
assert_array_equals(result, expected)
test.done()
})
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...