-
Notifications
You must be signed in to change notification settings - Fork 100
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
overriding intl.accept_languages
and intl.locale.requested
does not take effect
#217
Comments
Could you try setting this pref using this utility function? (see, an example use here) I've had cases where pref changes were not recognized, and the above method (which uses chrome privileges) was the solution. LMK if that doesn't work and I'll dig deeper. PS: Sorry for the delay in responding. I was out of office. |
Sample code to overwrite the Prints: Another example, iterating over different locales. It also prints |
Thank you, @gunesacar! I was just looking at this and reached basically the same diff. Thanks for pointing me towards |
Great! Feel to reach out for similar issues. |
In freedomofpress/securedrop#7354, we're trying to test our localization by overriding the
Accept-Language
header via Firefox'sintl.accept_languages
. In https://gist.github.com/cfm/8a4dddcee3e993998ec4d68e123da89d I've created a minimal reproduction that shows that neither of the following approaches works intbselenium
:Tor Browser tickets like tor-browser#41930 and tor-browser#41339 point to the complexity of these preferences but suggest that they should take overrides as usual, which is why I suspect this is an interaction with
tbselenium
.The text was updated successfully, but these errors were encountered: