+dev-fxos On Wed, Oct 7, 2015 at 12:13 AM, Eddie Lin <[email protected]> wrote:
> I'm asking this because currently we can still declare activity filters in > manifest.webapp, > which makes an add-on being able to run as an app triggered with > MozActivity. > > Actually this is useful for add-on devs who wants to write a settings page > for their add-on, > I wonder if there will be any security concerns hence manifest.webapp > would get blocked or something in the future? > > Maybe another way to do this properly is to support "options_page" key in > manifest.json? > https://developer.chrome.com/extensions/options > Interesting! What is the use case for having an add-on act as an app that handles a MozActivity? Add-ons can already have a settings panel by simply injecting themselves into the Settings app. And IIRC, some add-ons even add a button in the Settings app which will "launch" their add-on, and show a configuration page from within their "app". If you wanted to handle a MozActivity from an add-on, why not inject into a Gaia app that already handles that activity and extend the functionality from there?
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

