Skip to content

Commit

Permalink
Add checkInstalled() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
mounirlamouri committed Nov 29, 2012
1 parent bbc7e41 commit 63fdcd4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions proposals/RunTime-Security/Overview.html
Expand Up @@ -806,6 +806,20 @@ <h2><a>ApplicationRegistry</a> interface</h2>
populate its <code>request</code> attribute with an array populate its <code>request</code> attribute with an array
containing the applications.</dd> 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> <todo>
<ul> <ul>
<li>What's the real difference between getSelf() and getInstalled()?</li> <li>What's the real difference between getSelf() and getInstalled()?</li>
Expand Down

0 comments on commit 63fdcd4

Please sign in to comment.