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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 1 05:27:33 PST 2015


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

--- Comment #9 from Caitlin Potter (:caitp) <caitp at igalia.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)

but it's fine if someone else wants to add the new opcodes later on

-- 
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/90a589b2/attachment.html>


More information about the webkit-unassigned mailing list