mozilla/yogafire — pull request #21 by ngokevin (2014-04-30 21:38:36+00:00)
Title: [WIP] install all apps from iframe, getInstalled from iframe (bug 1003536)

[latest iframe file](http://ngokevin.com/~ngoke/iframe-install.html)

to fix button states, need to query navigator.mozapps.getinstalled from the iframe. Since we don't want our hosted apps and packaged apps installed on two different origins, install everything from the iframe.

WIP because my browser/sim crashes whenever running ```require('apps').getInstalled()``` with an app already installed.