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
- 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
In particular, the ones where we transcode unconditionally atm (property names
and such).
There are others like cssText getters and setters which are a bit harder,
because I either need to rewrite all our serialization code to work with UTF8
(which is fine, but a lot of work), or teach webidl to have a setter that takes
UTF8String as input but returns DOMString as output (which is at best hacky).
Differential Revision: https://phabricator.services.mozilla.com/D58631
--HG--
extra : moz-landing-system : lando
Thunderbird plans to include libotr and its dependencies in official builds in
order to support Off-The-Record messaging.
When building these libraries for Windows, GCC/MinGW is currently needed.
This Docker image includes the Debian MinGW compiler and will only be used for
building libotr, libgcrypt, and libgpg-error, not Thunderbird itself.
See the docker-image kind in Thunderbird's repository for the associated
Taskcluster configuration.
Differential Revision: https://phabricator.services.mozilla.com/D57722
--HG--
extra : moz-landing-system : lando
StartTouch() sets axis fields like mAxisLocked which can be read by the
sampler thread by GetVelocity().
Differential Revision: https://phabricator.services.mozilla.com/D58658
--HG--
extra : moz-landing-system : lando
2020-01-03 J.C. Jones <jjones@mozilla.com>
* lib/nss/nss.h, lib/softoken/softkver.h, lib/util/nssutil.h:
Set version numbers to 3.49 final
[d41f5350554e] [NSS_3_49_RTM] <NSS_3_49_BRANCH>
2020-01-02 Kevin Jacobs <kjacobs@mozilla.com>
* gtests/ssl_gtest/ssl_version_unittest.cc, lib/ssl/ssl3con.c:
Bug 1513586 - Set downgrade sentinel for client TLS versions lower
than 1.2. r=mt
Per-[[ https://tools.ietf.org/html/rfc8446#section-4.1.3 | RFC 8446
]], the downgrade sentinel must be set by a TLS 1.3 server (and
should be set by a TLS 1.2 server) that negotiates TLS 1.0 or 1.1.
This patch corrects the behavior and adds a test.
[993717228da0]
2020-01-02 J.C. Jones <jjones@mozilla.com>
* .hgtags:
Added tag NSS_3_49_BETA1 for changeset 9ecd41cd2fa3
[62d36f2ee1cc]
Differential Revision: https://phabricator.services.mozilla.com/D58655
--HG--
extra : moz-landing-system : lando
WebRender qualification needs actual GPU vendor info.
It's currently only available through GLX
(eglQueryRendererIntegerMESA is not available yet)
so let's only use the Wayland native path for non-Xwayland systems for now.
Differential Revision: https://phabricator.services.mozilla.com/D58656
--HG--
extra : moz-landing-system : lando
This patch suppresses VR device access permission prompts for users that do not have any VR runtimes installed.
We could not depend on the existing VR device enumeration functions to suppress the permission prompts, as the
act of enumerating VR devices will result in some hardware physically powering on and software starting up (and staying running)
in the background.
This patch includes logic to spawn the VR process with an additional flag indicating that it should attempt only to detect the
runtimes, without proceeding to enumerate and activate hardware and software.
VRManager now includes an enum to more clearly organize it's state machine model, which now must ensure that the runtime detection
happens on-demand when the VR session support capabilities are first determined.
There is a new pref to disable the suppression of permission prompts for use within permission UI tests on machines without VR runtimes.
Renamed some variables and added comments to make code in nsGlobalWindowInner and Navigator clearer and better represent the updated logic -- to allow the separate detection of VR runtimes and VR session activation. Both the runtime detection and VR
session activity uses VREventObserver to send events to nsGlobalWindowInner.
Differential Revision: https://phabricator.services.mozilla.com/D57568
--HG--
extra : moz-landing-system : lando
UBSan was complaining about taking `&password_[0]` when the vector had zero capacity, because its STL's implementation of `operator[]` used a reference in an intermediate step, and putting null into a reference is prohibited.
While I'm here, I dropped the `const_cast`, since the callee was changed to accept `const UCHAR*` years ago.
Differential Revision: https://phabricator.services.mozilla.com/D58643
--HG--
extra : moz-landing-system : lando
It seems that the recommended Prettier extension for VSCode automatically formats CSS.
I guess this is also true for any editor extension that formats on save.
However ./mach lint is not checking CSS formatting issues, and we have not auto-formatted CSS files in the tree.
This can lead to unexpected formatting changes for developers using VSCode.
Differential Revision: https://phabricator.services.mozilla.com/D58593
--HG--
extra : moz-landing-system : lando