Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d0973b344acae5c0ff5dbf935620fb7adc571d7
      
https://github.com/WebKit/WebKit/commit/7d0973b344acae5c0ff5dbf935620fb7adc571d7
  Author: Ryan Reno <[email protected]>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    R 
LayoutTests/intersection-observer/observations-queue-a-task-to-notify-expected.txt
    R LayoutTests/intersection-observer/observations-queue-a-task-to-notify.html
    M Source/WebCore/dom/ContentVisibilityDocumentState.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/TaskSource.h
    M Source/WebCore/html/LazyLoadImageObserver.cpp
    M Source/WebCore/page/IntersectionObserver.cpp
    M Source/WebCore/page/IntersectionObserver.h

  Log Message:
  -----------
  Revert 296279@main: Caused a page load speed regression on older iPhones
https://bugs.webkit.org/show_bug.cgi?id=295726
rdar://154856800

Unreviewed revert of a perf regression.

296279@main moved intersection observations into a queued task instead of 
executing
the callback synchronously when the intersection was observed. This seems to 
have caused
a page load speed regression on some sites in PLT on older iPhones. Reverting 
for now.

* 
LayoutTests/intersection-observer/observations-queue-a-task-to-notify-expected.txt:
 Removed.
* LayoutTests/intersection-observer/observations-queue-a-task-to-notify.html: 
Removed.
* Source/WebCore/dom/ContentVisibilityDocumentState.cpp:
(WebCore::ContentVisibilityDocumentState::intersectionObserver):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateIntersectionObservations):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/TaskSource.h:
* Source/WebCore/html/LazyLoadImageObserver.cpp:
(WebCore::LazyLoadImageObserver::intersectionObserver):
* Source/WebCore/page/IntersectionObserver.cpp:
(WebCore::IntersectionObserver::create):
(WebCore::IntersectionObserver::IntersectionObserver):
(WebCore::IntersectionObserver::updateObservations):
* Source/WebCore/page/IntersectionObserver.h:
(WebCore::IntersectionObserver::notificationDelivery const): Deleted.

Canonical link: https://commits.webkit.org/297262@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

Reply via email to