Bug 47807 - if (0) throw "x" ; else { } throws parse error after r69906
Summary: if (0) throw "x" ; else { } throws parse error after r69906
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 47814 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-18 03:12 PDT by Zoltan Herczeg
Modified: 2010-10-18 10:25 PDT (History)
4 users (show)

See Also:


Attachments
patch (3.65 KB, patch)
2010-10-18 03:33 PDT, Zoltan Herczeg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***