summaryrefslogtreecommitdiff
path: root/ext/web/03_abort_signal.js
diff options
context:
space:
mode:
author李瑞丰 <li15227870916@gmail.com>2021-09-25 01:07:22 +0800
committerGitHub <noreply@github.com>2021-09-25 02:07:22 +0900
commit46245b830a24930ab36f8ce2831325cdd1da17d3 (patch)
treec96c2a69a30120d2cdf639b72a3bace836417151 /ext/web/03_abort_signal.js
parent9705efd419ffa05b0d88e788e0ceb77e38078449 (diff)
fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851)
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'ext/web/03_abort_signal.js')
-rw-r--r--ext/web/03_abort_signal.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/web/03_abort_signal.js b/ext/web/03_abort_signal.js
index 511ad216f..98f14f47a 100644
--- a/ext/web/03_abort_signal.js
+++ b/ext/web/03_abort_signal.js
@@ -13,7 +13,6 @@
SetPrototypeAdd,
SetPrototypeDelete,
Symbol,
- SymbolToStringTag,
TypeError,
} = window.__bootstrap.primordials;
@@ -72,10 +71,6 @@
get aborted() {
return Boolean(this[aborted]);
}
-
- get [SymbolToStringTag]() {
- return "AbortSignal";
- }
}
defineEventHandler(AbortSignal.prototype, "abort");
@@ -91,10 +86,6 @@
abort() {
this.#signal[signalAbort]();
}
-
- get [SymbolToStringTag]() {
- return "AbortController";
- }
}
webidl.configurePrototype(AbortController);