Sign in
webkit
/
WebKit
/
431c47fbae9b6dec87c0dd4d3e46bfb763a4c9a3
/
.
/
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"
);