blob: e0b6afa079a4000cc97dd702a531f69c568eafcc (
plain)
1
2
3
4
5
6
|
// 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");
|