[Webkit-unassigned] [Bug 151324] REGRESSION(r192436): Inspector Hanging under tryParseDestructuringPatternExpression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 17 09:10:48 PST 2015


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

--- Comment #3 from Caitlin Potter <caitpotter88 at gmail.com> ---
The cause is pretty straight forward, when parsing the destructuring pattern, there's a SavePoint for each property in the object literal, when parsed in an expression context, and this happens for every ObjectLiteral/ArrayLiteral parsed in an AssignmentExpression context.

A fix that may work is re-organizing it to parse as an ObjectLiteral/ArrayLiteral first, and switch to destructuring mode only if followed by a "=".

-- 
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/20151117/0d8605f0/attachment.html>


More information about the webkit-unassigned mailing list