Title: [266127] trunk
Revision
266127
Author
[email protected]
Date
2020-08-25 09:44:25 -0700 (Tue, 25 Aug 2020)

Log Message

Add setting for lazy iframe loading
https://bugs.webkit.org/show_bug.cgi?id=215566

Patch by Rob Buis <[email protected]> on 2020-08-25
Reviewed by Youenn Fablet.

Source/WebCore:

Add setting for lazy iframe loading, disabling it until
this feature is implemented.

* page/Settings.yaml:

LayoutTests:

Enable the lazy iframe loading setting in testharnessreport.js for the iframe lazy
loading WPT tests in html/semantics/embedded-content/the-iframe-element.

* resources/testharnessreport.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (266126 => 266127)


--- trunk/LayoutTests/ChangeLog	2020-08-25 16:43:04 UTC (rev 266126)
+++ trunk/LayoutTests/ChangeLog	2020-08-25 16:44:25 UTC (rev 266127)
@@ -1,3 +1,15 @@
+2020-08-25  Rob Buis  <[email protected]>
+
+        Add setting for lazy iframe loading
+        https://bugs.webkit.org/show_bug.cgi?id=215566
+
+        Reviewed by Youenn Fablet.
+
+        Enable the lazy iframe loading setting in testharnessreport.js for the iframe lazy
+        loading WPT tests in html/semantics/embedded-content/the-iframe-element.
+
+        * resources/testharnessreport.js:
+
 2020-08-25  Hector Lopez  <[email protected]>
 
          macOS Debug ] webaudio/webaudio-gc.html is a flaky crash.

Modified: trunk/LayoutTests/resources/testharnessreport.js (266126 => 266127)


--- trunk/LayoutTests/resources/testharnessreport.js	2020-08-25 16:43:04 UTC (rev 266126)
+++ trunk/LayoutTests/resources/testharnessreport.js	2020-08-25 16:44:25 UTC (rev 266127)
@@ -30,6 +30,8 @@
             Object.defineProperty(self, "OfflineAudioContext", Object.getOwnPropertyDescriptor(self, "webkitOfflineAudioContext"));
         if (window.webkitAudioPannerNode && !window.PannerNode)
             Object.defineProperty(self, "PannerNode", Object.getOwnPropertyDescriptor(self, "webkitAudioPannerNode"));
+        if (self.internals)
+            internals.settings.setLazyIframeLoadingEnabled(location.pathname.indexOf('iframe-loading-lazy') !== -1);
     }
 
     if (testRunner.setStatisticsShouldDowngradeReferrer) 

Modified: trunk/Source/WebCore/ChangeLog (266126 => 266127)


--- trunk/Source/WebCore/ChangeLog	2020-08-25 16:43:04 UTC (rev 266126)
+++ trunk/Source/WebCore/ChangeLog	2020-08-25 16:44:25 UTC (rev 266127)
@@ -1,3 +1,15 @@
+2020-08-25  Rob Buis  <[email protected]>
+
+        Add setting for lazy iframe loading
+        https://bugs.webkit.org/show_bug.cgi?id=215566
+
+        Reviewed by Youenn Fablet.
+
+        Add setting for lazy iframe loading, disabling it until
+        this feature is implemented.
+
+        * page/Settings.yaml:
+
 2020-08-25  Zalan Bujtas  <[email protected]>
 
         [LFC][IFC] The initial alignment baseline is always set by the strut

Modified: trunk/Source/WebCore/page/Settings.yaml (266126 => 266127)


--- trunk/Source/WebCore/page/Settings.yaml	2020-08-25 16:43:04 UTC (rev 266126)
+++ trunk/Source/WebCore/page/Settings.yaml	2020-08-25 16:44:25 UTC (rev 266127)
@@ -346,6 +346,8 @@
   initial: false
 notificationsEnabled:
   initial: true
+lazyIframeLoadingEnabled:
+  initial: false
 
 # Some apps needs isLoadingInAPISense to account for active subresource loaders.
 needsIsLoadingInAPISenseQuirk:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to