- From: Ryosuke Niwa <notifications@github.com>
- Date: Sat, 13 Aug 2016 00:06:07 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Saturday, 13 August 2016 07:06:38 UTC
When [an ECMAScript value V is converted to an IDL sequence<T> value](http://heycam.github.io/webidl/#es-sequence), we don't really need to throw a `TypeError` when *V* is a native`RegExp` object. Ordinarily, a `RegExp` object wouldn't have `Symbol.iterator` defined. If it's defined, e.g. `x = new RegExp; x[Symbol.iterator] = function* () { yield 1; }`, then we should be able to iterate over it. -- 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/145
Received on Saturday, 13 August 2016 07:06:38 UTC