Log in wr_renderer_lock_external_image() overflowed "Failure Log" in about:support when an error. gfxCriticalNoteOnce could reduce the error log in about:support.
Differential Revision: https://phabricator.services.mozilla.com/D58741
--HG--
extra : moz-landing-system : lando
The purpose of this patch is to add support for `if constexpr` statements for the above checkers.
`readability-braces-around-statements` fix has been back-ported from <https://reviews.llvm.org/D71980>
and the fix for `readability-misleading-indentation` uses the same logic as a principle.
Differential Revision: https://phabricator.services.mozilla.com/D58825
--HG--
extra : moz-landing-system : lando
Given that `test_composition` which requires the pref is defined in
css/support/interpolation-testcommon.js and setting prefs in
testing/profiles/web-platform/user.js seems to have a problem (bug 1604085),
so this place is the best place to set the pref for now.
And setting the pref reverts bug 1605866.
Differential Revision: https://phabricator.services.mozilla.com/D58722
--HG--
extra : moz-landing-system : lando
about:blank gets loaded into the new docshell before ResumeRedirectedLoad get called for the 'real' load
Under some circumstances, it is sometimes possible that we got far enough with the about:blank load to initialize a timing.
Under these conditions, it is safe to disregard the existing timing information and replace it with the one carried over.
Differential Revision: https://phabricator.services.mozilla.com/D58733
--HG--
extra : moz-landing-system : lando
We should check which conditions in here can and cannot happen, as try was
pretty green without this change...
Differential Revision: https://phabricator.services.mozilla.com/D58730
--HG--
extra : moz-landing-system : lando
This makes clear where the information comes from, and also that there are some
bits of information that we should pass down from the child that we don't, like
allowfullscreen and the frame name.
Differential Revision: https://phabricator.services.mozilla.com/D58535
--HG--
extra : moz-landing-system : lando
cbindgen understands references, there's no need to use raw pointers here and
then unwrapping or unsafely dereferencing them.
Also remove one unused function while at it.
Differential Revision: https://phabricator.services.mozilla.com/D58708
--HG--
extra : moz-landing-system : lando
Bug 1592964 inadvertently made us only print out the JSDoc error message only
if `jsdoc` is present but the wrong version number. This change restores the
behavior of also printing out the error message when `jsdoc` is missing.
Differential Revision: https://phabricator.services.mozilla.com/D58692
--HG--
extra : moz-landing-system : lando
This cleans up and also allows us to keep the distinction between content: none
and content: normal, which allows us to fix the computed style we return from
getComputedStyle().
Do this last bit from the resolved value instead of StyleAdjuster, because
otherwise we need to tweak every initial struct for ::before / ::after.
Differential Revision: https://phabricator.services.mozilla.com/D58276
--HG--
extra : moz-landing-system : lando
Because toSource is available to chrome code, we need to adjust some parts where toSource is missing because of content contexts.
We can remove most of these changes when we remove toSource everywhere.
Differential Revision: https://phabricator.services.mozilla.com/D58660
--HG--
extra : moz-landing-system : lando
This method will be used by the DocumentLoadListener on the timing information object before sending it to the new content process following a cross-origin redirect.
Differential Revision: https://phabricator.services.mozilla.com/D57939
--HG--
extra : moz-landing-system : lando
This constructor will allow to re-create a new nsDOMNavigationTiming from the one serialised over IPDL.
To reduce the likelihood of abuse, and considering that this should only ever be called from a nsDocShell, we make nsDocShell friend so that only it can call it.
Differential Revision: https://phabricator.services.mozilla.com/D57771
--HG--
extra : moz-landing-system : lando
Use the new utility function, introduced in Part 3, to implement async plugin surface's read to CPU texture.
Differential Revision: https://phabricator.services.mozilla.com/D57564
--HG--
extra : moz-landing-system : lando
Refactor D3D11ShareHandleImage::GetAsSourceSurface to use the new utility method added in Part 3.
Differential Revision: https://phabricator.services.mozilla.com/D57563
--HG--
extra : moz-landing-system : lando
CreateBGRA8DataSourceSurfaceForD3D11Texture is added to create a CPU texture with the same data as the given D3D11 texture. ReadbackTexture reads a D3D11 texture into a pre-existing CPU texture. ToPixelFormat is extended to cover DXGI_FORMAT values.
Differential Revision: https://phabricator.services.mozilla.com/D57562
--HG--
extra : moz-landing-system : lando
The only reason BufferTexture needs a LayersIPCChannel instead of the IShmemAllocator base interface is that it needs to know if the allocator is cross-process or not. Both LayersIPCChannel and ISurfaceAllocator use IsSameProcess() for this but without a common interface for it. Rather than further complicate the inheritance diagram for the layers and IPDL core classes, this patch makes BufferTexture handle both with generic code.
Differential Revision: https://phabricator.services.mozilla.com/D56225
--HG--
extra : moz-landing-system : lando
IShmemAllocator was introduced in bug 1272018 as a planned replacement for ShmemAllocator. They are essentially the same interface. This patch removes ShmemAllocator.
Differential Revision: https://phabricator.services.mozilla.com/D56224
--HG--
extra : moz-landing-system : lando
- Change `prettyprinters.py` to allow to register pretty printers for enums.
- Add pretty printer for `JSOp` which takes care to map from signed to unsigned values.
- And add a pretty printer for `jsbytecode*` to display the current `JSOp` in addition
to the raw address.
Drive-by change:
- Update references to LIBDIR to OBJDIR in the readme file.
Differential Revision: https://phabricator.services.mozilla.com/D58633
--HG--
extra : moz-landing-system : lando