diff options
author | 李瑞丰 <li15227870916@gmail.com> | 2021-09-25 01:07:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 02:07:22 +0900 |
commit | 46245b830a24930ab36f8ce2831325cdd1da17d3 (patch) | |
tree | c96c2a69a30120d2cdf639b72a3bace836417151 /ext/web/01_dom_exception.js | |
parent | 9705efd419ffa05b0d88e788e0ceb77e38078449 (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/01_dom_exception.js')
-rw-r--r-- | ext/web/01_dom_exception.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/web/01_dom_exception.js b/ext/web/01_dom_exception.js index 0d9e82c56..ae478da2b 100644 --- a/ext/web/01_dom_exception.js +++ b/ext/web/01_dom_exception.js @@ -18,7 +18,6 @@ ObjectEntries, ObjectSetPrototypeOf, SymbolFor, - SymbolToStringTag, } = window.__bootstrap.primordials; const webidl = window.__bootstrap.webidl; const consoleInternal = window.__bootstrap.console; @@ -120,10 +119,6 @@ return this.#code; } - get [SymbolToStringTag]() { - return "DOMException"; - } - [SymbolFor("Deno.customInspect")](inspect) { if (this instanceof DOMException) { return `DOMException: ${this.#message}`; |