Commit Graph

686366 Commits

Author SHA1 Message Date
Sylvestre Ledru
3a0475385f no bug - Add two mermaid examples r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D58684

--HG--
extra : moz-landing-system : lando
2020-01-05 18:44:54 +00:00
Brindusan Cristian
3a213de941 Bug 1603014 - Disable on OSX for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58698

--HG--
extra : moz-landing-system : lando
2020-01-05 11:51:47 +00:00
Brian Hackett
99ff90baa1 Bug 1607014 Part 2 - Remove references to toolkit/recordreplay/udis86, r=jlast.
Depends on D58693

Differential Revision: https://phabricator.services.mozilla.com/D58695

--HG--
extra : moz-landing-system : lando
2020-01-05 01:43:41 +00:00
Brian Hackett
d7997795b9 Bug 1607014 Part 1 - Redirect functions by changing linker references instead of rewriting machine code, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58693

--HG--
extra : moz-landing-system : lando
2020-01-05 15:33:43 +00:00
Emilio Cobos Álvarez
6d777c8bf9 Bug 1607069 - Simplify some serialization code in glue.rs. r=jwatt
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
2020-01-05 14:42:23 +00:00
Jonathan Watt
c7009d5a15 Bug 1607035. Make mach doc print out the the JSDoc error message when jsdoc is missing. r=sylvestre
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
2020-01-05 13:31:44 +00:00
Emilio Cobos Álvarez
ab672d9f29 Bug 1605803 - Use cbindgen for content property. r=xidorn
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
2020-01-05 13:10:39 +00:00
Tom Schuster
08310b0e31 Bug 1605854 - Fix xrayToJS test to work with conditional toSource. r=bzbarsky
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
2020-01-05 11:44:08 +00:00
Tom Schuster
96cac69797 Bug 1605854 - Remove toSource from ServiceWorker tests. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58310

--HG--
extra : moz-landing-system : lando
2020-01-03 23:41:20 +00:00
Vlad Zahorodnii
30aa62894e Bug 1497066 - [Linux/HiDPI] Draw header bar buttons at correct scale on HiDPI, r=stransky
Set the style scale in order to be in line with GetStyleContext().

Differential Revision: https://phabricator.services.mozilla.com/D58353

--HG--
extra : moz-landing-system : lando
2020-01-05 10:30:36 +00:00
Jean-Yves Avenard
7d42be93a7 Bug 1603187 - P4. Pass navigation timing info to the new docshell when performing a process switch. r=mattwoodrow,farre
Differential Revision: https://phabricator.services.mozilla.com/D57772

--HG--
extra : moz-landing-system : lando
2020-01-05 05:44:44 +00:00
Jean-Yves Avenard
1a27f6f0f6 Bug 1603187 - P3. Add Anonymize method. r=smaug
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
2020-01-05 05:44:31 +00:00
Jean-Yves Avenard
a0bcbb1eff Bug 1603187 - P2. Add copy constructor to nsDOMNavigationTiming. r=mattwoodrow,smaug
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
2020-01-05 05:44:24 +00:00
Jean-Yves Avenard
28f2b1959f Bug 1603187 - P1. Add IPDL serialiser for nsDOMNavigationTiming object. r=mattwoodrow,smaug
Differential Revision: https://phabricator.services.mozilla.com/D57770

--HG--
extra : moz-landing-system : lando
2020-01-05 06:03:43 +00:00
Jason Laster
9b99e1d9c6 Bug 1606949 - Revert "Bug 1606949 - Add about:replay. "
This reverts commit 5721aff7c1f3ffe5491d277dc01f6eec32771f12.

Differential Revision: https://phabricator.services.mozilla.com/D58706

--HG--
extra : moz-landing-system : lando
2020-01-05 05:58:37 +00:00
Jason Laster
d3eb64cb4d Bug 1606949 - Add about:replay. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D58661

--HG--
extra : moz-landing-system : lando
2020-01-05 02:04:18 +00:00
Andrew Sutherland
eb447022c9 Bug 1588148 - extend test timeout for long-running test. r=perry
Differential Revision: https://phabricator.services.mozilla.com/D58385

--HG--
extra : moz-landing-system : lando
2020-01-04 21:44:51 +00:00
Narcis Beleuzu
c1482e434d Backed out changeset c5f2b5b4a45f (bug 1588148) for mochitest failures on test_formSubmission.html . CLOSED TREE 2020-01-04 22:08:40 +02:00
David Parks
475a851ce8 Bug 1600595: Part 5 - Make RecvReadbackAsyncPluginSurface use ReadbackTexture r=mattwoodrow
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
2020-01-04 19:37:39 +00:00
David Parks
5f501cb3b8 Bug 1600595: Part 4 - Make D3D11ShareHandleImage use CreateBGRA8DataSourceSurfaceForD3D11Texture r=mattwoodrow
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
2020-01-04 19:37:01 +00:00
David Parks
83cbdc257d Bug 1600595: Part 3 - Add D3D11 utilities for creating CPU textures and converting format enums r=jrmuizel
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
2020-01-04 19:39:40 +00:00
David Parks
c8478e9ba2 Bug 1600595: Part 2 - Change BufferTexture to allow any IShmemAllocator owner r=mattwoodrow
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
2020-01-04 19:35:38 +00:00
David Parks
611dfe0fcb Bug 1600595: Part 1 - Consolidate ShmemAllocator and IShmemAllocator into one class r=nical
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
2020-01-04 19:34:59 +00:00
Tetsuharu OHZEKI
b3d907498a Bug 1597488 - Fix uses of nsResizerFrame::GetContentToResize in layout/xul/nsResizerFrame.cpp. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58483

