- From: Darien Maillet Valentine <notifications@github.com>
- Date: Thu, 19 Mar 2020 15:24:03 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 19 March 2020 22:24:16 UTC
> 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. Does it currently disallow this? The ES spec explicitly constrains what/whether behavioral extensions are permitted for certain specific builtins in [this list](https://tc39.es/ecma262/#sec-forbidden-extensions), which doesn’t include `Object.prototype.toString`; elsewhere, it acknowledges things like how an implementation might support additional arguments for builtins, etc. I’m not 100% certain — and maybe it violates the spirit of what extensions are meant to be permitted? — but I don’t think the current behavior is not “non-conformant.” -- 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-601445086
Received on Thursday, 19 March 2020 22:24:16 UTC