tree: be979ffb4bc0f94ea760e7486d739dd74070fb55 [path history] [tgz]
  1. resources/
  2. fetch.tentative.https-expected.txt
  3. fetch.tentative.https.html
  4. iframe-coep-credentialless.tentative.https-expected.txt
  5. iframe-coep-credentialless.tentative.https.html
  6. iframe-coep-none.tentative.https.html
  7. iframe-coep-require-corp.tentative.https.html
  8. image.tentative.https-expected.txt
  9. image.tentative.https.html
  10. link.tentative.https-expected.txt
  11. link.tentative.https.html
  12. META.yml
  13. README.md
  14. script.tentative.https-expected.txt
  15. script.tentative.https.html
  16. video.tentative.https-expected.txt
  17. video.tentative.https.html
chromium/src/third_party/blink/web_tests/external/wpt/html/cross-origin-embedder-policy/credentialless/README.md

Helper files:

  • resources/dispatcher.js provides send() and receive(). This is an universal message passing API. It works cross-origin, and even access different browser context groups. Messages are queued, this means one doesn't need to wait for the receiver to listen, before sending the first message.

  • resources/executor.html is a document. Test can send arbitrary javascript to evaluate in its execution context. This is universal and avoids introducing many specific XXX-helper.html resources. Moreover, tests are easier to read, because the whole logic of the test can be defined in a single file.

Related documents: