Sign in
webkit
/
WebKit
/
34573b4327f502983405341f6edd2f8dcbc2cb0c
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
fetch
/
api
/
basic
/
request-head.any.js
blob: e0b6afa079a4000cc97dd702a531f69c568eafcc [
file
] [
log
] [
blame
]
// META: global=window,worker
promise_test
(
function
(
test
)
{
var
requestInit
=
{
"method"
:
"HEAD"
,
"body"
:
"test"
};
return
promise_rejects_js
(
test
,
TypeError
,
fetch
(
"."
,
requestInit
));
},
"Fetch with HEAD with body"
);