Files
sousa-gecko/testing/web-platform/meta/preload/prefetch-events.html.ini
T
acreskeyMoz f798cf6f07 Bug 2046524 - WPT: <link rel=prefetch> should fire the error event for CORS-mode network failures r=sunil,necko-reviewers,valentin
Only force the load event for opaque (no-cors) cross-origin responses in
nsPrefetchNode::OnStartRequest. CORS-mode failures now fire the error event
instead of load, since a failed CORS check is a network error.

https://fetch.spec.whatwg.org/#concept-http-fetch
WPT: /preload/prefetch-events.html

Differential Revision: https://phabricator.services.mozilla.com/D305964
2026-06-26 22:32:59 +00:00

7 lines
158 B
INI

[prefetch-events.html]
[Prefetch should fire the load event for 404]
expected: FAIL
[Prefetch should fire the load event for 500]
expected: FAIL