Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
external
/
wpt
/
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"
);