mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision dc5cbf088edcdb266541d4e5a76149a2c6e716a0
This commit is contained in:
parent
1d40075f03
commit
079092dfea
2381 changed files with 90360 additions and 17722 deletions
10
tests/wpt/web-platform-tests/fetch/api/basic/request-head.js
Normal file
10
tests/wpt/web-platform-tests/fetch/api/basic/request-head.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
if (this.document === undefined) {
|
||||
importScripts("/resources/testharness.js");
|
||||
}
|
||||
|
||||
promise_test(function(test) {
|
||||
var requestInit = {"method": "HEAD", "body": "test"};
|
||||
return promise_rejects(test, new TypeError(), fetch(".", requestInit));
|
||||
}, "Fetch with HEAD with body");
|
||||
|
||||
done();
|
Loading…
Add table
Add a link
Reference in a new issue