This moves the calcuation of the table data to constexpr methods which is easier to read and understand.
Depends on D58625
Differential Revision: https://phabricator.services.mozilla.com/D58626
--HG--
extra : moz-landing-system : lando
These tables are current all using uint32_t but none of the values require more than a byte to store. Hopefully this might improve cache utilisation.
Differential Revision: https://phabricator.services.mozilla.com/D58625
--HG--
extra : moz-landing-system : lando
The remaining callers of `ComparePoints_Deprecated` in `nsRange`
presumably require changing the semantics of `ComparePoints` to support
comparison across Shadow DOM boundary.
Differential Revision: https://phabricator.services.mozilla.com/D57959
--HG--
extra : moz-landing-system : lando
UTF8String has small-size optimization already, and does what we were doing
taking less memory when the string is latin1, so it should be a clear
improvement unless I'm missing something.
I didn't remove it from encodeInto because it'd do more work in the case where
the UInt8Array doesn't have enough capacity... Not sure if that case is worth
optimizing or not, honestly.
Differential Revision: https://phabricator.services.mozilla.com/D58713
--HG--
extra : moz-landing-system : lando
Changes:
Revert the changes to the treeherder name since the partials script does depend on the name as it appears in treeherder to the pre-D58406 state.
Differential Revision: https://phabricator.services.mozilla.com/D58897
--HG--
extra : moz-landing-system : lando
The information in it is always derivable from the values of mRepeatAutoStart
and mRepeatAutoEnd. Additionally, its value is used in some cases where it has
not yet been set properly (such as CalculateRepeatFillCount).
This works out currently because the default value is zero we only accept
repeat(auto-fill, ...) and repeat(auto-fit, ...) CSS values that have a single
element in the repeat. In that case, zero is the correct value for
RepeatEndDelta.
Differential Revision: https://phabricator.services.mozilla.com/D58871
--HG--
extra : moz-landing-system : lando
We should not attempt to shut down threads which we did not explicitly
remove from the image decode thread pool, when we want to shut down an
idle thread or otherwise. This behaviour would put us at risk of
shutting down a thread twice, which may trip assertions and/or cause
other issues. Now we assuming that any thread that is already removed
from the pool array has already been gracefully shutdown.
Differential Revision: https://phabricator.services.mozilla.com/D58827
--HG--
extra : moz-landing-system : lando
Styled the Outline pane filter to be consistent with the Event Breakpoint filter
Differential Revision: https://phabricator.services.mozilla.com/D50977
--HG--
extra : moz-landing-system : lando
This switches over one usage of `nsAutoPtr` that was just used to scope an allocation, a stack variable is used instead. The shutdown contexts array is switched over to hold `UniquePtr`s which required adding a helper to find elements in the array as `UniquePtr` does not auto-convert to its pointer type.
Differential Revision: https://phabricator.services.mozilla.com/D58317
--HG--
extra : moz-landing-system : lando
This converts straightforward `nsAutoPtr` usage over to `UniquePtr`.
`nsClassHashtable` is left alone for now as that will have a larger impact.
`nsThread` is left alone for now as it has non-trivial ownership concepts.
Differential Revision: https://phabricator.services.mozilla.com/D58284
--HG--
extra : moz-landing-system : lando
This removes various unused `#include "nsAutoPtr.h"` in `xpcom/`. Additionally
adds a few includes to the media stack.
Differential Revision: https://phabricator.services.mozilla.com/D58282
--HG--
extra : moz-landing-system : lando
It was being set to null before we tried to remove it, which left a dead
controller registered and consuming commands after a frameloader rebuild.
Differential Revision: https://phabricator.services.mozilla.com/D57556
--HG--
extra : moz-landing-system : lando
Changes:
For webrenderer tests, the scrollbar causes failures in the expected pixel difference values. Adjust the expectations of multiple tests that are affected.
Differential Revision: https://phabricator.services.mozilla.com/D58869
--HG--
extra : moz-landing-system : lando
Changes:
`gtkWidget&&webrender` has a slightly different pixel difference count (1496 vs 1498), so a second condition is added to cover this case.
The annotation is permissive but will be tightened once reftest is run with ubuntu1804.
Differential Revision: https://phabricator.services.mozilla.com/D58862
--HG--
extra : moz-landing-system : lando
Changes:
Remove the fail-if annotation for gtkWidget since the test passes in ubuntu1804.
This patch will need to land with D58816.
Differential Revision: https://phabricator.services.mozilla.com/D54851
--HG--
extra : moz-landing-system : lando
Gives a site specific browser window a custom model ID and adds the same model
ID to its shortcut. This makes the window appear distinct from the rest of
Firefox's windows in the taskbar and allows for pinning the new entry to the
taskbar.
Differential Revision: https://phabricator.services.mozilla.com/D56780
--HG--
extra : moz-landing-system : lando