This helper function awaits the new custom event sent by the RDM pane
frame script when zooming is done, then waits for the reflow to be
complete also. After this is done, resolution and window and content
sizes all have their correct, final values.
Differential Revision: https://phabricator.services.mozilla.com/D47366
--HG--
extra : moz-landing-system : lando
The ZoomChild actor normally caches its full zoom level only when it is
changed, then emits a FullZoomChange event. That event causes problems
with Responsive Design Mode, which receives the event after other
similar events that carry the full zoom level of the RDM pane content.
The RDM UI pane itself always stays at 1.0 zoom. This change makes the
ZoomChild cache its initial fullZoom level as soon as possible, which
prevents the first RDM zoom change from sending the unwanted event.
Differential Revision: https://phabricator.services.mozilla.com/D49793
--HG--
extra : moz-landing-system : lando
This change makes the RDM content frame script listen to the new
PreFullZoomChange event, and treat that as a trigger to save the
existing resolution. The content window will send 2 resize events
as it adjusts to the new RDM pane size set by the front end. After
these events are received, the resolution is restored and a new
event is fired that indicates the work of zooming is complete.
Differential Revision: https://phabricator.services.mozilla.com/D48624
--HG--
extra : moz-landing-system : lando
This event is useful for tests that resize the RDM pane and need to
know when all resolution adjusting effects are complete.
Differential Revision: https://phabricator.services.mozilla.com/D47364
--HG--
extra : moz-landing-system : lando
The PreFullZoomChange event gives listeners an opportunity to capture
state before the viewport full zoom changes. Responsive Design Mode uses
this to save and later restore the resolution of the RDM pane.
Differential Revision: https://phabricator.services.mozilla.com/D48621
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.defaultPolicy, network.http.referer.defaultPolicy.trackers, network.http.referer.defaultPolicy.pbmode, and network.http.referer.defaultPolicy.trackers.pbmode to static prefs and updates the uses of their old mirror values.
Differential Revision: https://phabricator.services.mozilla.com/D50541
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.XOriginTrimmingPolicy to a static pref. Leverages do_not_use_directly and a getter to clamp the pref value.
Differential Revision: https://phabricator.services.mozilla.com/D50540
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.trimmingPolicy and leverages do_not_use_directly with a getter to clamp the value.
Differential Revision: https://phabricator.services.mozilla.com/D50539
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.XOriginPolicy to a static pref and leverages 'do_not_use_directly' and a getter in order to clamp the value.
Differential Revision: https://phabricator.services.mozilla.com/D50537
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.referrerLengthLimit to a static pref and replaces its mirror variable.
Differential Revision: https://phabricator.services.mozilla.com/D50536
--HG--
extra : moz-landing-system : lando
Converts network.http.sendRefererHeader to a static pref. The original mirror variable was clamped between 0 and 2, so the pref has been updated with DoNotUseDirectly and a getter.
Differential Revision: https://phabricator.services.mozilla.com/D50535
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.hideOnionSource to a static pref and removes its mirror variable and varcache pref definition.
Differential Revision: https://phabricator.services.mozilla.com/D50534
--HG--
extra : moz-landing-system : lando
Converts network.http.referer.spoofSource to a static pref and removes the varcache instance and mirror variable.
Differential Revision: https://phabricator.services.mozilla.com/D50533
--HG--
extra : moz-landing-system : lando
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.
This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled
The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.
Differential Revision: https://phabricator.services.mozilla.com/D49833
--HG--
extra : moz-landing-system : lando
OS.File.writeAtomic expects either a utf-8 string or a typed array. This patch
fixes instances in pippki.js in certificate export where this was not
guaranteed to be the case. It also extends the test for this functionality to
cover more cases.
Differential Revision: https://phabricator.services.mozilla.com/D50117
--HG--
extra : moz-landing-system : lando
Also some minor cleanup in nsWindowWatcher, as well as a small fix,
where GetWindowByName forgot to addref its return value (as changed in
Part 1).
Differential Revision: https://phabricator.services.mozilla.com/D48976
--HG--
extra : moz-landing-system : lando
The display property appears to do nothing here and the appearance closely
matches that of a fieldset so switching to that seems to work fine.
Differential Revision: https://phabricator.services.mozilla.com/D50292
--HG--
extra : moz-landing-system : lando
Bug 1267643 removed filtering of client certificates based on the
"certificate_authorities" list sent in the client certificate request from the
server in TLS handshakes because it is impossible to implement as specified
without false negatives (i.e. excluding certificates that could be usable but
don't seem to be according to the certificates the client is aware of). In
practice, however, it seems enough users rely on this behavior[0] that we
should add it back until the platform can save client certificate selections
across restarts and the "select one automatically" option is removed (see also
bug 634697).
[0] See e.g. bug 1588703, bug 1590297, bug 1590596, bug 1074195 comment 27,
and any other duplicates of this bug.
Differential Revision: https://phabricator.services.mozilla.com/D50355
--HG--
extra : moz-landing-system : lando
This replaces a direct call of an object's finalizer with a more formal API. This adds some assertions and passes a valid FreeOp pointer to the finalizer rather than null.
Differential Revision: https://phabricator.services.mozilla.com/D50571
--HG--
extra : moz-landing-system : lando
reftests and wdspec tests aren't particularly easy to debug in this mode, so
just default to --pause-after test for testharness tests where it makes more sense.
Differential Revision: https://phabricator.services.mozilla.com/D50581
--HG--
extra : moz-landing-system : lando
At present we support uint, bool, and string Scalars and linear,
exponential, and categorical Histograms. We do not support boolean,
enumerated, or count Histograms, or Events of any type.
We also do not support keyed Histograms or keyed Scalars.
Differential Revision: https://phabricator.services.mozilla.com/D50241
--HG--
extra : moz-landing-system : lando
This means we can also cleanup the package.json,
and remove file that were only needed for the
launchpad.
Differential Revision: https://phabricator.services.mozilla.com/D50174
--HG--
extra : moz-landing-system : lando
I have recently enabled many mochitests on Android, but a few of those tests are
still failing intermittently; let's skip those tests again to avoid the intermittent
failures.
Differential Revision: https://phabricator.services.mozilla.com/D50562
--HG--
extra : moz-landing-system : lando
Add a baseScript() accessor to use in cases where to accessor properties
through a JSFunction that are defined for both lazy and non-lazy
scripts.
Differential Revision: https://phabricator.services.mozilla.com/D50526
--HG--
extra : moz-landing-system : lando