- From: Boris Zbarsky <notifications@github.com>
- Date: Mon, 17 Jul 2017 07:15:11 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 17 July 2017 14:19:12 UTC
> e.g. methods accepting DOMString should throw TypeError if typeof obj !== 'string' I think people would be pretty surprised if they can't pass an ES `String` for a `DOMString` argument. But also, as annevk points out, this is normal behavior for ES, including the ES spec builtins. -- 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/issues/383#issuecomment-315768407
Received on Monday, 17 July 2017 14:19:12 UTC