tree: e8bb2b84bf37fdd34e9c426139beb5d440c69a50 [path history] [tgz]
  1. resources/
  2. cross-origin-iframe-not-setting-other-origins.https.html
  3. cross-origin-iframe-not-setting-own-origin.https.html
  4. cross-origin-navigation.https.html
  5. cross-origin-subresource.https.html
  6. http-equiv-cross-origin-iframe-not-setting-other-origins.https.html
  7. http-equiv-cross-origin-iframe-not-setting-own-origin.https.html
  8. http-equiv-cross-origin-navigation.https.html
  9. http-equiv-cross-origin-subresource.https.html
  10. http-equiv-same-origin-iframe.https.html
  11. http-equiv-same-origin-navigation.https.html
  12. http-equiv-same-origin-subresource.https.html
  13. README.md
  14. same-origin-iframe.https.html
  15. same-origin-navigation.https.html
  16. same-origin-subresource.https.html
third_party/blink/web_tests/external/wpt/client-hints/accept-ch-stickiness/README.md

These tests all follow the same format, calling the run_test function from resources/accept_ch_test.js. This function does the following:

  • checks to make sure no client-hint preferences are saved for a particular origin
  • loading a page with the response header Accept-CH: device-memory via a particular method:
    • Navigation (via window.open)
    • Subresource (via fetch)
    • iframe (added via js)
  • Navigates to another page to check if the device-memory client hint was sent with the next request

Each test is in a separate file to ensure that the browser and it's state is properly reset between each test.