document-policy

edit

WPT coverage of the tests of document-policy at the revision 5602b0f210e3. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features) and the reftests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable57071%
Tentative0300%
Reftests000–
All510050%

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: 2
  • NOT IMPLEMENTED: 3

Stable tests

TestResultSubtestsKindDescription
reporting/sync-xhr-report-only.htmlPass1 / 1
reporting/sync-xhr-reporting.htmlFail0 / 1TEST BUGthe synchronous request throws a NetworkError and the report has the expected type, body and source location, then the test calls toJSON() on it: Report and the report bodies are dictionaries since w3c/reporting#284 (https://w3c.github.io/reporting/#dictdef-report), so the reports given to the observers are plain objects without toJSON() (the browsers still implement the former Report interface)
required-policy/document-policy.htmlPass3 / 3
required-policy/no-document-policy.htmlPass2 / 2
required-policy/required-document-policy-nested.htmlPass3 / 3
required-policy/required-document-policy.htmlPass2 / 2
required-policy/separate-document-policies.htmlFail0 / 4TEST BUGuses the lossless-images-max-bpp and font-display-late-swap (no-font-display-late-swap, the former syntax of a disabled boolean) configuration points, which no browser supports anymore (Chromium removed them): they are ignored, so no required policy is sent; required-document-policy.html says that no configuration point with a numeric value is defined anymore

Tentative tests

TestResultSubtestsKindDescription
experimental-features/network-efficiency-guardrails-json.tentative.htmlTimeout0 / 1NOT IMPLEMENTEDthe tentative network-efficiency-guardrails configuration point of Document Policy (a report for each text resource that is not compressed), which only Chromium implemented behind a flag
experimental-features/network-efficiency-guardrails-report-only.tentative.htmlTimeout0 / 1NOT IMPLEMENTEDthe tentative network-efficiency-guardrails configuration point of Document Policy (a report for each text resource that is not compressed), which only Chromium implemented behind a flag
experimental-features/network-efficiency-guardrails.tentative.htmlTimeout0 / 1NOT IMPLEMENTEDthe tentative network-efficiency-guardrails configuration point of Document Policy (a report for each text resource that is not compressed), which only Chromium implemented behind a flag