<?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>15562</bug_id>
          
          <creation_ts>2012-01-15 03:30:11 +0000</creation_ts>
          <short_desc>It&apos;s unfortunate that URLs in the manifest must have the same scheme as the manifest itself. This prohibits listing https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js in a manifest that may be served over either http or https and prohibits p</short_desc>
          <delta_ts>2012-07-18 18:39:24 +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>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#writing-cache-manifests</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>ian</cc>
    
    <cc>jyasskin</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62725</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-01-15 03:30:11 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html
Multipage: http://www.whatwg.org/C#writing-cache-manifests
Complete: http://www.whatwg.org/c#writing-cache-manifests

Comment:
It&apos;s unfortunate that URLs in the manifest must have the same scheme as the
manifest itself. This prohibits listing
https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js in a manifest
that may be served over either http or https and prohibits putting manifests
in data URIs at all.

Posted from: 70.36.140.65
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.16 (KHTML, like Gecko) Chrome/18.0.1003.1 Safari/535.16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62726</commentid>
    <comment_count>1</comment_count>
    <who name="Jeffrey Yasskin">jyasskin</who>
    <bug_when>2012-01-15 03:34:49 +0000</bug_when>
    <thetext>Specifically, I was trying to use a manifest to make http://cxx1y-range.googlecode.com/git/paper.html cache jquery for use offline. This file will eventually live in http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/ where I only get to control a single file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63783</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-02-06 23:35:30 +0000</bug_when>
    <thetext>Manifests in data: URLs makes no sense, since they couldn&apos;t be updated, so the cache would never ever be updated even if the server went away altogether, or changed ownership, or whatnot.

Not being able to reference a secure URL from an insecure manifest is a problem, true. It&apos;s not really clear to me why you&apos;d bother with encrypting a library if the rest isn&apos;t encrypted though. So I don&apos;t think this is compelling enough to relax the restriction.

The restriction is primarily intended to protect against the opposite case, an https:// manifest using unencrypted resources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63808</commentid>
    <comment_count>3</comment_count>
    <who name="Jeffrey Yasskin">jyasskin</who>
    <bug_when>2012-02-07 07:02:18 +0000</bug_when>
    <thetext>You would update a manifest found in a data: url by refetching the whole document that contained the data: url.

You&apos;d bother with encrypting a library if the rest isn&apos;t encrypted so that you can keep the same &apos;src&apos; attribute for documents that could be accessed over either http or https. Not everyone generates different HTML for serving over SSL vs non-SSL.

But I just wanted to raise the issue. I won&apos;t reply further if you still disagree.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>