WebAPI/Navigator.hasFeature

From MozillaWiki
< WebAPI
Revision as of 01:03, 14 March 2014 by Ehsan (talk | contribs) (Created page with "= Navigator.hasFeature API = == Use Cases == We have a number of use cases for detecting features in the platform which are not directly detectible through the usual way of f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Navigator.hasFeature API

Use Cases

We have a number of use cases for detecting features in the platform which are not directly detectible through the usual way of feature detection (which is |"foo" in object|) because of various reasons, such as lack of sufficient permissions, or the information not being exposed through other parts of the platform, such as the amount of memory available on the device. This information is useful for Market Place because it needs to figure out whether to offer apps that will not work for the user because of things such as lack of support for a feature, not having enough memory, etc.