Bug 233646 - [Hardening] Early return in JSLazyEventListener::initializeJSFunction() if !settings().scriptMarkupEnabled()
Summary: [Hardening] Early return in JSLazyEventListener::initializeJSFunction() if !s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-30 10:46 PST by Chris Dumez
Modified: 2021-11-30 13:41 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.80 KB, patch)
2021-11-30 10:47 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (1.80 KB, patch)
2021-11-30 10:49 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>