clear-site-data

edit

WPT coverage of the tests of clear-site-data 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
Stable1013077%
Tentative220100%
Reftests000–
All1215080%

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

Stable tests

TestResultSubtestsKindDescription
clear-cache-bfcache.https.htmlPass4 / 4
clear-cache.https.htmlPass13 / 13
executionContexts.sub.htmlPass2 / 2
navigation-insecure.htmlPass4 / 4
navigation.https.htmlPass4 / 4
no-cors-fetch-iframe.https.sub.htmlFail0 / 1NOT IMPLEMENTEDthe storage partitioning by top-level site: the local storage of the cross-site iframe is the unpartitioned storage of its origin, which a response loaded in a third-party context does not clear (as no-cors-fetch-window.https.sub.html expects); the browsers clear the partitioned storage of the iframe
no-cors-fetch-window.https.sub.htmlPass1 / 1
resource.htmlTimeout2 / 4TEST BUGthe http resource on a https page subtest: the https iframe navigates itself to the http: URL of send_report.html, which is blocked as mixed content (the navigation of a child navigable from a document whose origin is potentially trustworthy, https://w3c.github.io/webappsec-mixed-content/#should-block-fetch), so the report is never posted and the test times out
set-cookie-after-clear-all.https.htmlPass1 / 1
set-cookie-after-clear-cookies.https.htmlPass1 / 1
set-cookie-before-clear-all.https.htmlPass1 / 1
set-cookie-before-clear-cookies.https.htmlPass1 / 1
storage.https.htmlTimeout6 / 8NOT IMPLEMENTEDthe service worker registrations of the origin are unregistered (https://w3c.github.io/webappsec-clear-site-data/#clear-dom-accessible-storage), so the clients that a service worker controls keep it until they are unloaded (https://w3c.github.io/ServiceWorker/#unregister-algorithm); the test expects the behavior of Chromium, which deletes the registrations and removes the controller of the clients at once (controllerchange)

Tentative tests

TestResultSubtestsKindDescription
clear-cache-bfcache-partitioning.tentative.https.htmlPass2 / 2
clear-cache-partitioning.tentative.https.htmlPass10 / 10