aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js')
-rw-r--r--tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js b/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js
index e492d87d4f2..0c10a3e2f96 100644
--- a/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js
+++ b/tests/wpt/web-platform-tests/priority-hints/fetch-api-request.tentative.any.js
@@ -1,5 +1,5 @@
test(() => {
- assert_throws(new TypeError(), () => {
+ assert_throws_js(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");