Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 811414ccc1d605644b63daf5a173ae1463a38f8e
      
https://github.com/WebKit/WebKit/commit/811414ccc1d605644b63daf5a173ae1463a38f8e
  Author: Jessica Lee <[email protected]>
  Date:   2026-08-13 (Thu, 13 Aug 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-nested-cross-site.sub-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-nested-cross-site.sub.html
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-siblings-cross-site.sub-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-siblings-cross-site.sub.html
    A 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/resources/iframe-loading-lazy-nested-subframe.sub.html
    M LayoutTests/tests-options.json
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Add tests to check lazy-loading frames from multiple, distinct cross-site 
sites
https://bugs.webkit.org/show_bug.cgi?id=321350
rdar://184384527

Reviewed by Sihui Liu and Kiet Ho.

Adding iframe-loading-lazy-siblings-cross-site and 
iframe-loading-lazy-nested-cross-site which
check lazy-loading across 3 distinct sites.

Non-deterministic IPC timing sometimes caused the intersection to be computed 
before layout, in which the
target becomes a zero-area rect that counts as intersecting and which results 
in a deferred frame being
loaded eagerly. The fix is to copy the existing guard from 
Document::updateIntersectionObservers() to
Document::updateRemoteIntersectionObservers().

Tests: 
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-nested-cross-site.sub.html
       
imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-siblings-cross-site.sub.html

* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-nested-cross-site.sub-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-nested-cross-site.sub.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-siblings-cross-site.sub-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/iframe-loading-lazy-siblings-cross-site.sub.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross-site/resources/iframe-loading-lazy-nested-subframe.sub.html:
 Added.
* LayoutTests/tests-options.json:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateRemoteIntersectionObservers):

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



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

Reply via email to