diff --git a/testing/web-platform/tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html b/testing/web-platform/tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html
index b10b2f0b73cca..65490f0a13821 100644
--- a/testing/web-platform/tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html
+++ b/testing/web-platform/tests/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html
@@ -109,7 +109,7 @@
const cache = await caches.open('v1');
if (response_type === 'error') {
- await promise_rejects(t, new TypeError(), cache.match(url));
+ await promise_rejects(t, 'InvalidAccessError', cache.match(url));
return;
}