-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
privacy.resistFingerprinting.block_mozAddonManager #449
Conversation
….resistFingerprinting.block_mozAddonManager' is true. r=arthuredelstein,mossop This patch adds a hidden pref 'privacy.resistFingerprinting.block_mozAddonManager', which is false by default. When this is true, the navigator.mozAddonManager will be blocked even the website is AMO. The purpose of this pref is for Tor browser can disable navigator.mozAddonManager through this. MozReview-Commit-ID: Lf37gHXETCz
If not too hard consider backporting all commits from the specific Mozilla bug. While tests aren't immediately useful they can help troubleshooting cherry-picking mistakes. |
…ddonManager is correctly blocked when pref 'privacy.resistFingerprinting.block_mozAddonManager' is true. r=arthuredelstein,mossop The patch adds a test case which will first test with the pref off to see that navigator.mozAddonManager can be accessed successfully. And then turn the pref on to see that whether navigator.mozAddonManager is blocked. MozReview-Commit-ID: 3nptUqdg7p7
@jbeich Done, but it's broken due to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should work without a problem.
@laniakea64, I don't believe I've changed any of the actual internal variables named Firefox, except in relation to the registry and the branding files. Do you receive any errors running marionette tests? |
This command...
... just chokes -
If https://github.com/MrAlex94/Waterfox/blob/master/testing/marionette/assert.js#L25 is changed to check for Waterfox, the command runs. |
Fixes #441