- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 27 Apr 2016 06:41:12 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
Received on Wednesday, 27 April 2016 13:42:15 UTC
> + <h3 id="storage-manipulation">Storage Manipulation Algorithms</h3> > + > + <p> > + Other specifications can use the algorithms defined in this section to > + manipulate the <a>permission store</a> from their algorithms. > + </p> > + > + <div class="example" id="example-storage-manipulation"> > + <p> > + The [[notifications]] API can check for the user having granted > + permission using: > + </p> > + <blockquote> > + If the {{"notifications"}} <a>permission's state</a> is not > + {{"granted"}}, reject <var>promise</var> with a {{TypeError}} exception > + and terminate these substeps. It doesn't have to be, given `document.domain`. But maybe you always ignore the domain field... --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/pull/91/files/315ae14c94bbc7cc55126faa1dfb4d3a7a26e89a#r61258216
Received on Wednesday, 27 April 2016 13:42:15 UTC