755937 Commits

Author SHA1 Message Date
Mike Hommey
c43f8a0984 Bug 1708935 - Don't run clippy on crates that don't build on Linux. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D114210
2021-05-04 09:31:12 +00:00
Mike Hommey
9eb9a419b9 Bug 1708935 - Run clippy sequentially. r=sylvestre
The parallel run of sequences of "clean; clippy; clean" creates race
conditions that alter the results of clippy and can mask errors.
Moreover, chances are clippy is not allowing any parallelization
anyways, because with two concurrent clippy running, one will be waiting
for the other because of cargo locking.

This turns the current intermittent failure into a permanent one.

Differential Revision: https://phabricator.services.mozilla.com/D114209
2021-05-04 09:31:12 +00:00
Alexandre Poirot
cf0c5203e9 Bug 1701790 - Move ResourceWatcher tests to their new folder. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113934
2021-05-04 09:29:48 +00:00
Alexandre Poirot
ecf535689e Bug 1701790 - Migrate ResourceWatcher to become ResourceCommand. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D113930
2021-05-04 09:29:47 +00:00
Andi-Bogdan Postelnicu
45f1bcd05f Bug 1709274 - Update wrench-macos-build to clang-12. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D114202
2021-05-04 09:08:44 +00:00
Sandor Molnar
b5ebdf39ff Backed out changeset e4c8bc9f6f34 (bug 1708722) for causing build bustages. DONTBUILD CLOSED TREE 2021-05-04 12:17:25 +03:00
Jon Coppeard
cddcbf10be Bug 1708722 - Move error reporting APIs to a new public header r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D113993
2021-05-04 08:52:17 +00:00
Steven Michaud
9e1051a831 Bug 1577886 - Add support to for macOS __crash_info data to Breakpad (followup). r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D114089
2021-05-04 08:31:08 +00:00
lyavor
d8cb699cc0 Bug 1704454 - Copy and adapt test https-only/test_resource_upgrade.html for https-first. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D113314
2021-05-04 07:51:26 +00:00
Calixte Denizet
285fd120c0 Bug 1707554 - Decode bmp image where data offset is 0 r=tnikkel
In some BMP files, data offset is set to 0 and in this case pixel data immediatly follow color table so don't fail in such a case.

Differential Revision: https://phabricator.services.mozilla.com/D113395
2021-05-04 07:15:45 +00:00
Henrik Skupin
955d7a045e Bug 1693296 - [remote] Hardening Browser.close() for a clean shutdown. r=remote-protocol-reviewers,jdescottes
For a shutdown attempt all windows should be informed first so
that various components can safely do clean-up work.

If something prevents the shutdown the Remote Agent should force it.
This will make sure that no application process remains,
or would have to be force killed externally via its PID.

Differential Revision: https://phabricator.services.mozilla.com/D105490
2021-05-04 06:34:37 +00:00
Lars T Hansen
fa1414e4b5 Bug 1706891 - Config machinery for relaxed simd. r=rhunt
Introduce moz.configure, WasmFeatures, and StaticPrefList.yaml
machinery to define a config option for relaxed SIMD
(https://github.com/WebAssembly/relaxed-simd).  At the moment, there
are no defined relaxed SIMD opcodes, but a dozen or so are in the
works.  This just sets us up for implementing those.

Differential Revision: https://phabricator.services.mozilla.com/D114117
2021-05-04 06:26:13 +00:00
Kagami Sascha Rosylight
1b59a49ab1 Bug 1707681 - Ignore third party paths in explicit-operator-bool check r=andi
Differential Revision: https://phabricator.services.mozilla.com/D113695
2021-05-04 06:20:25 +00:00
Karl Tomlinson
0eb94679e5 Bug 1708179 Test PannerNode.setPosition() throws with parameter out of range of float r=padenot
Depends on D113943

Differential Revision: https://phabricator.services.mozilla.com/D113944
2021-05-04 03:48:34 +00:00
Karl Tomlinson
1f6f4224c8 Bug 1708179 throw when PannerNode param value a not in the range of float r=padenot
This is similar to what WebIDL bindings would do for us when the AudioParam setters are called.

setPosition() "is equivalent to setting positionX.value, positionY.value, and positionZ.value
attribute directly with the x, y and z parameters, respectively."
https://webaudio.github.io/web-audio-api/#dom-pannernode-setposition

Differential Revision: https://phabricator.services.mozilla.com/D113943
2021-05-04 03:48:34 +00:00
Karl Tomlinson
ccc0c7cae2 Bug 1708179 switch from PannerNode.setPosition() parameters close to DBL_MAX to FLT_MAX r=padenot
The large numbers were to test
https://hg.mozilla.org/integration/mozilla-inbound/rev/084b01d1b6b3
but were ignored after
https://hg.mozilla.org/integration/mozilla-inbound/rev/8799895ca858

Depends on D113941

Differential Revision: https://phabricator.services.mozilla.com/D113942
2021-05-04 03:48:33 +00:00
Karl Tomlinson
c727b2bf5c Bug 1708179 Test AudioParam value setter throws during setValueCurveAtTime() interval r=padenot
Depends on D113940

Differential Revision: https://phabricator.services.mozilla.com/D113941
2021-05-04 03:48:33 +00:00
Karl Tomlinson
39c1368512 Bug 1708179 remove unused variables r=padenot
Depends on D113939

Differential Revision: https://phabricator.services.mozilla.com/D113940
2021-05-04 03:48:33 +00:00
Karl Tomlinson
a6be19d968 Bug 1708179 throw when attempting to set AudioParam value during setValueCurveAtTime() interval r=padenot,emilio
Depends on D113938

Differential Revision: https://phabricator.services.mozilla.com/D113939
2021-05-04 03:48:32 +00:00
Karl Tomlinson
f2c39b5980 Bug 1708179 add AudioParam::SetInitialValue() for use in AudioNode creation r=padenot
when the setter should not throw because there are no events in the timeline
and the time is known valid.

This will allow us to make SetValue() throw when it conflicts with a
setValueCurveAtTime() curve.

Depends on D113937

Differential Revision: https://phabricator.services.mozilla.com/D113938
2021-05-04 03:48:32 +00:00
Karl Tomlinson
2b6889435f Bug 1708179 clarify that AudioEventTimeline::ValidateEvent() has no side effects r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D113937
2021-05-04 03:48:32 +00:00
Glenn Watson
759e747d77 Bug 1708337 - Fix rounded clips on root iframe tile caches. r=gfx-reviewers,lsalzman
If an iframe has complex clips, we need to skip including them
in the iframe specific clip applied to the tile cache, as that
path only supports rectangle clips.

Differential Revision: https://phabricator.services.mozilla.com/D114190
2021-05-04 03:37:38 +00:00
Nick Alexander
2f109387cc Bug 1707030 - Return to having NSDISTMODE=copy impact INSTALL. r=firefox-build-system-reviewers,mhentges
This reverts [part of Bug
1255485](https://hg.mozilla.org/mozilla-central/rev/5888578c22f8dc006cfd6a405c9fc53b2df73b44).

It should have been reverted in Bug 1641291, which allowed
NSDISTMODE=copy to impact build manifests.  This is useful when
cross-compiling: this stops some symlinks within the object directory
itself, say from `dist/include` to an object directory.

Differential Revision: https://phabricator.services.mozilla.com/D113149
2021-05-04 03:12:49 +00:00
Mike Hommey
d674f870ce Bug 1709237 - Upgrade the failure crate to 0.1.8. r=emilio
Replace the use of a third-party github repo with a in-tree patch.

Differential Revision: https://phabricator.services.mozilla.com/D114191
2021-05-04 02:22:45 +00:00
Glenn Watson
7947bc10f1 Bug 1706824 - Remove old direct-composition example. r=gfx-reviewers,lsalzman
This was an old example / proof of concept of directly drawing
to a DirectComposition surface.

We now have the example-compositor/ project that shows how to
integrate with DirectComposition on Windows and Wayland on
Linux, in addition to a shipping implementation in Gecko for
CoreAnimation and DirectComposition.

Differential Revision: https://phabricator.services.mozilla.com/D113052
2021-05-04 00:32:41 +00:00
Haik Aftandilian
a651eec1e4 Bug 1709225 - Add more logging to test file_fullscreen-scrollbar.html r=mac-reviewers,tnikkel
Add more logging to test file_fullscreen-scrollbar.html (executed by dom/html/test/test_fullscreen-api.html) so it is easier to understand failures.

Differential Revision: https://phabricator.services.mozilla.com/D114187
2021-05-04 00:11:12 +00:00
Glenn Watson
6bfb59cac9 Bug 1708444 - Don't create compositor surfaces inside blend containers. r=gfx-reviewers,bradwerth
If we optimize a root level blend container to be a tile cache, we
need to ensure we don't promote compositor surfaces within this slice
as it can result in incorrect blending.

Differential Revision: https://phabricator.services.mozilla.com/D114176
2021-05-04 00:02:45 +00:00
Brendan Dahl
7b2ab557b8 Bug 1651317 - Handle race in script compiling in PrototypeDocumentContentSink. r=smaug
I have still yet to reproduce this. However, it looks like it could happen if
two documents load the same script and they both finish at the same time
and one clears the mCurrentScriptProto of the other.

Differential Revision: https://phabricator.services.mozilla.com/D113602
2021-05-04 00:01:22 +00:00
Botond Ballo
edaa0e7e9b Bug 1708855 - Remove Axis::GetScaleForAxis(). r=tnikkel
It was duplicating the method GetAxisScale().

Differential Revision: https://phabricator.services.mozilla.com/D114180
2021-05-03 23:51:29 +00:00
Botond Ballo
9adeec0ae9 Bug 1708855 - Use Axis to avoid code repetition in AsyncScrollThumbTransformer. r=tnikkel
Depends on D114162

Differential Revision: https://phabricator.services.mozilla.com/D114163
2021-05-03 23:51:29 +00:00
Botond Ballo
60aef10c93 Bug 1708855 - Promote a few local variables in AsyncScrollThumbTransformer::ComputeTransform() to fields. r=tnikkel
Depends on D114161

Differential Revision: https://phabricator.services.mozilla.com/D114162
2021-05-03 23:51:28 +00:00
Botond Ballo
7bbe707700 Bug 1708855 - Give Axis a few more accessor methods. r=tnikkel
Depends on D114160

Differential Revision: https://phabricator.services.mozilla.com/D114161
2021-05-03 23:51:28 +00:00
Botond Ballo
33a931df2d Bug 1708855 - Move the implementation of ComputeTransformForScrollThumb into an instance method of a class. r=tnikkel
This allows us to factor out parts of the computation into their own
functions without having to pass too many things around as arguments.

Depends on D114159

Differential Revision: https://phabricator.services.mozilla.com/D114160
2021-05-03 23:51:28 +00:00
Botond Ballo
b2057e554e Bug 1708855 - Move the implementation of ComputeTransformForScrollThumb into its own file. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D114159
2021-05-03 23:51:27 +00:00
Yury Delendik
56803b57c7 Bug 1699620 - Refactor i64x2.shr_s and remove scalarization. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D113184
2021-05-03 23:36:12 +00:00
James Teh
c2a4380cef Bug 1706851: Remove Windows HyperTextProxyFor() function. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D113063
2021-05-03 23:32:24 +00:00
Morgan Reschenberg
a0703b0672 Bug 1706910: Introduce testing for AXFrame, accessibilityFrame r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D113185
2021-05-03 23:21:32 +00:00
Morgan Reschenberg
ab5a074a02 Bug 1706910: Implement AXFrame, accessibilityFrame for VoiceOver r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D113585
2021-05-03 23:21:31 +00:00
Boris Chiou
5272e5d351 Bug 1706157 - Avoid int overflow for steps() timing function. r=hiro
We increase |jumps| for steps(<integer>,jump-both), and the <integer>
could be a large number, so we have to avoid the int overflow. Now we use
CheckedInt32 for it.

Also, `aPortion * aStepFunc.mSteps` may be out of the range of int32_t,
so we clamp it first and use CheckedInt32 for currentStep, too.

The error handling is pretty simple. We don't care about the result of
this unexpected behavior, so we simply roll the value back to the
original one.

Differential Revision: https://phabricator.services.mozilla.com/D112684
2021-05-03 23:07:03 +00:00
Brindusan Cristian
2b6edfd254 Backed out changeset 2ab466464002 (bug 1688188) for causing sm bustages in tests.h. CLOSED TREE 2021-05-04 01:26:03 +03:00
mr.robot
251bb930eb Bug 1688188: Replace GC parameters and zeal mode with auto classes in jsapi-tests r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D113592
2021-05-03 22:05:34 +00:00
Jeff Muizelaar
3e6d79347c Bug 1708937. Work around a gen6 shader compiler bug. r=gw
This was found through experimentation. Hopefully,
we'll get a better understanding of what's going on in the future.

Differential Revision: https://phabricator.services.mozilla.com/D114166
2021-05-03 21:35:49 +00:00
Nika Layzell
8e887cbfda Bug 1697928 - Select process for about:reader based on article URI, r=annyG
Differential Revision: https://phabricator.services.mozilla.com/D108864
2021-05-03 21:30:10 +00:00
alwu
49eb472b16 Bug 1707242 - part2 : add test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D114006
2021-05-03 21:12:02 +00:00
alwu
46b9e4daeb Bug 1707242 - part1 : use empty image in null video data. r=bryce
Using a non-null image can prevent element from changing its ready state incorrectly to `HAVE_METADATA`. See more detailed analysis in [1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1707242#c9

Differential Revision: https://phabricator.services.mozilla.com/D114005
2021-05-03 21:12:01 +00:00
Dão Gottwald
7cd2790f31 Bug 1708911 - Remove duplicate variables from panelUI-custom-colors.inc.css. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D114049
2021-05-03 20:57:03 +00:00
Andrew Halberstadt
8bb5b785c1 No Bug - [taskgraph] Add 'check=True' to subprocess when running with --diff, r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D113860
2021-05-03 20:55:19 +00:00
Andrew Halberstadt
2976b622e7 No Bug - [taskgraph] Generate current taskgraph before base when running with --diff, r=taskgraph-reviewers,aki
This ensures that when your patch has an error, taskgraph generation will fail
faster rather than needing to wait for the base generation to complete.

Depends on D113854

Differential Revision: https://phabricator.services.mozilla.com/D113859
2021-05-03 20:55:18 +00:00
Andrew Halberstadt
89f7a5f21c Bug 1702819 - [taskgraph] Support Python 3.6 with ./mach taskgraph <sub> --diff, r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D113854
2021-05-03 20:55:18 +00:00
Steve Fink
c0568910c7 Bug 1708048 - Ensure that bootstrap-generated mozconfigs end with newline r=mhentges
Differential Revision: https://phabricator.services.mozilla.com/D113877
2021-05-03 20:39:09 +00:00