Windows 10, Permission Manager and more

There are some changes coming to Firefox that might impact enterprise users, so i wanted to make folks aware of them.

Firefox 42 has a change to the permission manager so that permissions are based on the origin not just the host. This means that code like this in your AutoConfig file:

Services.perms.add(NetUtil.newURI("http://" + hostname), ...

will only apply to http. You need to be explicit with both:

Services.perms.add(NetUtil.newURI("http://" + hostname), ...
Services.perms.add(NetUtil.newURI("https://" + hostname), ...

Existing permissions will be migrated to both http and https. I’ve updated the CCK2 to account for this, but you’ll need to rebuild your distribution.

Firefox 44 has some major changes coming to JavaScript let/const behavior that could impact your AutoConfig file. I’ll be making sure the CCK2 is compatible, but you should make sure you’re testing with the latest Firefox 44. Obviously this will impact the Firefox 45 ESR as well, so you’ll want to do lots of testing there.

Finally, I got a question about the Firefox/Windows 10 page appearing even when you have upgrade pages turned off. Unfortunately this page bypasses the existing upgrade code. To make sure it doesn’t appear, set the preference browser.usedOnWindows10 to true.

Please note: I reserve the right to delete comments that are offensive or off-topic.

Leave a Reply

Your email address will not be published. Required fields are marked *

9 thoughts on “Windows 10, Permission Manager and more

  1. hello, some help is needed:
    Can you tell me where and how the Services.perms.add(NetUtil.newURI(“http://” + hostname) in the cck2.cfg can be configured? Or where else it can be configured? If I use the cck2 configurator it doesn’t work to fill in a website whit it’s https prefix, it will add 2 sites: one called https and one called the http://www.website.com name.