Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add checkInstalled() method.

  • Loading branch information...
commit 63fdcd40779bd78ce8ca1c568f19c7ca4bcc9145 1 parent bbc7e41
Mounir Lamouri mounirlamouri authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 proposals/RunTime-Security/Overview.html
14 proposals/RunTime-Security/Overview.html
View
@@ -806,6 +806,20 @@
populate its <code>request</code> attribute with an array
containing the applications.</dd>
+ <dt>DOMRequest checkInstalled(DOMString manifestURL)</dt>
+ <dd>The UA SHOULD return a <a>DOMRequest</a> object and
+ asynchronously check if there is an installed application in the
+ system with a manifest URL matching <i>manifestURL</i>.<br>
+ After the asynchronous operation is done,, the IA SHOULD send a
+ <code>success</code> event to the <a>DOMRequest</a> object and
+ populate its <code>result</code> attribute with the boolean value
+ true if there is an installed application fulfilling the condition,
+ otherwise <code>result</code> should be set to false.</dd>
+
+ <todo>
+ checkInstalled() could be synchronous. Seems way more convevient.
+ </todo>
+
<todo>
<ul>
<li>What's the real difference between getSelf() and getInstalled()?</li>
Please sign in to comment.
Something went wrong with that request. Please try again.