mozilla/fireplace — pull request #794 by diox (2014-11-13 18:08:24+00:00)
Title: Re-implement feature detection using getFeature() (bug 1097424, bug 1097429)

- Since getFeature() is a privileged API, this is only used in Firefox OS, and only from the iframed app.
- For now, only a very limited subset of features are detected, the rest are always set to true.

This needs tests, but I'm running out of time for today so submitting the PR to get feedback. The iframed app is untested anyway (and difficult to test) so there is not much missing.