Commit Graph

719026 Commits

Author SHA1 Message Date
Matthew Gaudet
516b2a2a71 Bug 1644160 - Initial Proxy Support for Private Fields r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D83145
2020-07-20 13:49:12 +00:00
Jeff Gilbert
a903a0a306 Bug 1654048 - Release NotLost in CC unlink for std::shared_ptr<webgl::NotLostData>&. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D84210
2020-07-20 18:52:12 +00:00
Narcis Beleuzu
d78bc06be2 Bug 1651261 - Disable browser_ext_url_overrides_newtab.js on linux64. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D84049
2020-07-20 19:21:47 +00:00
Kevin Jacobs
e3e0baf90e Bug 1649545 - land NSS 615362dff5ad UPGRADE_NSS_RELEASE, r=jcj
2020-07-18  Benjamin Beurdouche  <bbeurdouche@mozilla.com>

	* gtests/pk11_gtest/pk11_cipherop_unittest.cc, lib/softoken/pkcs11c.c:
	Bug 1636771 - Disable PKCS11 incremental mode for ChaCha20.
	r=kjacobs,rrelyea

	Depends on D74801

	[615362dff5ad] [tip]

	* gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc,
	lib/freebl/chacha20poly1305.c:
	Bug 1636771 - Fix incorrect call to Chacha20Poly1305 by PKCS11.
	r=jcj,kjacobs,rrelyea

	[a5e82e40f03e]

2020-07-16  Benjamin Beurdouche  <bbeurdouche@mozilla.com>

	* lib/softoken/pkcs11c.c:
	Bug 1637222 - Enforce IV length check for DES. r=kjacobs,jcj

	[0c70232cb6d3]

Differential Revision: https://phabricator.services.mozilla.com/D84043
2020-07-20 17:19:03 +00:00
Andreea Pavel
e46180930b Bug 1595340 - re-enable browser_ext_urlbar.js on fission r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D83851
2020-07-20 17:59:41 +00:00
André Bargull
04cd1143ae Bug 1653956: Remove inline specifier for functions defined in cpp file. r=loganfsmyth
This avoids undefined reference errors for "js::DebuggerFrame::owner()" when
building non-unified with optimisations enabled.

Differential Revision: https://phabricator.services.mozilla.com/D84147
2020-07-20 17:09:34 +00:00
Andrew Osmond
d933968108 Bug 1582954 - Use posix_fallocate if available to avoid lazy allocation for shared memory. r=jld
WebRender makes extensive use of shared memory buffers, particularly for
images decoded in the content process. These images can be arbitrarily
large, and there being insufficient memory for an allocation must be
handled gracefully.

On Linux, we will currently crash with a SIGBUS signal during image
decoding instead of just displaying the broken image tag. This is
because the pages backing the shared memory are only allocated when we
write to them. This blocks shipping WebRender on Linux.

This patch uses posix_fallocate to force the reservation of the pages,
and allows failing gracefully if they are unavailable.

Differential Revision: https://phabricator.services.mozilla.com/D80650
2020-07-20 17:47:52 +00:00
Kartikaya Gupta
416d7eb958 Bug 1643847 - Fix webrender detection for talos profiling. r=jmaher,perftest-reviewers,sparky
I think I broken this in bug 1558598 by changing when the MOZ_WEBRENDER
env var is set. It is no longer set for the python process, but set *by* the
python process for Firefox. So we need to update the corresponding check
when we determine which FF threads need profiling.

Depends on D84011

Differential Revision: https://phabricator.services.mozilla.com/D84103
2020-07-20 18:14:59 +00:00
Kartikaya Gupta
c1424e1a0c Bug 1643847 - Allow running talos-profiling jobs on QR platforms. r=perftest-reviewers,sparky
This adds the talos-profiling jobs to the relevant test-platforms so that they
can be run for Linux and Windows shippable builds with WebRender enabled.
However they are also disabled from running on m-c by default; they must be
run explicitly using `./mach try fuzzy --full` or using the TreeHerder add jobs
feature.

Differential Revision: https://phabricator.services.mozilla.com/D84011
2020-07-20 18:14:26 +00:00
Kartikaya Gupta
3424be1f06 Bug 1643847 - Remove redundant run-on-projects block. r=ahal
This block is identical to the run-on-projects applied to all the talos
profiling jobs in the defaults section at the top of the file. Therefore
it is redundant.

