Bug 233646

Summary: [Hardening] Early return in JSLazyEventListener::initializeJSFunction() if !settings().scriptMarkupEnabled()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=233642
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2021-11-30 10:46:10 PST
Early return in JSLazyEventListener::initializeJSFunction() if !settings().scriptMarkupEnabled() as a hardening measure.
Comment 1 Chris Dumez 2021-11-30 10:47:31 PST
Created attachment 445442 [details]
Patch
Comment 2 Geoffrey Garen 2021-11-30 10:48:26 PST
Comment on attachment 445442 [details]
Patch

r=me
Comment 3 Chris Dumez 2021-11-30 10:49:20 PST
Created attachment 445443 [details]
Patch
Comment 4 EWS 2021-11-30 13:40:35 PST
Committed r286324 (244683@main): <https://commits.webkit.org/244683@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 445443 [details].
Comment 5 Radar WebKit Bug Importer 2021-11-30 13:41:27 PST
<rdar://problem/85886298>