<?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>20854</bug_id>
          
          <creation_ts>2013-02-02 11:12:38 +0000</creation_ts>
          <short_desc>appcache : fallback entries need clarification on duplicates</short_desc>
          <delta_ts>2013-04-24 16:29:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurent Perez">l.laurent.p</reporter>
          <assigned_to name="Robin Berjon">robin</assigned_to>
          <cc>cwilso</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82499</commentid>
    <comment_count>0</comment_count>
    <who name="Laurent Perez">l.laurent.p</who>
    <bug_when>2013-02-02 11:12:38 +0000</bug_when>
    <thetext>Hi

The reference http://www.w3.org/html/wg/drafts/html/master/browsers.html#concept-appcache-fallback needs to mention that fallback entries can&apos;t contain uri duplicates.

Use case : on first manifest visit, cookieless user agent may use url rewriting for resources, ie use a &quot;;jsessionid=&quot; trail or some other kind of session parameter. The uri + session trail seems to be the cache key at least on iOS devices.

The following manifest will cause Chrome 24 to fail loading the manifest, with a cryptic &quot;Application Cache Error event: Failed to commit new cache to storage&quot; error message : 

CACHE MANIFEST
/foo.php

FALLBACK:
/ /fallback.php
/ /fallback.php?sessionid=1234

NETWORK:
*

This will fail because of the duplicate /fallback.php line. Removing the second one with ?sessionid fixes the problem. I believe Chrome does not know which fallback line to use.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82648</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-02-06 21:43:58 +0000</bug_when>
    <thetext>That&apos;s just a bug in chrome. The spec allows &quot;nested&quot; fallback entries like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86690</commentid>
    <comment_count>2</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-04-24 16:29:11 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: none
Rationale: A duplicate fallback namespace is just ignored as per spec, this is just an implementation error.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>