This is done using the gtest framework, and adds a new protocol which has its
messages counted. As the IPDLUnitTest process doesn't count IPC messages with
glean, this only counts messages on the parent process side.
This test also checks that we don't count this information outside of nightly,
and that it isn't counted for messages sent within the same process.
Differential Revision: https://phabricator.services.mozilla.com/D158275
This will provide us with more information with which to discover what
IPC messages are being sent extremely frequently, especially from
background processes, and what we can do to avoid unnecessary wakeups.
This is intended for power usage work, and is being tracked in a similar
way to the thread wakeups work, based on process types, such that the
data can be compared between the two.
Differential Revision: https://phabricator.services.mozilla.com/D157855
There is no Core: Widget - Android now, so we should update bug component of
widget/android. Also, I add GVE for GVE path.
Differential Revision: https://phabricator.services.mozilla.com/D161413
GPUVideoTextureClient of SurfaceDescriptorD3D10 needs to be kept alive until WebGLParent::RecvTexImage() is handled by parent side.
Confirmed that test_conformance__textures__misc__texture-npot-video.html test failure was addressed.
Differential Revision: https://phabricator.services.mozilla.com/D161015
* Make non-menulist popups just absolute positioned top-layer items.
* Simplify menulist popups to just be static-positioned items under
nsMenuFrame.
We need to keep kPopupList only for nsMenuFrame. In the future it can be
removed, see TODO in xul.css
Differential Revision: https://phabricator.services.mozilla.com/D161404
It might be possible for a short while to have a DocAccessibleParent which has been shut down but is still managed by its BrowserParent.
In that case, DocAccessibleParent::GetFrom might previously have found the document via its BrowsingContext, thus returning a destroyed document.
This could cause problems when returning the focus if the document itself was the last thing focused.
To fix this, clear the BrowsingContext when shutting down a DocAccessibleParent so that it can't be found this way.
There is one case during actor construction where we call MarkAsShutdown instead of Destroy, and MarkAsShutdown isn't supposed to do any cleanup.
To deal with this, don't set the BrowsingContext until we're sure we're not going to call MarkAsShutdown.
I also added an assertion to DocAccessibleParent::GetAccessible, since we should really never call that on a destroyed document.
Differential Revision: https://phabricator.services.mozilla.com/D161421
There is a bug in DOM (bug 1796846) that prematurely registers
access keys before there is a presShell in iframes.
We will get better coverage for our module if we disable the
iframe tests and enable it on mac.
Differential Revision: https://phabricator.services.mozilla.com/D161377
Although standard ftyp type contains spaces sometimes, in reality, not all of files follow this rule and they sometime skip the space.
In order to increase the tolerance of parsing, we should allow ftyp without having spaces but with correct name. Eg. "M4A " v.s. "M4A".
Differential Revision: https://phabricator.services.mozilla.com/D157684
Since the caller usually needs to know the zone anyway, this seems simpler
if we query based on the zone rather than the object.
Differential Revision: https://phabricator.services.mozilla.com/D146677
I want to remove CollectMemoryInfo(BrowsingContext*, _), but asuth suggested
that a lot of this code was questionable. Now it should be thread safe and
measure the correct memory.
Differential Revision: https://phabricator.services.mozilla.com/D146673
This will push through any unknown marker errors from libjpeg, but still
fail for other errors. Dropping markers prevents infinite loops in processing.
Differential Revision: https://phabricator.services.mozilla.com/D161187
In clang tasks, cctools-port is used to merge macos compiler-rts, or to
build clang itself for macos hosts. It's not needed for tasks for
non-macos hosts that don't depend on compiler-rt.
Differential Revision: https://phabricator.services.mozilla.com/D161223