[webkit-changes] [WebKit/WebKit] 904359: Reintroduce LazyIframeLoadingEnabled preference fo...

Anne van Kesteren noreply at github.com
Wed Feb 12 10:11:07 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9043596f087939ed558775944f185c99f56624e0
      https://github.com/WebKit/WebKit/commit/9043596f087939ed558775944f185c99f56624e0
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M LayoutTests/platform/mac-wk1/TestExpectations
    M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt
    M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-multiple-queued-navigations-expected.txt
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/html/HTMLIFrameElement.cpp
    M Source/WebCore/html/HTMLIFrameElement.idl

  Log Message:
  -----------
  Reintroduce LazyIframeLoadingEnabled preference for WebKitLegacy
https://bugs.webkit.org/show_bug.cgi?id=287542
rdar://144668714

Reviewed by Jonathan Bedard.

In 288664 at main we removed this preference that was enabled for
WebKitLegacy, but was disabled for WebKitLegacy in testing. This later
revealed a crash in testing that would have already applied to shipping
WebKitLegacy as it was never disabled there.

So now we reintroduce the preference, but clearly mark it as unsuitable
for WebKitLegacy and upgrade it from stable to mature.

* LayoutTests/platform/mac-wk1/TestExpectations:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-multiple-queued-navigations-expected.txt:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::shouldLoadFrameLazily):
* Source/WebCore/html/HTMLIFrameElement.idl:

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



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


More information about the webkit-changes mailing list