Apps/testing: Difference between revisions

no edit summary
No edit summary
 
Line 52: Line 52:
*Test in unsupported versions of browser to make sure fail happens.
*Test in unsupported versions of browser to make sure fail happens.


=== Public API - navigator.apps.* ===
=== Public API - navigator.mozApps.* ===


==== Installing an app - install  ====
==== Installing an app - install  ====


*Called from non-HTML5 browser without addon.
*Called from non-HTML5 browser without addon.  
*User clicks "install", not already installed.  
*User clicks "install", not already installed.  
*User clicks "install", already installed (store diddn't know app already installed case)  
*User clicks "install", already installed (store diddn't know app already installed case)  
Line 73: Line 73:
*Successful installation.
*Successful installation.


==== App host checking whether an app is installed - amInstalled ====
==== App host checking whether an app is installed - amInstalled ====
* Called from non-HTML5 browser without addon.
* Called from origin with no apps.
* Called from origin with apps.


==== Stores checking which apps it helped install - getInstalledBy ====
*Called from non-HTML5 browser without addon.
* Called from non-HTML5 browser without addon.  
*Called from origin with no apps.
* No apps installed
*Called from origin with apps.
* One or more apps installed.
 
==== Stores checking which apps it helped install - getInstalledBy ====
 
*Called from non-HTML5 browser without addon.  
*No apps installed  
*One or more apps installed.


=== Management API - navigator.mozApps.mgmt.*  ===
=== Management API - navigator.mozApps.mgmt.*  ===
221

edits