This creates a HeapSizeChild subclass that can be used for per-zone GC heap
size tracking. This requires an extra argument to pass the parent HeapSize.
Fortunately that is always to hand in the few places it is needed.
This eliminates the extra parent link in all cases and removes the conditional
update.
Differential Revision: https://phabricator.services.mozilla.com/D151832
it -> ce5fe61ebb1361ccdfb219a7d6e8a703cadbd223
tg -> 369d2826e3404c2d738c285de7da3980bb19dfbf
uk -> 220e0e7a7025124dc61ce0b9b5cdb5de86c9c45a
vi -> 55841c53b0fe7e12bf9f5702e3d7e6b9c8c04380
Initializing CDP before the first window has been opened can break
the registration of the first browser window because a pre-loaded
window gets opened first before the gBrowser is attached.
This also prevents any CDP client to connect to any the JSONHandler
end-points before CDP is actually ready.
Differential Revision: https://phabricator.services.mozilla.com/D151843
Please see the bug for details. We recently improved the handling of "www" and
prefixes for adaptive history autofill and made it more like origin autofill,
and this revision makes it even more like origin autofill. Origin autofill
computes a `host_fixed` value that is the matching host except it doesn't
contain "www" if the user didn't type it. This revision does something similar
for adaptive history autofill by computing `url_fixed`. This also allows
`_processRow()` to be a little simpler for the adaptive history case and it's
almost exactly the same as the origin case now.
I changed the `:searchString` param so that it's `this._searchString` instead of
`queryContext.searchString`. That's consistent with the two other autofill
queries and it made fixing this bug easier.
I also added some comments that should be helpful.
Differential Revision: https://phabricator.services.mozilla.com/D151897
There are some hit-test use cases that still rely on clip-chains
and invalid clip-chain handles inheriting from the root clip-id
for a pipeline.
This will become irrelevant once the clip-tree patches land next
week, but for now we can restore these to fix a regression going
out in a release.
Differential Revision: https://phabricator.services.mozilla.com/D151880
mWebglValid gets initialized to false, but it will never get reset to true until the next
frame, causing us to render into Skia the first frame rather than accelerate. Therefor, we
should just initialize it to valid. Since it is cleared to zero initially, this is safe.
Differential Revision: https://phabricator.services.mozilla.com/D151896
We spend a significant amount of time in profiles allocating DataSourceSurfaceWrapper
when GetDataSurface is called inside DrawTargetWebgl. We can mark some more surface
types as IsDataSurface to work around this fairly easily.
Differential Revision: https://phabricator.services.mozilla.com/D151898
Just like it manages content, so that we stop chrome animations and such
in hidden or fully-occluded windows too. This already happened on macOS
for minimized windows via PauseCompositor, but this should be better and
more consistent.
Differential Revision: https://phabricator.services.mozilla.com/D151818
Add an "Open in New Container Tab" menu to the Synced Tabs sidebar
context menu, to match similar menus elsewhere in tab menus.
Differential Revision: https://phabricator.services.mozilla.com/D151777
Replace some fluent strings that cover the same ground as existing
strings that see more use. This will make the (English) diction more
consistent between the context menus.
Differential Revision: https://phabricator.services.mozilla.com/D151775
Attributes() might do computation that we'll just throw away; e.g. building a CachedTableAccessible.
In a content process, cached data structures like this will never get used by a client, so building them will always be wasteful.
Instead, use nsAccUtils::SetLiveContainerAttributes, which only computes live region stuff.
Differential Revision: https://phabricator.services.mozilla.com/D151799