Bug 18664

Summary: SQUIRRELFISH: correctly throw a SyntaxError when parsing of eval code fails
Product: WebKit Reporter: Cameron Zwarich (cpst) <zwarich>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 18624    
Description Flags
Proposed patch oliver: review+

Description Cameron Zwarich (cpst) 2008-04-21 11:52:26 PDT
SquirrelFish does not currently throw a SyntaxError when parsing of eval code fails. This causes the failure of some JavaScriptCore tests that expect a SyntaxError.
Comment 1 Cameron Zwarich (cpst) 2008-04-21 11:56:58 PDT
Created attachment 20733 [details]
Proposed patch

Oliver already reviewed it, but I can't land it myself. This patch fixes 8 JavaScriptCore test failures. There is no change on SunSpider.
Comment 2 Oliver Hunt 2008-04-21 12:00:38 PDT
Committed r32332