--HG--
extra : moz-landing-system : lando
2020-01-04 19:35:50 +00:00
Andrew Sutherland
30b6e43a67 Bug 1588148 - extend test timeout for long-running test. r=perry
Differential Revision: https://phabricator.services.mozilla.com/D58385

--HG--
extra : moz-landing-system : lando
2020-01-03 22:18:36 +00:00
André Bargull
d55a11b355 Bug 1606856: Add gdb pretty printers for JSOp and jsbytecode. r=sfink
- 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
2020-01-04 17:13:02 +00:00
Brian Hackett
4f9a7f8f76 Bug 1603945 - Enable crash recovery with fork based rewinding, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58666

--HG--
extra : moz-landing-system : lando
2020-01-04 15:52:05 +00:00
Brian Hackett
9a1d3033bf Bug 1606729 - Reduce the number of debugger requests made when inspecting objects, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D58558

--HG--
extra : moz-landing-system : lando
2020-01-04 15:52:05 +00:00
Gijs Kruitbosch
bb68b05f4e Bug 1587057 - add localizable string for wmfvpxvideo crash guard, r=jgilbert,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D58650

--HG--
extra : moz-landing-system : lando
2020-01-04 06:36:36 +00:00
Arthur Iakab
0c97593623 Backed out changeset 7637a2a6e365 (bug 1606856) for causing spidermonkey bustages on JSObject.h 2020-01-04 17:25:04 +02:00
André Bargull
e5b12e23e3 Bug 1606856: Add gdb pretty printers for JSOp and jsbytecode. r=sfink
- 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
2020-01-04 14:14:37 +00:00
Steven Englehardt
e6d6a4346d Bug 1605550 - Narrow the filter for Safebrowsing files to avoid collisions r=marionette-reviewers,dimi,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D58586

--HG--
extra : moz-landing-system : lando
2020-01-04 07:35:01 +00:00
Emilio Cobos Álvarez
21da23a2c7 Bug 1449861 - Follow-up: Try to fix windows builds.
Differential Revision: https://phabricator.services.mozilla.com/D58682

--HG--
extra : moz-landing-system : lando
2020-01-04 11:09:46 +00:00
Emilio Cobos Álvarez
bc36653df5 Bug 1449861 - Use UTF8String for some CSSOM APIs. r=bzbarsky
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
2020-01-04 10:36:49 +00:00
Emilio Cobos Álvarez
6bb42bfdf8 Bug 1449861 - Add codegen support for UTF8String. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58629

--HG--
extra : moz-landing-system : lando
2020-01-04 10:36:49 +00:00
Emilio Cobos Álvarez
b58f2e72e8 Bug 1449861 - Add UTF8String to the WebIDL parser. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58628

--HG--
extra : moz-landing-system : lando
2020-01-04 10:35:21 +00:00
Arthur Iakab
405eddfd81 Merge autoland to mozilla-central. a=merge 2020-01-04 11:45:46 +02:00
Rob Lemley
f0b02e1fa1 Bug 1589886 - Debian MinGW compiler image for Thunderbird OTR libraries. r=froydnj
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
2020-01-03 22:13:45 +00:00
Botond Ballo
135666daa1 Bug 1606959 - Include the checkerboard event lock in the APZ lock ordering documentation (DONTBUILD for doc-only change). r=tnikkel
Depends on D58658

Differential Revision: https://phabricator.services.mozilla.com/D58662

--HG--
extra : moz-landing-system : lando
2020-01-03 23:18:10 +00:00
Botond Ballo
ac360dc050 Bug 1606859 - Hold mRecursiveMutex while calling Axis::StartTouch(). r=tnikkel
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 23:32:13 +00:00
Botond Ballo
dd379dc091 Bug 1606807 - Protect the access of AsyncPanZoomController::mState in ReportCheckerboard(). r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D58657

--HG--
extra : moz-landing-system : lando
2020-01-03 23:13:39 +00:00
Jonathan Kingston
27ca040dfd Bug 1606774 - Change GetAttribute to GetAttr where possible r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58585

--HG--
extra : moz-landing-system : lando
2020-01-03 23:40:53 +00:00
J.C. Jones
b560bdb144 Bug 1602020 - land NSS NSS_3_49_RTM UPGRADE_NSS_RELEASE, r=kjacobs
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
2020-01-03 22:13:28 +00:00
Greg V
15dff47da4 Bug 1606941 - prefer GLX in glxtest for now r=stransky
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
2020-01-03 22:56:50 +00:00
Kearwood "Kip" Gilbert
b3787eec77 Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky
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
2020-01-03 22:47:26 +00:00
David Major
eb1ba6eb92 Bug 1586170 - Fix ubsan issue in NrIceTurnServer::ToNicerTurnStruct r=bwc
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
2020-01-03 21:07:16 +00:00
Tom Prince
b6a284f66b Bug 1606869: Switch decision task docker caches to match the rest the in-tree caches; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D58638

--HG--
extra : moz-landing-system : lando
2020-01-03 22:18:29 +00:00
Justin Wood
32a8663622 Bug 1606899 - Fix 'NameError: global name ...' error which regressed from Bug 1604749. r=tomprince a=releng DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com//D58646

--HG--
extra : amend_source : f10cc928406410f16f036279db824f803977b692
2020-01-03 22:06:19 +02:00
Michael Hoffmann
85c3b123f5 Bug 1604482 - Fix TypeScript type error for gIsDarkMode r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D57649

--HG--
extra : moz-landing-system : lando
2020-01-03 12:24:09 +00:00
Julian Descottes
ec780daa43 Bug 1606787 - Exclude CSS files from Prettier configuration r=vporof
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
2020-01-03 12:26:41 +00:00