Bug 147105

Summary: REGRESSION (beween r186927 and r186963): defining a strict arrow function will cause a crash
Product: WebKit Reporter: Claude Pache <claude.pache>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: saam, ysuzuki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase: defining strict arrow function (will crash on load) none

Claude Pache
Reported 2015-07-20 03:31:22 PDT
Created attachment 257086 [details] testcase: defining strict arrow function (will crash on load) Running the following JS code will produce a crash: () => { 'use strict' } * r186927: no crash * r186963 or later: crash
Attachments
testcase: defining strict arrow function (will crash on load) (58 bytes, text/html)
2015-07-20 03:31 PDT, Claude Pache
no flags
Claude Pache
Comment 1 2015-07-20 03:55:01 PDT
Revision 186959 https://trac.webkit.org/changeset/186959 made changes on how functions are parsed. Is it related to this bug?
Saam Barati
Comment 2 2015-07-20 07:40:43 PDT
I fixed this yesterday in: http://trac.webkit.org/changeset/187014
Claude Pache
Comment 3 2015-07-20 08:18:54 PDT
Verified as fixed in latest nightly (r187018), indeed.
Note You need to log in before you can comment on or make changes to this bug.