<?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>17687</bug_id>
          
          <creation_ts>2012-07-04 08:33:33 +0000</creation_ts>
          <short_desc>appcache: When resources are downloaded from the server because of the manifest file, the referrer should be set accordingly</short_desc>
          <delta_ts>2014-09-19 17:52:26 +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>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#downloading-or-updating-an-application-cache</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>adrianba</cc>
    
    <cc>ap</cc>
    
    <cc>eoconnor</cc>
    
    <cc>eric</cc>
    
    <cc>franko</cc>
    
    <cc>ian</cc>
    
    <cc>james</cc>
    
    <cc>jonas</cc>
    
    <cc>jrossi</cc>
    
    <cc>michaeln</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>myfacebook</cc>
    
    <cc>roc</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69631</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-04 08:33:33 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html
Multipage: http://www.whatwg.org/C#downloading-or-updating-an-application-cache
Complete: http://www.whatwg.org/c#downloading-or-updating-an-application-cache

Comment:
When resources are downloaded from the server because of the manifest file,
the referrer should be set accordingly

Posted from: 90.146.74.58 by simon.schatka@compuware.com
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71027</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:56:42 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18280 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77120</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-25 20:03:06 +0000</bug_when>
    <thetext>IE and Gecko use the URL of the Document object of (one of) the resource(s) that referenced the manifest. Opera and Webkit use &quot;&quot;.

Neither really makes much sense, but I don&apos;t want to chose a third option without first checking that nobody minds. Otherwise I&apos;ll spec it so it&apos;s the document URL like IE and Gecko.

Anyone have an opinion?

Demo: http://www.hixie.ch/tests/adhoc/html/offline/005.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78808</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-26 04:52:34 +0000</bug_when>
    <thetext>The problem with using the Document URL is that there might be multiple Documents causing the same cache to be updated at the same time.

The problem with using the manifest URL (or indeed, &quot;&quot;) is that if two Documents that both refer to the same cache are loaded at the same time, they might both request images from the network both before and after the cache update starts, and so we&apos;d end up with some images from the Documents (it being before we know they&apos;re in the cache) and some from the manifest.

The first problem is probably less bad, except what if the manifest is being updated unrelated to any particular document or other?

:-/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109231</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-23 21:07:05 +0000</bug_when>
    <thetext>I really don&apos;t think either the Document or &quot;&quot; is the right answer. Maybe the manifest? But then no browsers are conforming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111089</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-09-05 18:07:07 +0000</bug_when>
    <thetext>I guess using the manifest doesn&apos;t stop the problem of the Referer changing half-way through a load.

I&apos;ll go with the empty string, unless someone objects first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111816</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-09-19 17:52:26 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8791.
Check-in comment: Make appcache requests have no referrer, since it&apos;s not clear what referrer to use.
https://html5.org/tools/web-apps-tracker?from=8790&amp;to=8791</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>