Differential Revision: https://phabricator.services.mozilla.com/D84010
2020-07-17 21:14:25 +00:00
Ricky Stewart
c35700e4d5 Bug 1653440 - Fix confusing error message when nasm is required, but not installed r=mhentges,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D83993
2020-07-20 16:15:52 +00:00
Ricky Stewart
31cd1c2dbc Bug 1647814 - Verify that Python is installed and up-to-date in bootstrap. r=mhentges,froydnj
Check whether Python 3 is up-to-date and bail out with specific installation guidance if not. Don't install or upgrade Python 2/3. Also check whether Python 2 is up-to-date, and while we don't block `bootstrap` on it (because Python 2 isn't required to build), also supplement with specific installation guidance for people who need it.

Differential Revision: https://phabricator.services.mozilla.com/D82739
2020-07-20 18:15:06 +00:00
Ricky Stewart
055da469b5 Bug 1647806 - Document Python installation steps r=firefox-source-docs-reviewers,sylvestre,froydnj
`bootstrap` won't be able to install them for you forever (and it isn't really properly capable of installing it for you at this very moment), and installing Python 3 as well as Python 2 is increasingly non-trivial on arbitrary OS'es, so we need to document things properly here.

Specific guidance on how to use `brew` to install Python 2 on macOS is included here. I also go into more depth on the situation on Linux and explicitly point people to the existence of `pyenv` with basic usage information, which should fill in the gaps left by the OS package managers.

Also, update some documentation to prefer the `python3` binary to the `python` binary (which is often Python 2), and fix some broken links.

Differential Revision: https://phabricator.services.mozilla.com/D82611
2020-07-20 18:15:39 +00:00
Jonathan Kew
258369999a Bug 1641805 - Remove support for creating a DownloadSource from an nsIDOMWindow. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D84137
2020-07-20 16:04:35 +00:00
Jonathan Kew
bc9c7169fe Bug 1641805 - Remove DownloadPDFSaver, no longer needed in a post-Fennec world. r=paolo,mak
Differential Revision: https://phabricator.services.mozilla.com/D84012
2020-07-20 16:10:09 +00:00
Itiel
83a94cf4c5 Bug 1653785 - [RTL] Fix the twisty direction when collapsed for the stack trace tooltip r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D84097
2020-07-20 17:24:41 +00:00
Mark Banner
d8bb43d7fe Bug 1651330 - Include Canonical distribution in search engine configuration. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D82764
2020-07-20 16:33:43 +00:00
Andrew McCreight
6fce3d2191 Bug 1653587 - Fix "Genreate" typo. DONOTBUILD r=jld
Differential Revision: https://phabricator.services.mozilla.com/D83956
2020-07-20 16:52:29 +00:00
Markus Stange
1a5c9783a1 Bug 1578042 - Call UpdateCompositedFrame from ChooseImageIndex so that the frame drop detection works for non-WebRender too. r=nical
Non-WebRender calls ChooseImageIndex multiple times per frame, and only calls
FinishRendering if it actually rendered the video. This makes some of the
bookkeeping here a bit annoying.

This patch introduces a behavior difference as to when mLastFrameID is updated.
It is now updated during the first ChooseImageIndex inside of a composition,
rather than from FinishRendering. But the bias is still updated from
FinishRendering. I don't think this will make an actual difference in practice.

Differential Revision: https://phabricator.services.mozilla.com/D84072
2020-07-20 16:20:53 +00:00
Markus Stange
664f21e124 Bug 1578042 - Move mCompositionOpportunityId incrementing from EndTransaction to UpdateAndRender. r=nical
I got this wrong when I added non-WebRender support in the patch that added
the CompositionOpportunityId counter. I forgot that EndTransaction is not only
called when we composite, but also, who would have thought, when we process a
transaction.
We only want to increment mCompositionOpportunityId when we're actually about
to composite.

Differential Revision: https://phabricator.services.mozilla.com/D84111
2020-07-20 16:20:24 +00:00
Markus Stange
1934ae99f2 Bug 1578042 - Ignore skipped frames when the video was offscreen. r=jya,nical
This patch makes it work for WebRender. The next patch in the series makes it
work for non-WebRender, too.

Differential Revision: https://phabricator.services.mozilla.com/D83463
2020-07-20 16:20:12 +00:00
Markus Stange
91f5573c75 Bug 1578042 - Improve dropped frames reporting for videos, by counting all frames in mImages that were never composited. r=jya,nical
In the current state this also counts frame drops while the video is offscreen,
but this will be fixed in a later patch in the series.

