summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-04-08 15:05:08 +0200
committerGitHub <noreply@github.com>2021-04-08 15:05:08 +0200
commitc867c1aa476b3f00933be08cbc5f528973e37857 (patch)
tree4966a8a2e853db1c552ec39821a65bc13f927d5a /tools
parentd2e500e1cf7d27132fee92cc09238e1bc98897c6 (diff)
fix: enable FileReader wpt and align to spec (#10063)
This adds some algorithms from the whatwg mimesniff, whatwg infra, and whatwg encoding specs that FileReader needs to use internally.
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/expectation.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 4f04213aa..632af480a 100644
--- a/tools/wpt/expectation.json
+++ b/tools/wpt/expectation.json
@@ -787,6 +787,29 @@
"fileReader.any.js": true,
"url": {
"url-format.any.js": true
+ },
+ "reading-data-section": {
+ "Determining-Encoding.any.js": true,
+ "FileReader-event-handler-attributes.any.js": true,
+ "FileReader-multiple-reads.any.js": true,
+ "filereader_abort.any.js": true,
+ "filereader_error.any.js": true,
+ "filereader_events.any.js": false,
+ "filereader_readAsArrayBuffer.any.js": true,
+ "filereader_readAsBinaryString.any.js": true,
+ "filereader_readAsDataURL.any.js": true,
+ "filereader_readAsText.any.js": true,
+ "filereader_readystate.any.js": true,
+ "filereader_result.any.js": [
+ "result is null during \"loadstart\" event for readAsText",
+ "result is null during \"loadstart\" event for readAsDataURL",
+ "result is null during \"loadstart\" event for readAsArrayBuffer",
+ "result is null during \"loadstart\" event for readAsBinaryString",
+ "result is null during \"progress\" event for readAsText",
+ "result is null during \"progress\" event for readAsDataURL",
+ "result is null during \"progress\" event for readAsArrayBuffer",
+ "result is null during \"progress\" event for readAsBinaryString"
+ ]
}
},
"html": {