<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>243199</bug_id>
          
          <creation_ts>2022-07-25 22:45:08 -0700</creation_ts>
          <short_desc>Enable lazy iframe loading by default</short_desc>
          <delta_ts>2022-07-27 07:43:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243225</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>243198</dependson>
          <blocked>196698</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>beidson</cc>
    
    <cc>jensimmons</cc>
    
    <cc>rbuis</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1886692</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-07-25 22:45:08 -0700</bug_when>
    <thetext>We should, y&apos;know, have a bug for this.

rdar://97565220</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886694</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-07-25 22:52:01 -0700</bug_when>
    <thetext>Current WPT results:

/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-multiple-queued-navigations.html
  FAIL Multiple queued lazy load navigations do not crash the page - assert_true: The iframe should be navigated to the resource provided by the latest `src` mutation expected true got false
@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-multiple-queued-navigations.html:40:16
@http://web-platform.test:8000/resources/testharness.js:2590:30
@http://web-platform.test:8000/resources/testharness.js:2665:37
onload@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-multiple-queued-navigations.html:51:29

/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html
  FAIL Below-viewport srcdoc iframes load lazily - assert_true: The window load event should have fired before the below-viewport srcdoc iframe&apos;s subresource loads expected true got false
@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html:52:16
@http://web-platform.test:8000/resources/testharness.js:2590:30
@http://web-platform.test:8000/resources/testharness.js:2637:40
onload@about:srcdoc:2:55
  FAIL Below-viewport data: url iframes load lazily - assert_true: The window load event should have fired before the below-viewport data url iframe loads expected true got false
@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html:65:16
@http://web-platform.test:8000/resources/testharness.js:2590:30
@http://web-platform.test:8000/resources/testharness.js:2665:37
onload@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html:96:38
  FAIL Below-viewport blob url iframes load lazily - assert_true: The window load event should have fired before the below-viewport blob url iframe loads expected true got false
@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html:72:16
@http://web-platform.test:8000/resources/testharness.js:2590:30
@http://web-platform.test:8000/resources/testharness.js:2665:37
onload@http://web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html:100:38

The former of these is bug 243198, the latter of these I haven&apos;t actually filed (but I don&apos;t think needs to block shipping, especially while Chrome fails them: https://wpt.fyi/results/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy.html?label=master&amp;label=experimental&amp;aligned</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886774</commentid>
    <comment_count>2</comment_count>
    <who name="Jen Simmons">jensimmons</who>
    <bug_when>2022-07-26 08:15:12 -0700</bug_when>
    <thetext>Igalia, any insights into how ready this is to ship? I hear you were perhaps waiting for lazy loading on iFrames to become part of the official HTML spec — which has now happened. Does the implementation need to be updated to match the spec? Is this ready to ship?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886867</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2022-07-26 12:49:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/2748</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886936</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-07-26 16:12:18 -0700</bug_when>
    <thetext>Committed 252848@main (461deb6c6dd7): &lt;https://commits.webkit.org/252848@main&gt;

Reviewed commits have been landed. Closing PR #2748 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1887051</commentid>
    <comment_count>5</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2022-07-27 07:43:33 -0700</bug_when>
    <thetext>(In reply to Jen Simmons from comment #2)
&gt; Igalia, any insights into how ready this is to ship? I hear you were perhaps
&gt; waiting for lazy loading on iFrames to become part of the official HTML spec
&gt; — which has now happened. Does the implementation need to be updated to
&gt; match the spec? Is this ready to ship?

Yes, should be fine to ship.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>