This patch also adjusts the time delta check: It now compares floored milliseconds.
In 60fps WebM videos, the video frame durations are 16.0, 17.0, 17.0, 16.0, 17.0, 17.0, ...
so we need to consider frames with 16.0ms as displayable even when the target
frame duration is 16.67ms, otherwise we gloss over one third of the frames when
counting potentially dropped frames.

Differential Revision: https://phabricator.services.mozilla.com/D82635
2020-07-20 16:19:51 +00:00
Narcis Beleuzu
aa30c5f7d4 Backed out changeset 1ab7f1314221 (bug 1653642) for remote failures on nsWebSocketConnection.cpp . CLOSED TREE 2020-07-20 20:01:30 +03:00
Chris Fallin
1438721c3a Bug 1653502: Update vendored Cranelift to fix fuzzbug. r=bbouvier
This patch pulls in revision 1b3b2dbfd00492161032760992a8699d19b640ca of
Cranelift. This includes PR bytecodealliance/wasmtime#2042, which fixes
bug 1653502 by properly masking the shift amount in a shift incorporated
into an aarch64 arithmetic instruction.

This patch also includes various other miscellaneous Cranelift
improvements that have been merged since the last version-bump,
including some aarch64 codegen improvements.

Differential Revision: https://phabricator.services.mozilla.com/D84101
2020-07-20 10:04:31 +00:00
Itiel
264fc4a9fa Bug 1650901 - Vertically center the open-inspector button in the Layout panel r=nchevobbe
Also improve the CSS a bit in layout.css

Differential Revision: https://phabricator.services.mozilla.com/D82440
2020-07-20 15:06:47 +00:00
Robert Mader
0d74f2d95f Bug 1617002 - Remove checks for unsupported GTK3 versions. r=stransky
Cleans up the code a bit to make actually used fallback code easier to spot
and update the required GTK version so deprecation warnings are more accurate.

Also make `gdk_window_set_opaque_region` always available - we can now assume
it to be present in all supported versions.

Differential Revision: https://phabricator.services.mozilla.com/D82804
2020-07-20 15:43:30 +00:00
André Bargull
52ac7a4727 Bug 1653962 - Part 5: Transpile CompareSymbolResult. r=jandem
Depends on D84155

Differential Revision: https://phabricator.services.mozilla.com/D84156
2020-07-20 14:36:03 +00:00
André Bargull
ca29e02186 Bug 1653962 - Part 4: Transpile DoubleIncResult and DoubleDecResult. r=jandem
Depends on D84154

Differential Revision: https://phabricator.services.mozilla.com/D84155
2020-07-20 13:42:53 +00:00
André Bargull
60ff9ad115 Bug 1653962 - Part 3: Remove duplicate line in CallNativeFunction. r=jandem
Depends on D84153

Differential Revision: https://phabricator.services.mozilla.com/D84154
2020-07-20 13:42:26 +00:00
André Bargull
0470aad264 Bug 1653962 - Part 2: Transpile GuardToUint8Clamped. r=jandem
Depends on D84152

Differential Revision: https://phabricator.services.mozilla.com/D84153
2020-07-20 13:42:18 +00:00
André Bargull
45b2750acd Bug 1653962 - Part 1: Transpile GuardToBigInt. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D84152
2020-07-20 13:41:02 +00:00
Kartikaya Gupta
38770c344a Bug 1486004 - Part 18 - Update wrench to use mozdevice 4.0.0 on bitbar. r=gbrown
Since the system mozdevice version on bitbar is old, and mozharness now requires
mozdevice 4.0.0, we simply have the build job make a tarball of mozdevice 4.0.0
from the gecko source tree and export it as an artifact. The wrench job that
runs on bitbar can unpack the tarball and add it to the python path so it gets
picked up.

Differential Revision: https://phabricator.services.mozilla.com/D84070
2020-07-20 15:51:45 +00:00
Bob Clary
d790d404cf Bug 1486004 - Part 17 - Update remote xpcshell-tests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82759

Differential Revision: https://phabricator.services.mozilla.com/D82760
2020-07-18 03:36:23 +00:00
Bob Clary
41ff36e1a4 Bug 1486004 - Part 16 - Update web-platform tests to support unrooted android devices using mozdevice 4.0.0, ? r=jgraham
Depends on D82758

Differential Revision: https://phabricator.services.mozilla.com/D82759
2020-07-17 20:48:49 +00:00
Bob Clary
9196bd30dd Bug 1486004 - Part 15 - Update remotecppunittests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82757

