aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js
blob: e492d87d4f2fc40555a7b350d9c20fd1de74ffc5 (plain) (blame)
1
2
3
4
5
test(() => {
  assert_throws(new TypeError(), () => {
    new Request("", {importance: 'invalid'});
  }, "a new Request() must throw a TypeError if RequestInit's importance is an invalid value");
}, "new Request() throws a TypeError if any of RequestInit's members' values are invalid");