diff --git a/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html b/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html index b10b2f0b73cca9..7370a611c33c8e 100644 --- a/html/cross-origin-embedder-policy/require-corp-load-from-cache-storage.https.html +++ b/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, 15 /* InvalidAccessError*/, cache.match(url)); return; }