Currently we only support `IdentifierName`, but the grammar allows for multiple
`IdentifierName`s separated by `.`:
`DecoratorMemberExpression[?Yield, ?Await] . IdentifierName`
Differential Revision: https://phabricator.services.mozilla.com/D154814
Currently we only support `IdentifierName`, but the grammar allows for multiple
`IdentifierName`s separated by `.`:
`DecoratorMemberExpression[?Yield, ?Await] . IdentifierName`
Differential Revision: https://phabricator.services.mozilla.com/D154814
This patch helps with a high rate of crashes on windows x86, where the GMP
process crashes after _exit(0) while trying to delay-load oleaut32.dll.
Differential Revision: https://phabricator.services.mozilla.com/D154787
The font here is a copy of Ahem with a COLRv1 table added, using various of the
COLRv1 paint and transform tables. This is far from an exhaustive set of tests,
but serves to check that basic rendering functionality is working.
The reference file uses CSS blocks filled with gradients, etc, to simulate the
expected rendering of the colored Ahem glyphs. This is unlikely to be a perfect
match in any but the simplest cases, thanks to antialiasing, pixel-rounding, etc.,
but the results are visually indistinguishable, or virtually so, and the amount
of "fuzz" is far less than the differences would be in the case of the COLRv1
glyphs actually being mis-rendered.
(There's a try run *without* the fuzz annotations at
https://treeherder.mozilla.org/jobs?repo=try&revision=4a2e2f7190661614ecddd223dd7178589d0ec5f2
where the results can be viewed in reftest-analyzer.)
We may eventually want to move this or similar tests into WPT, but I'm expecting
more extensive test coverage to be a co-operative effort with the other vendors
who are also implementing support, so this is intended as an interim step just to
ensure we have the basic functionality tested in-tree.
Depends on D154585
Differential Revision: https://phabricator.services.mozilla.com/D154586
The fix is the one line in
nsImageLoadingContent::MaybeForceSyncDecoding, but I added new asserts
that should prevent this from regressing in the future.
Differential Revision: https://phabricator.services.mozilla.com/D154815
And lazily create it when first surface is created. This prevents us
unnecessarily holding on to that memory when a compositor has no
surfaces, ie when the tab is backgrounded on Android. While each depth
texture may only be a few megabytes, this quickly adds up on Android
where each tab has its own compositor.
Differential Revision: https://phabricator.services.mozilla.com/D154636
This matches Windows' behavior with this pref enabled, though I'd note
that might not be the reporter's expectation, since we only style the
caption, which is a sibling rather than an ancestor of the menu items.
That might need further fixes, anyways seems worth doing this
regardless.
Differential Revision: https://phabricator.services.mozilla.com/D154838
All JSONWriteFuncs are effectively final, this patch enforces that, hopefully
helping the compiler to de-virtualize some calls.
Differential Revision: https://phabricator.services.mozilla.com/D154619
Most users of JSONWriter want to fill a string, so instead of having all these
similar implementations, we now have central reusable implementations:
- JSONStringWriteFunc contains a string and writes to it.
- JSONStringRefWriteFunc references a string and writes to it. This is most
useful when the string already exists somewhere, or needs to be returned from
a function (so we avoid another conversion when returning).
Differential Revision: https://phabricator.services.mozilla.com/D154618
mWriter is now a reference, and the ownership is optional through a separate
member variable that could stay null.
User can now choose to keep the JSONWriteFunc on their stack, which saves a
heap allocation, and makes it easier to access the concrete JSONWriteFunc
implementation directly (instead of through WriteFunc()).
Differential Revision: https://phabricator.services.mozilla.com/D154617
mWriter is never null (and lots of calls just dereference it without checking),
so we may as well enforce it:
- The constructor MOZ_RELEASE_ASSERTs that it's not null.
- The accessor WriteFunc() returns a reference instead of a scary raw pointer.
(Note that we can't make mWriter a NotNull<...>, because the next patch will
give the option to keep that owning pointer null.)
Differential Revision: https://phabricator.services.mozilla.com/D154616
be -> bad0514e070f7918aae58380617726523fabbfc4
gn -> 79343546f1890e4adc4355a859f2acfa41119c52
it -> e7695edb8b55f2b9403dc6395915fe00fdc7113e
si -> 3869b66ea4a26fedba18ff2ee206b8127301bc39
This test will only pass on platform that accurately report the color
depth in their VideoInfo structures. Presently that is only macOS, so the
test has a conditional task that only runs on macOS.
Differential Revision: https://phabricator.services.mozilla.com/D153284
Some information that VideoInfo needs is not available from the metadata
header. This change makes it so that VideoInfo structure is updated with
color depth information from the VideoData Image as frames come in.
Each Image implementation is responsible for returning the correct
GetColorDepth value. The virtual implementation returns COLOR_8, which
matches the existing default value in VideoData.
Differential Revision: https://phabricator.services.mozilla.com/D153282
Most importantly, this means OffsetAtPoint is now supported for cached RemoteAccessible on Windows.
I also included a drive-by fix to make ATK use the unified CharacterCount method instead of the old unnecessary conditional local/remote paths.
Differential Revision: https://phabricator.services.mozilla.com/D154628
This is regression by bug 1581971.
When using custom profile to run GVE via `./mach run --profile <directory>`,
we add "--profile" argument on `adb`. But, after landing bug 1581971, we
don't pass any profile arguments unfortunately.
So we should add it to use custom profile.
Also, This fixes that `./mach run --enable-fission` is broken. We don't need
`--profile` argument to run GVE with fission.
Differential Revision: https://phabricator.services.mozilla.com/D154772