[Webkit-unassigned] [Bug 151596] [JSC] add missing RequireObjectCoercible() step in destructuring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 1 13:03:44 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151596

--- Comment #16 from Geoffrey Garen <ggaren at apple.com> ---
> Also, without a new opcode, it won't do the "right" thing for masquerading
> types, eg `var [a, b, c] = document.all` would be a TypeError when it
> shouldn't be (HTMLCollection is iterable, and has an ArrayIterator, per
> http://heycam.github.io/webidl/#es-iterators)

Interesting point. I hadn't considered that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151201/27a3e485/attachment-0001.html>


More information about the webkit-unassigned mailing list