Browse files

Add checkInstalled() method.

  • Loading branch information...
1 parent bbc7e41 commit 63fdcd40779bd78ce8ca1c568f19c7ca4bcc9145 @mounirlamouri mounirlamouri committed Nov 29, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 proposals/RunTime-Security/Overview.html
@@ -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>
<li>What's the real difference between getSelf() and getInstalled()?</li>

0 comments on commit 63fdcd4

Please sign in to comment.