Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a

This commit is contained in:
WPT Sync Bot 2018-04-30 21:09:29 -04:00
parent 847115ba04
commit 816185f094
272 changed files with 5766 additions and 2855 deletions

View file

@ -1,4 +1,4 @@
var test = async_test()
var test = async_test("XMLHttpRequest: abort() during OPEN");
test.step(function() {
var client = new XMLHttpRequest()
client.open("GET", "...")

View file

@ -1,14 +0,0 @@
<!doctype html>
<html>
<head>
<title>XMLHttpRequest: abort() during OPEN</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#the-abort()-method" data-tested-assertations="following-sibling::ol/li[4] following-sibling::ol/li[5]" />
<link rel="help" href="https://xhr.spec.whatwg.org/#the-send()-method" data-tested-assertations="following-sibling::ol/li[1]" />
</head>
<body>
<div id="log"></div>
<script src="abort-during-open.js"></script>
</body>
</html>

View file

@ -1,3 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("abort-during-open.js");
done();

View file

@ -4,4 +4,4 @@ test(function() {
client.send(null)
assert_throws("InvalidStateError", function() { client.send(null) })
client.abort()
})
}, "XMLHttpRequest: send() - send()");

View file

@ -1,13 +0,0 @@
<!doctype html>
<html>
<head>
<title>XMLHttpRequest: send() - send()</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#the-send()-method" data-tested-assertations="following::ol/li[2]" />
</head>
<body>
<div id="log"></div>
<script src="send-send.js"></script>
</body>
</html>

View file

@ -1,3 +0,0 @@
importScripts("/resources/testharness.js");
importScripts("send-send.js");
done();