[Webkit-unassigned] [Bug 154042] New: Spread expressions are not fair game for direct binding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 9 11:48:21 PST 2016


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

            Bug ID: 154042
           Summary: Spread expressions are not fair game for direct
                    binding
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

We currently crash on this:

    var [x] = [...y];

Because NodesCodegen thinks that this is a direct binding.  It's not, because we cannot directly generate bytecode for "...y".  This is a unique property of spread expressions, so its sufficient to just bail out of direct binding if we see a spread expression.

-- 
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/20160209/80e7e279/attachment-0001.html>


More information about the webkit-unassigned mailing list