Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7737c68ff27119f121322fb9d7f745584315d922
      
https://github.com/WebKit/WebKit/commit/7737c68ff27119f121322fb9d7f745584315d922
  Author: Ben Nham <[email protected]>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    A 
LayoutTests/http/tests/site-isolation/intersection-observer/remote-observer-document-leak-expected.txt
    A 
LayoutTests/http/tests/site-isolation/intersection-observer/remote-observer-document-leak.html
    A 
LayoutTests/http/tests/site-isolation/intersection-observer/resources/remote-observer-document-leak-frame.html
    A 
LayoutTests/http/tests/site-isolation/intersection-observer/resources/remote-observer-document-leak-subframe.html
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  [Site Isolation] Disconnect remote intersection observers when owning 
document is destroyed
https://bugs.webkit.org/show_bug.cgi?id=323814
rdar://187055922

Reviewed by Kiet Ho.

308143@main split the document's vector of IntersectionObservers in to a local 
and a remote
vector. However, it only disconnected the local observers when the document was 
destroyed. We should
also disconnect the remote observers.

Test: 
http/tests/site-isolation/intersection-observer/remote-observer-document-leak.html

* 
LayoutTests/http/tests/site-isolation/intersection-observer/remote-observer-document-leak-expected.txt:
 Added.
* 
LayoutTests/http/tests/site-isolation/intersection-observer/remote-observer-document-leak.html:
 Added.
* 
LayoutTests/http/tests/site-isolation/intersection-observer/resources/remote-observer-document-leak-frame.html:
 Added.
* 
LayoutTests/http/tests/site-isolation/intersection-observer/resources/remote-observer-document-leak-subframe.html:
 Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::~Document):
(WebCore::Document::commonTeardown):

Canonical link: https://commits.webkit.org/320838@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to