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
7 lines
158 B
INI
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
|