Summary: |
|delete name| in strict mode code should be an early error |
Product: |
WebKit
|
Reporter: |
Jeff Walden (remove +bwo to email) <jwalden+bwo> |
Component: |
JavaScriptCore | Assignee: |
Oliver Hunt <oliver> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
Normal
|
CC: |
oliver
|
Priority: |
P2
|
Keywords: |
ES5 |
Version: |
528+ (Nightly build) | |
|
Hardware: |
All | |
|
OS: |
All | |
|
URL: |
javascript: try { eval("function x() { 'use strict'; delete y; }"); throw 'no error'; } catch (e) { alert(e instanceof SyntaxError ? "PASS" : "FAIL " + e); }
|
Attachments: |
Description |
Flags |
Patch
|
ggaren:
review+
|
|