Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 026d4a3a9764a5db518f528108319dca7abdc9ce
https://github.com/WebKit/WebKit/commit/026d4a3a9764a5db518f528108319dca7abdc9ce
Author: Aleksei Marchenko <[email protected]>
Date: 2025-04-15 (Tue, 15 Apr 2025)
Changed paths:
M Source/WebCore/Modules/model-element/HTMLModelElement.cpp
Log Message:
-----------
HTMLModelElement: fixes crash on model player creation during visibility
change
https://bugs.webkit.org/show_bug.cgi?id=291540
rdar://149030547
Reviewed by Ryosuke Niwa.
Checks if renderer is valid during contentSize() call, since there is
no guarantee for its availability. Also, subscribes for visibility
changes in insertedIntoAncestor() to make sure the element is notified
when in connected state. removedFromAncestor() is updated accordingly.
* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::m_environmentMapReadyPromise):
(WebCore::HTMLModelElement::~HTMLModelElement):
(WebCore::HTMLModelElement::contentSize const):
(WebCore::HTMLModelElement::insertedIntoAncestor):
(WebCore::HTMLModelElement::removedFromAncestor):
Canonical link: https://commits.webkit.org/293725@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes