Overview.src.html
changeset 18 93c6983ce465
parent 17 cf99a4f443ee
child 19 86086a7b2302
--- a/Overview.src.html	Wed Jun 20 15:35:26 2012 +0200
+++ b/Overview.src.html	Wed Jun 20 15:45:10 2012 +0200
@@ -202,15 +202,13 @@
 delivery of email.
 
 <p>Each <span title=concept-notification>notification</span> has a
-<dfn>title</dfn> (string). For specification simplicity each
+<dfn>title</dfn> and an <dfn>origin</dfn>. For specification simplicity each
 <span title=concept-notification>notification</span> also has a
 <dfn>title direction</dfn> and <dfn>body direction</dfn>, both of which are
 initially "<code title>auto</code>".
 
 <p>Each <span title=concept-notification>notification</span> <em>can</em>
-have an associated <dfn>body</dfn> (string),
-<dfn>tag</dfn>  ((string, <span data-anolis-spec=origin>origin</span>) tuple),
-and <dfn>icon URL</dfn> (<span data-anolis-spec=html>URL</span>).
+have an associated <dfn>body</dfn>, <dfn>tag</dfn>, and <dfn>icon URL</dfn>.
 
 
 <h3>Permission</h3>
@@ -251,21 +249,21 @@
 <p>The <dfn>show steps</dfn> for a given <var title>notification</var> are:
 
 <ol>
- <li><p>If <span>permission</span> for the current
- <span data-anolis-spec=origin>origin</span> is not
- "<code title>granted</code>", cancel any ongoing
+ <li><p>If <span>permission</span> for <var title>notification</var>'s
+ <span>origin</span> is not "<code title>granted</code>", cancel any ongoing
  <span data-anolis-spec=html>fetch</span> for
  <var title>notification</var>'s <span>icon URL</span>,
  <span data-anolis-spec=html>queue a task</span> to
- <span data-anolis-spec=dom title=concept-event-fire>fire an event</span> named
- <code title>error</code> on <var title>notification</var>, and terminate
- these steps.
+ <span data-anolis-spec=dom title=concept-event-fire>fire an event</span>
+ named <code title>error</code> on <var title>notification</var>, and
+ terminate these steps.
 
  <li><p>If there is a <span title=concept-notification>notification</span>
  in the <span>list of pending notifications</span> or the
  <span>list of active notifications</span> whose <span>tag</span> equals
- <var title>notification</var>'s <span>tag</span>, run the
- <span>replace steps</span> for that
+ <var title>notification</var>'s <span>tag</span> and whose
+ <span>origin</span> equals <var title>notification</var>'s
+ <span>origin</span> , run the <span>replace steps</span> for that
  <span title=concept-notification>notification</span> and
  <var title>notification</var>, and then terminate these steps.
 
@@ -445,6 +443,9 @@
  <var title>title</var>,
  <span data-anolis-spec=webidl title="convert a DOMString to a sequence of Unicode characters">converted to Unicode</span>.
 
+ <li><p>Set <var title>notifications</var>'s <span>origin</span> to the
+ current <span data-anolis-spec=origin>origin</span>.
+
  <li><p>If <var title>options</var> is not omitted and its
  <code title>titleDir</code> member is not null, set
  <var title>notification</var>'s <span>title direction</span> to
@@ -462,8 +463,7 @@
 
  <li><p>If <var title>options</var> is not omitted and its
  <code title>tag</code> is not null, set <var title>notification</var>'s
- <span>tag</span> to
- (<code title>tag</code>, current <span data-anolis-spec=origin>origin</span>).
+ <span>tag</span> to <code title>tag</code>.
 
  <li><p>If <var title>options</var> is not omitted and its
  <code title>iconUrl</code> is not null, set <var title>notification</var>'s