Bug 234813

Summary: [JSC] Read-modify-write operation's second put-to-scope should not throw error if binding does not exist
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: ashvayka, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ashvayka: review+

Description Yusuke Suzuki 2022-01-03 04:46:30 PST
[JSC] Read-modify-write operation's second put-to-scope should not throw error if binding does not exist
Comment 1 Yusuke Suzuki 2022-01-03 04:47:56 PST
Created attachment 448227 [details]
Patch
Comment 2 Alexey Shvayka 2022-01-03 07:48:30 PST
Comment on attachment 448227 [details]
Patch

Wow, this was a pretty long-standing bug! Other emitPutToScope() occurrences all look correct.
Comment 3 Yusuke Suzuki 2022-01-03 08:50:40 PST
Committed r287544 (245679@trunk): <https://commits.webkit.org/245679@trunk>
Comment 4 Radar WebKit Bug Importer 2022-01-03 08:51:18 PST
<rdar://problem/87067982>