Add a mechanism to indicate that specific Normandy rollouts no longer apply to
this version of Firefox. Normally this is handled by the preference specified
by the rollout changing their built-in values to match the rollout values.
However, this isn't always possible, such as if the preference is removed
instead of being switch to on by default, or if the preference cannot be
enabled by default for all users, but is conditionally enabled by another
feature.
Differential Revision: https://phabricator.services.mozilla.com/D102981
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.
Differential Revision: https://phabricator.services.mozilla.com/D101492
It will mostly not be used. This patch just duplicates it in the two modules
that use it since it's not long for this world, anyway.
Differential Revision: https://phabricator.services.mozilla.com/D101491
Note that PromptUtils.objectToPropBag and the new propBagToObject function in
prompt_common.js do not do the recursive conversion that the BrowserUtils
versions attempted, but that code was completely broken, and would have failed
if it encountered a value which triggered recursion.
Differential Revision: https://phabricator.services.mozilla.com/D101481
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.
Differential Revision: https://phabricator.services.mozilla.com/D101492
It will mostly not be used. This patch just duplicates it in the two modules
that use it since it's not long for this world, anyway.
Differential Revision: https://phabricator.services.mozilla.com/D101491
Note that PromptUtils.objectToPropBag and the new propBagToObject function in
prompt_common.js do not do the recursive conversion that the BrowserUtils
versions attempted, but that code was completely broken, and would have failed
if it encountered a value which triggered recursion.
Differential Revision: https://phabricator.services.mozilla.com/D101481
Specifying only width/height means that xul layout will still stretch to
the container. As a result, the resizer on windows and on linux+nnt is
different size depending on whether there are scrollbars or not.
Since that doesn't seem like the intent, let's fix it so that it behaves
like Linux with the native theme, which just fixes the resizer to 15px:
https://searchfox.org/mozilla-central/rev/b9384b091e901b3283ce24b6610e80699d79fd06/widget/gtk/nsNativeThemeGTK.cpp#1678-1682
In the future we might want to support painting resizers directly in
nsNativeBasicTheme? Might be faster than the svg background. But that
being said, I don't think resizers are common enough to optimize much.
Differential Revision: https://phabricator.services.mozilla.com/D103260
This moves the exception prettifying to the script security manager for all JS
callers, where it is much cheaper and more consistently applied.
Differential Revision: https://phabricator.services.mozilla.com/D101492
It will mostly not be used. This patch just duplicates it in the two modules
that use it since it's not long for this world, anyway.
Differential Revision: https://phabricator.services.mozilla.com/D101491
Note that PromptUtils.objectToPropBag and the new propBagToObject function in
prompt_common.js do not do the recursive conversion that the BrowserUtils
versions attempted, but that code was completely broken, and would have failed
if it encountered a value which triggered recursion.
Differential Revision: https://phabricator.services.mozilla.com/D101481
I've tested this explicitly with `AppUpdateURL` because that's the
policy-controlled value we care about for the first use case for
background tasks, namely the background update agent.
Differential Revision: https://phabricator.services.mozilla.com/D99846