Bug 286252

Summary: Multiple crashes and assertions when calling internals API on a window without frame
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: New BugsAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 286018    

Frédéric Wang (:fredw)
Reported 2025-01-20 01:24:25 PST
There are multiple places in Internals.cpp that assumes a frame is present (or a document, or valid parameters) and would otherwise crash or assert. Internals object are not included in production versions of WebKit so that's not a security issue, but still that can cause reports by fuzzers.
Attachments
Frédéric Wang (:fredw)
Comment 1 2025-01-20 01:46:03 PST
EWS
Comment 2 2025-01-23 11:59:11 PST
Committed 289309@main (e63fe9d14548): <https://commits.webkit.org/289309@main> Reviewed commits have been landed. Closing PR #39285 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-01-23 12:00:22 PST
Note You need to log in before you can comment on or make changes to this bug.