Bug 257697

Summary: [JSC] delete operator shouldn't perform TDZ checks
Product: WebKit Reporter: Alexey Shvayka <ashvayka>
Component: JavaScriptCoreAssignee: Alexey Shvayka <ashvayka>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Alexey Shvayka
Reported 2023-06-04 16:12:13 PDT
Delete operator (https://tc39.es/ecma262/#sec-delete-operator-runtime-semantics-evaluation) calls into DeleteBinding abstract op, while TDZ check (and throwing ReferenceErrors) happens in GetBindingValue.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-06-04 16:12:30 PDT
Alexey Shvayka
Comment 2 2023-06-04 17:44:33 PDT
EWS
Comment 3 2023-06-15 16:04:00 PDT
Committed 265212@main (fca15e410aef): <https://commits.webkit.org/265212@main> Reviewed commits have been landed. Closing PR #14661 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.