- From: Tom Schuster <notifications@github.com>
- Date: Thu, 19 Mar 2020 14:37:56 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 19 March 2020 21:38:08 UTC
Haha. I have explicitly been avoiding poking the whole `@@toStringTag` rabbit hole. (From my POV this should have never been added to ES, but what can you do). Anyway I think it's pretty clear that putting `toStringTag` on all objects is probably infeasible, without some major refactoring to get some kind of lazy invisible getter. We sort of have this in SpiderMonkey, but it's a terrible footgun and I am opposed to adding more uses. Honestly it doesn't seem like anyone needs this feature, so maybe we could just change EcmaScript to actually allow host-defined Object.prototype.toString results in the absence of `@@toStringTag`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/pull/357#issuecomment-601428971
Received on Thursday, 19 March 2020 21:38:08 UTC