tree: 0268e0085e6abc4654bb7c70ebc876fd8d61bafd [path history] [tgz]
  1. resources/
  2. base64.any-expected.txt
  3. base64.any.html
  4. base64.any.js
  5. base64.any.worker-expected.txt
  6. base64.any.worker.html
  7. processing.any-expected.txt
  8. processing.any.html
  9. processing.any.js
  10. processing.any.worker-expected.txt
  11. processing.any.worker.html
  12. README.md
  13. w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/fetch/data-urls/README.md

data: URLs

resources/data-urls.json contains data: URL tests. The tests are encoded as a JSON array. Each value in the array is an array of two or three values. The first value describes the input, the second value describes the expected MIME type, null if the input is expected to fail somehow, or the empty string if the expected value is text/plain;charset=US-ASCII. The third value, if present, describes the expected body as an array of integers representing bytes.

These tests are used for data: URLs in this directory (see processing.any.js).

Forgiving-base64 decode

resources/base64.json contains forgiving-base64 decode tests. The tests are encoded as a JSON array. Each value in the array is an array of two values. The first value describes the input, the second value describes the output as an array of integers representing bytes or null if the input cannot be decoded.

These tests are used for data: URLs in this directory (see base64.any.js) and window.atob() in ../../html/webappapis/atob/base64.html.