Bug 247051 - Null check containingShadowRoot in more places
Summary: Null check containingShadowRoot in more places
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-26 01:02 PDT by Rob Buis
Modified: 2022-10-26 04:00 PDT (History)
1 user (show)

See Also:


Attachments
Patch (3.12 KB, patch)
2022-10-26 01:03 PDT, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2022-10-26 01:02:10 PDT
Elements can be marked as being in a shadow tree and at the same time
containingShadowRoot can be null (for example when removing/disconnecting
elements), so null check containingShadowRoot in more places.
Comment 1 Rob Buis 2022-10-26 01:03:13 PDT
Created attachment 463247 [details]
Patch
Comment 2 EWS 2022-10-26 03:59:29 PDT
Committed 256005@main (bc488196fd2d): <https://commits.webkit.org/256005@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 463247 [details].
Comment 3 Radar WebKit Bug Importer 2022-10-26 04:00:32 PDT
<rdar://problem/101583435>