Now that IO is all handled by IOUtils, TelemetryControllerParent needs to use
the IOUtils-specific `sendTelemetry` shutdown client to ensure its IO can run
during shutdown.
Differential Revision: https://phabricator.services.mozilla.com/D170773
When getting virtual ID of a11y tree, we use internal method via
reflection. But `AccessibilityNodeInfo.getChildId` is hidden now.
As workaround, since `mChildNodeIds` is still `@UnsupportedAppUsage`,
we can use it to get child node id.
This has another fix. Clipboard access requires foreground on Android 10+.
So we have to set window foucs when using clipboard.
Also, `AccessibilityTest` won't work on Android 12 since more methods
seem to be hidden from Android 12.
(by `@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R)`).
Differential Revision: https://phabricator.services.mozilla.com/D170550
TestWinDND.cpp was disabled when libxul became a separate library which
could no longer be used by cppunittests.
Add a few shims to turn it into a gtest instead, and hook it back up.
Differential Revision: https://phabricator.services.mozilla.com/D171280
The problem happened by ProcessWebRenderParentCommands() handling with invalid transaction message. When a Tab is moved between Windows, WebRenderBridgeParent::UpdateWebRender() is called. It update mApi and mIdNamespace. Then all WebRender related resources are freed. Then a message with old mIdNamespace from WebRenderBridgeChild becomes invalid. Then we should not handle the obsoleted message.
Differential Revision: https://phabricator.services.mozilla.com/D170563
Also move the include to the top of the list, to its proper sorted-include-list
location, and insert a blank line after the .cpp file's own .h file, to match
common convention in mozilla code.
Differential Revision: https://phabricator.services.mozilla.com/D170837
There are only a few things that could cause the video layer to be
rebuilt:
1) The mMutatedSpecializeVideo flag being set.
2) A new layer object being created to host for the video.
This patch more thoroughly documents instances of case 1 by adding
VIDEO_LOG message to anything that sets the mMutatedSpecializeVideo flag.
It also makes some attempt to identify case 2 by adding a VIDEO_LOG
message whenever we destroy a layer that has ever displayed a video
texture. If a log message like this is followed by a message that a new
video layer is created, it is a strong signal that we are unexpectedly
throwing away our external surface handles when we'd like to keep using
them.
Differential Revision: https://phabricator.services.mozilla.com/D171301
We're headed for a crash, so this change makes gfxCriticalError have more
information that will help us understand the crash. Unlike some other
error-checking code in this class, it is not NIGHTLY_BUILD because the
crash signatures in this Bug are reported in Beta and beyond.
Differential Revision: https://phabricator.services.mozilla.com/D171390
This makes it easier to track where our implementation stands in
https://wpt.fyi vs. others.
The big piece of functionality missing is invalidation for some kinds of
DOM mutations (most notably, not for child changes), see bug 1809754 and
dependencies.
Differential Revision: https://phabricator.services.mozilla.com/D171376
This patch modifies existing Glean urlbar abandonment, engagement, and
impression events by including a weather suggestion.
This patch also adds a new telemetry scalar url.picked.weather to the legacy
telemetry system.
Differential Revision: https://phabricator.services.mozilla.com/D169225
While looking at the backout, I noticed table parts relied on reframing
on abspos-container-ness changes in a subtle way, see the test, which
fails with the first patch of this bug applied without these changes.
Make the NS_FRAME_CAN_HAVE_ABSPOS_CHILDREN mean the same for table parts
as for everything else. Instead, keep the registration status on each
relevant frame class individually.
Depends on D169127
Differential Revision: https://phabricator.services.mozilla.com/D170969
This patch switches from an ignore list of errors to a block list of the errors
we clearly want to block. We are likely going to regress a lot by missing errors from the ignore list
which shouldn't be blocked as revealed by this BUG. Instead let just block the errors we know about and
let other erros through as most of them are shown with error codes and do not need to be blocked.
Differential Revision: https://phabricator.services.mozilla.com/D171352