Backed out changeset 7baa72e0d62c (bug 1637486) Backed out changeset 24e38d0cf349 (bug 1635702) Backed out changeset a99469886218 (bug 1635702) Backed out changeset 0bd06c295951 (bug 1637211) Backed out changeset 893f40e8ac70 (bug 1637211) Backed out changeset 7e4449460eee (bug 1636952) Backed out changeset abc7724f7d24 (bug |
||
|---|---|---|
| .. | ||
| resources | ||
| base64.any.js | ||
| processing.any.js | ||
| 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.