hixie: disk space limitations for appcache (whatwg r5287)

hixie: disk space limitations for appcache (whatwg r5287)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4212&r2=1.4213&f=h
http://html5.org/tools/web-apps-tracker?from=5286&to=5287

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4212
retrieving revision 1.4213
diff -u -d -r1.4212 -r1.4213
--- Overview.html 12 Aug 2010 20:32:43 -0000 1.4212
+++ Overview.html 12 Aug 2010 22:28:44 -0000 1.4213
@@ -966,8 +966,9 @@
      <li><a href="#the-application-cache-selection-algorithm"><span class="secno">5.6.5 </span>The application cache selection algorithm</a></li>
      <li><a href="#changesToNetworkingModel"><span class="secno">5.6.6 </span>Changes to the networking model</a></li>
      <li><a href="#expiring-application-caches"><span class="secno">5.6.7 </span>Expiring application caches</a></li>
-     <li><a href="#application-cache-api"><span class="secno">5.6.8 </span>Application cache API</a></li>
-     <li><a href="#browser-state"><span class="secno">5.6.9 </span>Browser state</a></ol></ol></li>
+     <li><a href="#disk-space"><span class="secno">5.6.8 </span>Disk space</a></li>
+     <li><a href="#application-cache-api"><span class="secno">5.6.9 </span>Application cache API</a></li>
+     <li><a href="#browser-state"><span class="secno">5.6.10 </span>Browser state</a></ol></ol></li>
  <li><a href="#webappapis"><span class="secno">6 </span>Web application APIs</a>
   <ol>
    <li><a href="#scripting"><span class="secno">6.1 </span>Scripting</a>
@@ -45521,8 +45522,19 @@
 
      </li>
 
-     <li><p>Otherwise, the fetching succeeded. Store the resource in
-     the <var title="">new cache</var>.</li>
+     <li>
+
+      <p>Otherwise, the fetching succeeded. Store the resource in
+      the <var title="">new cache</var>.</p>
+
+      <p>If the user agent is not able to store the resource (e.g.
+      because of quota restrictions), the user agent may prompt the
+      user or try to resolve the problem in some other manner (e.g.
+      automatically pruning content in other caches). If the problem
+      cannot be resolved, the user agent must run the <a href="#cache-failure-steps">cache
+      failure steps</a>.</p>
+
+     </li>
 
      <li><p>If the URL being processed was flagged as an "explicit
      entry" in <var title="">file list</var>, then categorize the
@@ -45954,7 +45966,12 @@
   origin-specific data.<p class="example">For example, a user agent could have a "delete
   site-specific data" feature that clears all cookies, application
   caches, local storage, databases, etc, from an origin all at
-  once.<h4 id="application-cache-api"><span class="secno">5.6.8 </span>Application cache API</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><pre class="idl">interface <dfn id="applicationcache">ApplicationCache</dfn> {
+  once.<h4 id="disk-space"><span class="secno">5.6.8 </span>Disk space</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>User agents should consider applying constraints on disk usage of
+  <a href="#application-cache" title="application cache">application caches</a>, and care
+  should be taken to ensure that the restrictions cannot be easily
+  worked around using subdomains.<p>User agents should allow users to see how much space each domain
+  is using, and may offer the user the ability to delete specific
+  <a href="#application-cache" title="application cache">application caches</a>.<h4 id="application-cache-api"><span class="secno">5.6.9 </span>Application cache API</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><pre class="idl">interface <dfn id="applicationcache">ApplicationCache</dfn> {
 
   // <a href="#concept-appcache-status" title="concept-appcache-status">update status</a>
   const unsigned short <a href="#dom-appcache-uncached" title="dom-appcache-UNCACHED">UNCACHED</a> = 0;
@@ -46168,7 +46185,7 @@
     <tr><td><dfn id="handler-appcache-onupdateready" title="handler-appcache-onupdateready"><code>onupdateready</code></dfn> <td> <code title="event-appcache-updateready"><a href="#event-appcache-updateready">updateready</a></code>
     <tr><td><dfn id="handler-appcache-oncached" title="handler-appcache-oncached"><code>oncached</code></dfn> <td> <code title="event-appcache-cached"><a href="#event-appcache-cached">cached</a></code>
     <tr><td><dfn id="handler-appcache-onobsolete" title="handler-appcache-onobsolete"><code>onobsolete</code></dfn> <td> <code title="event-appcache-obsolete"><a href="#event-appcache-obsolete">obsolete</a></code>
-  </table></div><h4 id="browser-state"><span class="secno">5.6.9 </span>Browser state</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="domintro"><dt><var title="">window</var> . <code title="dom-navigator"><a href="#dom-navigator">navigator</a></code> . <code title="dom-navigator-onLine"><a href="#dom-navigator-online">onLine</a></code></dt>
+  </table></div><h4 id="browser-state"><span class="secno">5.6.10 </span>Browser state</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="domintro"><dt><var title="">window</var> . <code title="dom-navigator"><a href="#dom-navigator">navigator</a></code> . <code title="dom-navigator-onLine"><a href="#dom-navigator-online">onLine</a></code></dt>
 
    <dd>

Received on Thursday, 12 August 2010 22:29:32 UTC