Overview.src.html
changeset 26 381a000f6e48
parent 25 914cfd6e0f75
child 27 ab7a04f3700a
--- a/Overview.src.html	Wed Jun 27 11:26:38 2012 +0200
+++ b/Overview.src.html	Mon Jul 09 11:28:29 2012 +0100
@@ -423,7 +423,7 @@
   DOMString body;
   <span>NotificationDirection</span> bodyDir = "auto";
   DOMString tag;
-  DOMString iconUrl;
+  DOMString icon;
 };
 
 enum <dfn>NotificationPermission</dfn> {
@@ -470,9 +470,9 @@
  <li><p>If <var title>options</var>'s <code title>tag</code> is present, set
  <var title>notification</var>'s <span>tag</span> to <code title>tag</code>.
 
- <li><p>If <var title>options</var>'s <code title>iconUrl</code> is present,
+ <li><p>If <var title>options</var>'s <code title>icon</code> is present,
  <span title="resolve a URL" data-anolis-spec=html>resolve</span>
- <code title>iconUrl</code> against the
+ <code title>icon</code> against the
  <span data-anolis-spec=html>entry script</span>'s
  <span title="script's base URL" data-anolis-spec=html>base URL</span>, and
  if that does not fail, set
@@ -592,7 +592,7 @@
 <p>In the following example, this event is used to guarantee that regardless
 of when the notification is shown, it is displayed for only 15 seconds.
 
-<pre class="example">var notification = new Notification("New Email Received", { iconUrl: "mail.png" })
+<pre class="example">var notification = new Notification("New Email Received", { icon: "mail.png" })
 notification.onshow = function() { setTimeout(notification.close, 15000) }</pre>
 
 <p>The <code title=event-close>close</code> events dispatches when the
@@ -602,7 +602,7 @@
 <p>In the following example, when a meeting reminder notification is
 acknowledged, the application suppresses other forms of reminders.
 
-<pre class="example">var notification = new Notification("Meeting about to begin", { iconUrl: "calendar.gif", body: "Room 101" })
+<pre class="example">var notification = new Notification("Meeting about to begin", { icon: "calendar.gif", body: "Room 101" })
 notification.onclose = function(event) { cancelReminders(event) }</pre>