diff options
author | Andreu Botella <abb@randomunok.com> | 2021-07-14 12:08:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 12:08:42 +0200 |
commit | 5b771e7e83b32402f06873e684efb2381971e0f6 (patch) | |
tree | be1c3cab01d9edb71900afbfde4b2f983fc38c63 /tools | |
parent | 56635d3b528347bd37719cd111e55f7d1abace72 (diff) |
fix(extensions/web): aborting a FileReader should not affect later reads (#11381)
Currently, calling the `abort()` method on a `FileReader` object aborts
any current read operation, but it also prevents any read operation
started at some later point from starting. The File API instead
specifies that calling `abort()` should reset the `FileReader`'s state
and result, as well as removing any queued tasks from the current
operation that haven't yet run.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wpt/expectation.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 4124efe7c..0fb126066 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -2794,7 +2794,7 @@ "reading-data-section": { "Determining-Encoding.any.html": true, "FileReader-event-handler-attributes.any.html": true, - "FileReader-multiple-reads.any.html": false, + "FileReader-multiple-reads.any.html": true, "filereader_abort.any.html": true, "filereader_error.any.html": true, "filereader_events.any.html": false, |