Sign in
chromium
/
external
/
github.com
/
web-platform-tests
/
wpt
/
refs/heads/intersection-observerFix
/
.
/
fetch
/
api
/
basic
/
request-head.any.js
blob: dc435bf0d6df943bc02406ea46ec0cce4134c4d9 [
file
] [
log
] [
blame
] [
edit
]
promise_test
(
function
(
test
)
{
var
requestInit
=
{
"method"
:
"HEAD"
,
"body"
:
"test"
};
return
promise_rejects_js
(
test
,
TypeError
,
fetch
(
"."
,
requestInit
));
},
"Fetch with HEAD with body"
);