Bug 314032

Summary: Make sure the JS context is locked before calling methods on it to avoid debug assertions
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2026-05-04 16:47:51 PDT
We recently encountered some debug assertions while running a WebKit test, which revealed some recent serialization changes had omitted a JSC lock in new off-by-default API. This change corrects that problem, and adds a new test case to help us notice this in future work.
Attachments
Brent Fulgham
Comment 1 2026-05-04 16:48:08 PDT
Brent Fulgham
Comment 2 2026-05-04 17:04:02 PDT
EWS
Comment 3 2026-05-05 12:35:35 PDT
Committed 312630@main (dda1770b178b): <https://commits.webkit.org/312630@main> Reviewed commits have been landed. Closing PR #64227 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.