Bug 47807

Summary: if (0) throw "x" ; else { } throws parse error after r69906
Product: WebKit Reporter: Zoltan Herczeg <zherczeg>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, gabtre46, oliver, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
patch none

Description Zoltan Herczeg 2010-10-18 03:12:27 PDT
r69906 (https://bugs.webkit.org/show_bug.cgi?id=47762) introduced an issue: the semicolon after a throw is not consumed anymore.

This bug was captured by v8-early-boyer, as there is no such test case in LayoutTests (so far).
Comment 1 Zoltan Herczeg 2010-10-18 03:33:15 PDT
Created attachment 71016 [details]
patch
Comment 2 Oliver Hunt 2010-10-18 09:02:10 PDT
Comment on attachment 71016 [details]
patch

Whoops :-(
Comment 3 WebKit Commit Bot 2010-10-18 09:28:15 PDT
The commit-queue encountered the following flaky tests while processing attachment 71016 [details]:

http/tests/websocket/tests/multiple-connections.html

Please file bugs against the tests.  The commit-queue is continuing to process your patch.
Comment 4 WebKit Commit Bot 2010-10-18 09:30:34 PDT
Comment on attachment 71016 [details]
patch

Clearing flags on attachment: 71016

Committed r69963: <http://trac.webkit.org/changeset/69963>
Comment 5 WebKit Commit Bot 2010-10-18 09:30:41 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Alexey Proskuryakov 2010-10-18 10:25:16 PDT
*** Bug 47814 has been marked as a duplicate of this bug. ***