<?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>60571</bug_id>
          
          <creation_ts>2011-05-10 12:43:47 -0700</creation_ts>
          <short_desc>ApplicationCache: feature request - an https manifest should be able to list resources from other https origins.</short_desc>
          <delta_ts>2024-01-29 12:39:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>62250</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Nordman">michaeln</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>kennyluck</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>401425</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Nordman">michaeln</who>
    <bug_when>2011-05-10 12:43:47 -0700</bug_when>
    <thetext>This is explicitly disallowed by the the spec but the rationale doesn&apos;t hold up under scrutiny.

Prohibiting cross-origin HTTPS from appcaching really doesn&apos;t defend against the attack that it tried to defend against because HTTPS resources can just as easily end up in the usual browser cache. The point of excluding them is to prevent an attacker with physical access to the system from stealing those resources. But unless there&apos;s a cache-control &quot;no-store&quot; header, they&apos;ll be in the browser cache anyway.

So the feature request is allow cross-origin HTTPS resources but respect the &quot;no-store&quot; header, if that header is present the resource won&apos;t be cached and the appcache update will fail.

This has already been done in the chromium project and has been brought up on the whatwg list and public-webapps list.
http://code.google.com/p/chromium/issues/detail?id=69594</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402027</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-05-11 09:20:33 -0700</bug_when>
    <thetext>&gt; But unless there&apos;s a cache-control &quot;no-store&quot; header, they&apos;ll be in the browser cache anyway.

I&apos;m surprised to hear that, and I don&apos;t think that it&apos;s accurate in general. It&apos;s definitely not the case for Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405112</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Nordman">michaeln</who>
    <bug_when>2011-05-17 10:02:23 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; &gt; But unless there&apos;s a cache-control &quot;no-store&quot; header, they&apos;ll be in the browser cache anyway.
&gt; 
&gt; I&apos;m surprised to hear that, and I don&apos;t think that it&apos;s accurate in general. It&apos;s definitely not the case for Safari.

Chrome and Firefox will cache https resources on disk. Viewing about:cache in each of those browsers easily confirms it.

(Hey... Firefox&apos;s about:cache page looks really nice. I wonder if the WebInspector team would consider pages like these are part of their charter too.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008603</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-01-29 12:31:56 -0800</bug_when>
    <thetext>After this commit (Disable `AppCache` everywhere):

https://github.com/WebKit/WebKit/commit/6f399c42909b07a4da0c6c0d6baab1b578dd610e

Is this applicable?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008605</commentid>
    <comment_count>4</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2024-01-29 12:39:26 -0800</bug_when>
    <thetext>I plan to remove the appcache code, hopefully this week.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>