Bug 53014

Summary: ES5 strict mode keyword restrictions aren't implemented
Product: WebKit Reporter: Jeff Walden (remove +bwo to email) <jwalden+bwo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, erights, oliver
Priority: P2 Keywords: ES5
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: javascript: try { eval("'use strict'; var yield = 7"); throw new Error("yield not a keyword in strict mode"); } catch (e) { alert(e instanceof SyntaxError ? "PASS" : "FAIL: " + e); }

Jeff Walden (remove +bwo to email)
Reported 2011-01-24 08:26:48 PST
See ยง7.6.1.2.
Attachments
Gavin Barraclough
Comment 1 2011-06-16 20:17:51 PDT
Fixed in r89109
Gavin Barraclough
Comment 2 2011-06-17 00:46:31 PDT
*** Bug 55342 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.