[html5] r1553 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed May 7 17:25:56 PDT 2008


Author: ianh
Date: 2008-05-07 17:25:55 -0700 (Wed, 07 May 2008)
New Revision: 1553

Modified:
   index
   source
Log:
[e] (0) Remove the untestable mention of U+0000 in application caches. Make it clear that the cache API returns URIs. Grammar fixes.

Modified: index
===================================================================
--- index	2008-05-08 00:22:32 UTC (rev 1552)
+++ index	2008-05-08 00:25:55 UTC (rev 1553)
@@ -29552,8 +29552,10 @@
     <p>The user agent must decode the bytestream corresponding with the
      manifest to be parsed, treating it as UTF-8. Bytes or sequences of bytes
      that are not valid UTF-8 sequences must be interpreted as a U+FFFD
-     REPLACEMENT CHARACTER. All U+0000 NULL characters must be replaced by
-     U+FFFD REPLACEMENT CHARACTERs.
+     REPLACEMENT CHARACTER. <!--All U+0000 NULL characters must
+   be replaced by U+FFFD REPLACEMENT CHARACTERs. (this isn't black-box
+   testable since neither U+0000 nor U+FFFD are valid anywhere in the
+   syntax and thus both will be treated the same anyway)-->
 
    <li>
     <p>Let <var title="">explicit URIs</var> be an initially empty list of <a
@@ -30449,9 +30451,9 @@
    href="#length6">length</a></code>-1</span>.
 
   <p>The <dfn id=itemindex4 title=dom-appcache-item><code>item(<var
-   title="">index</var>)</code></dfn> method must return the <a
-   href="#dynamic3" title=concept-appcache-dynamic>dynamic entries</a> with
-   index <var title="">index</var> from the <a
+   title="">index</var>)</code></dfn> method must return the absolute URI of
+   the <a href="#dynamic3" title=concept-appcache-dynamic>dynamic entry</a>
+   with index <var title="">index</var> from the <a
    href="#application0">application cache</a>, if one is associated with the
    <code><a href="#applicationcache">ApplicationCache</a></code> object. If
    the object is not associated with any application cache, or if the <var

Modified: source
===================================================================
--- source	2008-05-08 00:22:32 UTC (rev 1552)
+++ source	2008-05-08 00:25:55 UTC (rev 1553)
@@ -27394,8 +27394,10 @@
    <li><p>The user agent must decode the bytestream corresponding with
    the manifest to be parsed, treating it as UTF-8. Bytes or sequences
    of bytes that are not valid UTF-8 sequences must be interpreted as
-   a U+FFFD REPLACEMENT CHARACTER. All U+0000 NULL characters must be
-   replaced by U+FFFD REPLACEMENT CHARACTERs.</p></li>
+   a U+FFFD REPLACEMENT CHARACTER. <!--All U+0000 NULL characters must
+   be replaced by U+FFFD REPLACEMENT CHARACTERs. (this isn't black-box
+   testable since neither U+0000 nor U+FFFD are valid anywhere in the
+   syntax and thus both will be treated the same anyway)--></p></li>
 
    <li><p>Let <var title="">explicit URIs</var> be an initially empty
    list of <span title="concept-appcache-explicit">explicit
@@ -28313,15 +28315,16 @@
   title="dom-appcache-length">length</code>-1</span>.</p>
 
   <p>The <dfn title="dom-appcache-item"><code>item(<var
-  title="">index</var>)</code></dfn> method must return the <span
-  title="concept-appcache-dynamic">dynamic entries</span> with index
-  <var title="">index</var> from the <span>application cache</span>,
-  if one is associated with the <code>ApplicationCache</code>
-  object. If the object is not associated with any application cache,
-  or if the <var title="">index</var> argument is lower than zero or
-  greater than <span><code
-  title="dom-appcache-length">length</code>-1</span>, the method must
-  instead raise an <code>INDEX_SIZE_ERR</code> exception.</p>
+  title="">index</var>)</code></dfn> method must return the absolute
+  URI of the <span title="concept-appcache-dynamic">dynamic
+  entry</span> with index <var title="">index</var> from the
+  <span>application cache</span>, if one is associated with the
+  <code>ApplicationCache</code> object. If the object is not
+  associated with any application cache, or if the <var
+  title="">index</var> argument is lower than zero or greater than
+  <span><code title="dom-appcache-length">length</code>-1</span>, the
+  method must instead raise an <code>INDEX_SIZE_ERR</code>
+  exception.</p>
 
   <p>The <dfn title="dom-appcache-add"><code>add(<var
   title="">uri</var>)</code></dfn> method must run the following




More information about the Commit-Watchers mailing list