RESOLVED FIXED 249295
Add size assert for Element
https://bugs.webkit.org/show_bug.cgi?id=249295
Summary Add size assert for Element
Rob Buis
Reported 2022-12-14 02:24:27 PST
Add size assert for Element based on the FIXME in Element.h
Attachments
Patch (5.51 KB, patch)
2022-12-14 02:30 PST, Rob Buis
no flags
Rob Buis
Comment 1 2022-12-14 02:30:54 PST
Rob Buis
Comment 2 2022-12-14 05:10:17 PST
Radar WebKit Bug Importer
Comment 3 2022-12-21 02:25:17 PST
EWS
Comment 4 2022-12-22 05:21:44 PST
Committed 258238@main (80db98e4cb00): <https://commits.webkit.org/258238@main> Reviewed commits have been landed. Closing PR #7604 and removing active labels.
WebKit Commit Bot
Comment 5 2022-12-24 16:41:17 PST
Re-opened since this is blocked by bug 249874
Rob Buis
Comment 6 2022-12-29 10:31:42 PST
EWS
Comment 7 2022-12-31 00:25:20 PST
Committed 258366@main (763cf9e589db): <https://commits.webkit.org/258366@main> Reviewed commits have been landed. Closing PR #8102 and removing active labels.
Simon Fraser (smfr)
Comment 8 2022-12-31 12:44:23 PST
Comment on attachment 464036 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=464036&action=review > Source/WebCore/dom/Element.cpp:151 > +struct SameSizeAsElement : public ContainerNode { This doesn't detect when ContainerNode grows (and it has no size check).
Rob Buis
Comment 9 2022-12-31 14:44:46 PST
Comment on attachment 464036 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=464036&action=review >> Source/WebCore/dom/Element.cpp:151 >> +struct SameSizeAsElement : public ContainerNode { > > This doesn't detect when ContainerNode grows (and it has no size check). I have a follow up patch for asserting Element base class sizes, as suggested by Sam on slack, will put it up tomorrow.
Yusuke Suzuki
Comment 10 2023-01-01 09:28:35 PST
Note that we are not seeing Speedometer2 regression with the relanded revised change (using EventTargetFlag).
Note You need to log in before you can comment on or make changes to this bug.