summaryrefslogtreecommitdiff
path: root/op_crates/file/02_filereader.js
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-04-14 22:49:16 +0200
committerGitHub <noreply@github.com>2021-04-14 22:49:16 +0200
commit353e79c796efc6c6aa328abb4d7cef5e642944af (patch)
tree5ae6d1778c0a1dfa53ac62e409d6da8cdb31285f /op_crates/file/02_filereader.js
parent5214acd3d9dec56ee159544f0f6bf9834a62c097 (diff)
chore: align FormData to spec (#10169)
This PR aligns `FormData` to spec. All WPT tests are passing.
Diffstat (limited to 'op_crates/file/02_filereader.js')
-rw-r--r--op_crates/file/02_filereader.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/op_crates/file/02_filereader.js b/op_crates/file/02_filereader.js
index b32cbfce9..640c6dd9e 100644
--- a/op_crates/file/02_filereader.js
+++ b/op_crates/file/02_filereader.js
@@ -24,6 +24,10 @@
const aborted = Symbol("[[aborted]]");
class FileReader extends EventTarget {
+ get [Symbol.toStringTag]() {
+ return "FileReader";
+ }
+
/** @type {"empty" | "loading" | "done"} */
[state] = "empty";
/** @type {null | string | ArrayBuffer} */