Differential Revision: https://phabricator.services.mozilla.com/D82758
2020-07-17 20:48:51 +00:00
Bob Clary
64b5df9ccb Bug 1486004 - Part 14 - Update raptor to support unrooted android devices using mozdevice 4.0.0, ? r=perftest-reviewers,sparky
Depends on D82756

Differential Revision: https://phabricator.services.mozilla.com/D82757
2020-07-17 20:48:55 +00:00
Bob Clary
7d2cbb3b32 Bug 1486004 - Part 13 - Update mozharness configs and scripts to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82755

Differential Revision: https://phabricator.services.mozilla.com/D82756
2020-07-17 20:48:53 +00:00
Bob Clary
2b960e20cc Bug 1486004 - Part 12 - [mozrunner 8.0.2] Update mozrunner requirements to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82754

Differential Revision: https://phabricator.services.mozilla.com/D82755
2020-07-17 20:48:58 +00:00
Bob Clary
4ae6b58764 Bug 1486004 - Part 11 - [mozpower 1.1.2] Update mozpower requirements to support unrooted android devices using mozdevice 4.0.0, ? r=wlach,sparky
Depends on D82753

Differential Revision: https://phabricator.services.mozilla.com/D82754
2020-07-17 20:48:24 +00:00
Bob Clary
ff94966627 Bug 1486004 - Part 10 - Update mochitest to support unrooted android devices using mozdevice 4.0.0, ? r=ahal
Depends on D82752

Differential Revision: https://phabricator.services.mozilla.com/D82753
2020-07-17 20:48:26 +00:00
Bob Clary
beb78a0667 Bug 1486004 - Part 9 - Update marionette harness requirements to support unrooted android devices using mozdevice 4.0.0, ? r=marionette-reviewers,whimboo
Depends on D82751

Differential Revision: https://phabricator.services.mozilla.com/D82752
2020-07-17 20:48:28 +00:00
Bob Clary
6187c5614b Bug 1486004 - Part 8 - Update gtests to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82750

Differential Revision: https://phabricator.services.mozilla.com/D82751
2020-07-17 20:48:31 +00:00
Bob Clary
1cf58c8cce Bug 1486004 - Part 7 - Update Conditioned Profiles to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82749

Differential Revision: https://phabricator.services.mozilla.com/D82750
2020-07-17 20:48:33 +00:00
Bob Clary
6b2b24ee30 Bug 1486004 - Part 6 - Update mach perftest to support unrooted android devices using mozdevice 4.0.0, ? r=tarek
Depends on D82748

Differential Revision: https://phabricator.services.mozilla.com/D82749
2020-07-17 20:48:35 +00:00
Bob Clary
010a210fff Bug 1486004 - Part 5 - Update reftests to support unrooted android devices using mozdevice 4.0.0, ? r=jmaher
Depends on D82747

Differential Revision: https://phabricator.services.mozilla.com/D82748
2020-07-17 20:48:38 +00:00
Bob Clary
9989584a44 Bug 1486004 - Part 4 - Update jstests, jit-tests to support unrooted android devices using mozdevice 4.0.0, ? r=tcampbell
Depends on D82746

Differential Revision: https://phabricator.services.mozilla.com/D82747
2020-07-17 20:48:40 +00:00
Bob Clary
15be5895b3 Bug 1486004 - Part 3 - change help prompt for remote test root to show /data/local/tmp/test_root, r=gbrown
Depends on D82745

Differential Revision: https://phabricator.services.mozilla.com/D82746
2020-07-17 20:48:42 +00:00
Bob Clary
f39d6f85a0 Bug 1486004 - Part 2 - Update remoteautomation.py to support unrooted android devices using mozdevice 4.0.0, r=gbrown
Depends on D82744

Differential Revision: https://phabricator.services.mozilla.com/D82745
2020-07-17 20:48:44 +00:00
Bob Clary
421a5117f1 Bug 1486004 - Part 1 - [mozdevice 4.0.0] Use run-as to work around rooted device requirement, r=gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D82744
2020-07-17 20:48:22 +00:00
Andrew Halberstadt
85e7c622aa No bug: [taskgraph] Simplify bugbug strategies; r=ahal
This change the strategy aliases that have bugbug, so that they handle the extra
arguments that are needed by bugbug.

Differential Revision: https://phabricator.services.mozilla.com/D83438
2020-07-20 15:10:41 +00:00