Overview.src.html
changeset 9 13eb4cb483c5
parent 8 f06ff848e6c0
child 10 9d74ad61c3c8
equal deleted inserted replaced
8:f06ff848e6c0 9:13eb4cb483c5
   457  <span data-anolis-spec=origin>origin</span> is acceptable. If it is, set
   457  <span data-anolis-spec=origin>origin</span> is acceptable. If it is, set
   458  <var title>permission</var> to "<code title>granted</code>", or
   458  <var title>permission</var> to "<code title>granted</code>", or
   459  "<code title>denied</code>" otherwise.
   459  "<code title>denied</code>" otherwise.
   460 
   460 
   461  <li><p><span data-anolis-spec=html>Queue a task</span> to set
   461  <li><p><span data-anolis-spec=html>Queue a task</span> to set
   462  <code title=dom-Notification-permission>permission</code> to
   462  <span>permission</span> to <var title>permission</var> and invoke
   463  <var title>permission</var> and invoke <var title>callback</var> with
   463  <var title>callback</var> with <var title>permission</var> as single
   464  <var title>permission</var> as single argument.
   464  argument.
   465 </ol>
   465 </ol>
   466 
   466 
   467 <p class=warning>In designing the platform notifications are the one
   467 <p class=warning>In designing the platform notifications are the one
   468 instance thus far where asking the user upfront makes sense. Specifications
   468 instance thus far where asking the user upfront makes sense. Specifications
   469 for other APIs should not use this pattern and instead employ one of the
   469 for other APIs should not use this pattern and instead employ one of the