preload

edit

WPT coverage of the tests of preload at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable6972096%
Tentative110100%
Reftests110100%
Crash tests110100%
All7275096%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • TEST BUG: 3

Stable tests

TestResultSubtestsKindDescription
avoid-delaying-onload-link-modulepreload-exec.htmlPass1 / 1
avoid-delaying-onload-link-modulepreload.htmlPass1 / 1
avoid-delaying-onload-link-preload-style.htmlPass1 / 1
avoid-delaying-onload-link-preload.htmlPass1 / 1
avoid-prefetching-on-text-plain.htmlPass1 / 1
cross-origin-link-header-on-subresource.sub.htmlPass1 / 1
delaying-onload-link-preload-after-discovery.htmlPass1 / 1
download-resources.htmlPass1 / 1
dynamic-adding-preload-imagesrcset.htmlPass1 / 1
dynamic-adding-preload-nonce.htmlPass2 / 2
dynamic-adding-preload.htmlPass1 / 1
link-blob-url-revoked.window.jsPass4 / 4
link-header-modulepreload.htmlPass1 / 1
link-header-on-subresource.htmlPass1 / 1
link-header-preload-delay-onload.htmlPass1 / 1
link-header-preload-imagesrcset.htmlPass1 / 1
link-header-preload-non-html.htmlPass5 / 5
link-header-preload-nonce.htmlPass2 / 2
link-header-preload.htmlPass1 / 1
link-preload-as-case-insensitive.htmlPass7 / 7
link-url-encoding.htmlPass3 / 3
modulepreload-already-in-module-map.htmlPass5 / 5
modulepreload-as.htmlPass28 / 28
modulepreload-consumed-by-script.htmlPass1 / 1
modulepreload-fires-before-dependencies.htmlPass3 / 3
modulepreload-json.htmlPass1 / 1
modulepreload-multiple.htmlPass3 / 3
modulepreload-sri-importmap.htmlPass1 / 1
modulepreload-sri.htmlPass1 / 1
modulepreload-style.htmlPass1 / 1
modulepreload-text.htmlPass1 / 1
modulepreload.htmlPass55 / 55
onerror-event.htmlFail0 / 1TEST BUGexpects the as=video and as=audio preloads to fire an error event: they are not preload destinations, so nothing is fetched (fails in every browser)
onload-event.htmlFail0 / 1TEST BUGexpects the as=video and as=audio preloads to fire a load event: they are not preload destinations, so nothing is fetched (fails in every browser)
preconnect-onerror-event.htmlPass3 / 3
preconnect.htmlPass1 / 1
prefetch-accept.htmlPass1 / 1
prefetch-cache.htmlPass4 / 4
prefetch-document.htmlPass5 / 5
prefetch-events.htmlPass9 / 9
prefetch-headers.https.htmlPass3 / 3
prefetch-load-event.htmlPass1 / 1
prefetch-time-to-fetch.https.htmlPass2 / 2
prefetch-types.https.htmlPass25 / 25
preload-connect-to-doc.htmlPass5 / 5
preload-csp.sub.htmlPass1 / 1
preload-default-csp.sub.htmlPass1 / 1
preload-dynamic-csp.htmlPass1 / 1
preload-error.sub.htmlPass68 / 68
preload-font-crossorigin.htmlPass4 / 4
preload-imagesrcset-in-markup.htmlPass2 / 2
preload-imagesrcset-no-href.htmlPass3 / 3
preload-imagesrcset-selection.htmlPass13 / 13
preload-invalid-resources.htmlPass2 / 2
preload-link-cached-stylesheet-different-doc.htmlPass1 / 1
preload-nonce.sub.htmlPass2 / 2
preload-referrer-policy.htmlPass196 / 196
preload-resource-match.https.htmlFail56 / 58TEST BUGthe two font subtests that expect the preload to be discarded do not use the font (an empty paragraph), so the font face is not fetched and there is a single resource timing entry (also fails in Chromium and WebKit)
preload-strict-dynamic.sub.htmlPass3 / 3
preload-time-to-fetch.https.htmlPass10 / 10
preload-type-match.htmlPass45 / 45
preload-with-type.htmlPass1 / 1
preload-with-unsupported-type.htmlPass1 / 1
preload-xhr.htmlPass2 / 2
reflected-as-value.htmlPass13 / 13
single-download-late-used-preload.htmlPass1 / 1
single-download-preload.htmlPass1 / 1
subresource-integrity-events.htmlPass18 / 18
subresource-integrity-font.htmlPass23 / 23
subresource-integrity-partial-image.htmlPass1 / 1
subresource-integrity.htmlPass77 / 77
supported-as-values.htmlPass13 / 13

Tentative tests

TestResultSubtestsKindDescription
preload-referrer-policy-subresource-header.tentative.htmlPass196 / 196

Reftests

TestResultVariantsKindDescription
preload-in-data-doc.htmlPass1 / 1

Crash tests

TestResultVariantsKindDescription
link-preload-empty-href-attribute-crash.htmlPass1 / 1