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


--- 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