Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

This board is for discussions, bug reports, etc. for pre-releases of the v28 milestone building on UXP.
coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2985
Joined: 2015-09-26, 04:51
Location: U.S.

Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by coffeebreak » 2018-05-26, 23:29

  • Open PM 28.0.0a2 with a brand new profile.
  • Preferences > Security > Check the box to be warned if sites try to install add-ons.
  • Click the "Exceptions" button to open the window: The default exceptions are double-listed.
    (They're not double-listed in the corresponding about:config setting).
exts-allowedSites-UI.png
xpinstall-aboutconfig-default.png
xpinstall-aboutconfig2.png
You do not have the required permissions to view the files attached to this post.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by SpockFan02 » 2018-05-26, 23:39

I notice each domain is listed under both http and https protocols. What is the intended behavior?

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2985
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by coffeebreak » 2018-05-26, 23:42

SpockFan02 wrote:I notice each domain is listed under both http and https protocols.

Oops! I didn't notice that. Much embarrassed.

Presumably it's intended...?

JustOff

Re: Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by JustOff » 2018-05-27, 10:50

coffeebreak wrote:Presumably it's intended...?
I think this is not, and xpinstall.whitelist.add should be initialized with the https only exceptions.

User avatar
Moonchild
Project founder
Project founder
Posts: 39110
Joined: 2011-08-28, 17:27
Location: Sweden

Re: Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by Moonchild » 2018-05-27, 11:52

You need separate entries for http and https in UXP.
Whether we should add both versions by default may be debatable... but it's not a bug in the browser when not specifying a scheme.
Last edited by Moonchild on 2018-05-27, 11:54, edited 1 time in total.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

JustOff

Re: Default exceptions are double-listed in the Permissions Window for Add-ons Installation Exceptions

Post by JustOff » 2018-05-27, 11:54

But do we need to include non https sites to the exceptions?