Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gw] (2) Fire 'noupdate' for all browsing contexts, not just the new …
…ones. (credit: ap)

git-svn-id: http://svn.whatwg.org/webapps@2715 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 28, 2009
1 parent 15a56e6 commit fa75d24
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
19 changes: 10 additions & 9 deletions index
Expand Up @@ -37351,22 +37351,23 @@ style/default.css</pre>
<p>Otherwise, associate the <code>Document</code> for this entry
with <var title="">cache</var>; store the resource for this
entry in <var title="">cache</var>, if it isn't already there,
and categorize its entry as a <a href=#concept-appcache-master title=concept-appcache-master>master entry</a>; and
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
called <code title=event-noupdate>noupdate</code> at the
<code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
context</a> whose <a href=#active-document>active document</a> is the
<code>Document</code> for this entry, if there still is one. The
default action of this event should be the display of some sort
of user interface indicating to the user that the application is
up to date.</p>
and categorize its entry as a <a href=#concept-appcache-master title=concept-appcache-master>master entry</a>.</p>

<p class=note>HTTP caching rules, such as <code title="">Cache-Control: no-store</code>, are ignored for the
purposes of the <a href=#application-cache-update-process>application cache update
process</a>.</p>

</li>

<li><p>For each <a href=#browsing-context>browsing context</a> whose <a href=#active-document>active
document</a> is associated with an <a href=#application-cache>application
cache</a> in <var title="">cache group</var>, <a href=#queue-a-task>queue a
task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-noupdate>noupdate</code> at the
<code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
context</a>. The default action of these events should be the
display of some sort of user interface indicating to the user
that the application is up to date.</li>

<li><p>Empty <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master
entries</a>.</li>

Expand Down
20 changes: 11 additions & 9 deletions source
Expand Up @@ -42499,15 +42499,7 @@ style/default.css</pre>
with <var title="">cache</var>; store the resource for this
entry in <var title="">cache</var>, if it isn't already there,
and categorize its entry as a <span
title="concept-appcache-master">master entry</span>; and
<span>queue a task</span> to <span>fire a simple event</span>
called <code title="event-noupdate">noupdate</code> at the
<code>ApplicationCache</code> singleton of the <span>browsing
context</span> whose <span>active document</span> is the
<code>Document</code> for this entry, if there still is one. The
default action of this event should be the display of some sort
of user interface indicating to the user that the application is
up to date.</p>
title="concept-appcache-master">master entry</span>.</p>

<p class="note">HTTP caching rules, such as <code
title="">Cache-Control: no-store</code>, are ignored for the
Expand All @@ -42516,6 +42508,16 @@ style/default.css</pre>

</li>

<li><p>For each <span>browsing context</span> whose <span>active
document</span> is associated with an <span>application
cache</span> in <var title="">cache group</var>, <span>queue a
task</span> to <span>fire a simple event</span> called <code
title="event-noupdate">noupdate</code> at the
<code>ApplicationCache</code> singleton of the <span>browsing
context</span>. The default action of these events should be the
display of some sort of user interface indicating to the user
that the application is up to date.</p></li>

<li><p>Empty <var title="">cache group</var>'s <span
title="concept-appcache-pending-masters">list of pending master
entries</span>.</p></li>
Expand Down

0 comments on commit fa75d24

Please sign in to comment.