Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Testing web extension permissions UI

8 views
Skip to first unread message

F Wolff

unread,
Mar 13, 2017, 9:08:19 AM3/13/17
to dev-l10n
Hallo everybody

Can somebody suggest some steps to test the web extension permissions UI?
I'm referring to the strings in browser/chrome/browser/browser.properties
starting with webextPerms. I tried installing a few extensions from AMO in
Aurora, but didn't see the UI appearing. I'm hoping there is some extension
to install that migth show all (or most) of the permissions in the UI.

Sorry if I missed any previous discussions!

Keep well
Friedel

Jørgen Rasmussen

unread,
Mar 13, 2017, 9:18:09 AM3/13/17
to dev-...@lists.mozilla.org
Here is what Francesco Lodolo [:flod] <fl...@lodolo.net> wrote on January
24 in a post with the subject Re: Firefox L10n Report - Aurora 53


> Talking about the webextension dialog, it's possible to test these permissions on Nightly or Aurora:
> * Create a new profile, in about:config create a boolean key, named "extensions.webextPermissionPrompts", and set it to true.
> * Disable XPI signatures by setting "xpinstall.signatures.required" to false
> * Download this add-on https://bugzilla.mozilla.org/attachment.cgi?id=8829917, rename from .zip to .xpi, and install it to see the prompt for all available permissions (you don't need to actually install it).

--
Regards JR

Francesco Lodolo [:flod]

unread,
Mar 13, 2017, 9:26:33 AM3/13/17
to dev-...@lists.mozilla.org
Il 13/03/17 14.08, F Wolff ha scritto:
> Hallo everybody
>
> Can somebody suggest some steps to test the web extension permissions UI?
> I'm referring to the strings in browser/chrome/browser/browser.properties
> starting with webextPerms. I tried installing a few extensions from AMO in
> Aurora, but didn't see the UI appearing. I'm hoping there is some extension
> to install that migth show all (or most) of the permissions in the UI.

To get an idea of the dialog:
* In about:config create a key extensions.webextPermissionPrompts and
set it to true
* Try installing this add-on
https://addons-dev.allizom.org/en-US/firefox/addon/webext102/

I'm still trying to figure out if it's possible to create an XPI that
asks for all available permissions.

Francesco

Francesco Lodolo [:flod]

unread,
Mar 13, 2017, 10:11:47 AM3/13/17
to dev-...@lists.mozilla.org
Il 13/03/17 14.26, Francesco Lodolo [:flod] ha scritto:
> I'm still trying to figure out if it's possible to create an XPI that
> asks for all available permissions.
Turns out it was easier than I expected. See instructions here
https://github.com/mozilla-l10n/documentation/blob/master/products/firefox_desktop/testing.md#testing-webextension-permissions-dialog

Francesco
0 new messages