Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6a73d5ec81854ec32d292752e190b7afe920d5b3
https://github.com/WebKit/WebKit/commit/6a73d5ec81854ec32d292752e190b7afe920d5b3
Author: Jer Noble <[email protected]>
Date: 2026-06-09 (Tue, 09 Jun 2026)
Changed paths:
M Source/WebCore/dom/Document.cpp
Log Message:
-----------
REGRESSION(311380@main): CRASH in
WebCore::LazyLoadVideoObserver::~LazyLoadVideoObserver()
rdar://178836735
https://bugs.webkit.org/show_bug.cgi?id=316726
Reviewed by Eric Carlson.
When the LazyLoadVideoObserver destructor is called from the Document
destructor, it can re-entrantly call back into the half-destroyed document by
way of IntersectionObserver and m_implicitRootDacument. Rather than destroy
LazyLoadVideoObserver at destructor time, disconnect it first in
Document::commonTeardown() where the re-entrant call back into Document is
still relatively safe.
Canonical link: https://commits.webkit.org/314874@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications