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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24597</bug_id>
          
          <creation_ts>2014-02-10 12:09:35 +0000</creation_ts>
          <short_desc>Maybe make the &lt;img&gt; fetch outlive the document (like ping)</short_desc>
          <delta_ts>2019-03-29 21:04:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#update-the-image-data</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100138</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-02-10 12:09:35 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html
Multipage: http://www.whatwg.org/C#update-the-image-data
Complete: http://www.whatwg.org/c#update-the-image-data
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Maybe make the fetch outlive the document (like ping), see
http://www.w3.org/mid/73D56449-E4C2-4206-A5D0-136720F5747D@apple.com

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.90 Safari/537.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100204</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-10 21:12:32 +0000</bug_when>
    <thetext>Is that reliably implemented by everyone?

If so, Fetch is going to need to provide an explicit &quot;keep this alive even if it&apos;s no longer got a Document&quot; mode, because &lt;img&gt; loads can&apos;t be unrelated to their Document, obviously.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100269</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-11 13:25:49 +0000</bug_when>
    <thetext>Currently Fetch makes it the task of HTML to clean up after itself. E.g. during document unloading you could go through your list of outstanding fetches and terminate them all. You&apos;ll need to keep a list anyway for specifications such as http://www.w3c-test.org/webperf/specs/ResourceTiming/ although they probably have not thought about proper integration yet...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100319</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-11 19:50:22 +0000</bug_when>
    <thetext>I&apos;m not aware of any issue relating to Resource Timing, can you file a bug if that needs integration on the HTML side?

Anyway, I guess I can just manually label each fetch task on my side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100401</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-12 14:54:51 +0000</bug_when>
    <thetext>I emailed http://lists.w3.org/Archives/Public/public-web-perf/2014Feb/0029.html to them. Hopefully they can take responsibility and file bugs. I suppose they might file against W3C HTML :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123261</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-21 08:29:02 +0000</bug_when>
    <thetext>I think this requires adding &quot;keep-alive flag&quot; to the request instances used for &lt;img&gt;. Seems fairly straightforward.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123262</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-09-21 09:06:28 +0000</bug_when>
    <thetext>Need to investigate if this happens for all images or just those created at unload-time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129693</commentid>
    <comment_count>7</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2019-03-29 21:04:01 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/1655</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>