Bug 53014
| Summary: | ES5 strict mode keyword restrictions aren't implemented | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeff Walden (remove +bwo to email) <jwalden+bwo> |
| Component: | JavaScriptCore | Assignee: | 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)
See ยง7.6.1.2.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Gavin Barraclough
Fixed in r89109
Gavin Barraclough
*** Bug 55342 has been marked as a duplicate of this bug. ***