W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2016

[Bug 28244] Requiring @@toStringTag on instances may have performance implications

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 Dec 2016 18:47:35 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28244-3890-7H0FNrIYbn@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28244

--- Comment #19 from Domenic Denicola <d@domenic.me> ---
It's worth noting that nobody seems to actually follow the spec here. That is,
Object.getOwnPropertySymbols(document.createElement("div")).length is 0 in all
browsers I've tested. (I haven't yet tested Safari.)

Given that, I think we should at the very least remove the mention of class
strings and @@toStringTag from Web IDL and from testharness.js. Or we could
align with Blink's implementation, which at least is implemented in terms of
@@toStringTag, whereas nobody else seems to have updated to ES6 at all.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 16 December 2016 18:47:43 UTC

This archive was generated by hypermail 2.3.1 : Friday, 16 December 2016 18:47:43 UTC