Commit Graph

718433 Commits

Author SHA1 Message Date
Mirko Brodesser
76c391b27f Bug 1649121: part 44) Factor PreProcessContextDocumentFragmentForMerging out. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D83661
2020-07-17 08:44:36 +00:00
Mirko Brodesser
d8b92c4ea0 Bug 1649121: part 43) Factor PostProcessFragmentForPastedHTMLWithoutContext out. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D83660
2020-07-17 08:44:33 +00:00
Mirko Brodesser
434ad21fa9 Bug 1649121: part 42) Factor MergeAndPostProcessFragmentsForPastedHTMLAndContext out. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D83659
2020-07-17 08:44:31 +00:00
Mirko Brodesser
2edf97ca16 Bug 1649121: part 41) Add local variable for pasted HTML document fragment. r=masayuki
It's clearer and allows setting the output fragment at the end of the
method.

Differential Revision: https://phabricator.services.mozilla.com/D83658
2020-07-17 08:44:28 +00:00
Shane Caraveo
d928462307 Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-17 12:28:48 +00:00
Paul Adenot
7fb73b1d6c Bug 1653113 - Backed out changeset cc82aacadf80. r=achronop
Depends on D83805

Differential Revision: https://phabricator.services.mozilla.com/D83806
2020-07-17 09:40:27 +00:00
Paul Adenot
6cd89c3d99 Bug 1653113 - Backed out changeset 61336bfc7584. r=achronop
Depends on D83804

Differential Revision: https://phabricator.services.mozilla.com/D83805
2020-07-17 09:50:48 +00:00
Paul Adenot
6a1605c539 Bug 1653113 - Backed out changeset 5e969a4bab42. r=achronop
Depends on D83651

Differential Revision: https://phabricator.services.mozilla.com/D83804
2020-07-17 11:48:17 +00:00
Paul Adenot
f01a059230 Bug 1653259 - Downmix multichannel input to mono when applying input processing, leave stereo input stereo. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D83801
2020-07-17 11:36:59 +00:00
Gerald Squelart
4c769ee76a Bug 1651102 - Safely delay handling of child profile buffer updates - r=canaltinova
Profile buffer updates could be triggered from a number of locations, including scopes where profiler and/or system locks are held, making deadlocks possible if profiler and/or system function are called.
So instead of dispatching updates to the main thread (which may use OS task queue functions), we fold updates into a static storage. The profiler sampler loop regularly triggers processing of these pending updates.

Differential Revision: https://phabricator.services.mozilla.com/D83747
2020-07-17 11:21:38 +00:00
Gerald Squelart
7ad0136123 Bug 1651102 - Safely delay handling of parent profile buffer updates - r=canaltinova
Profile buffer updates could be triggered from a number of locations, including scopes where profiler and/or system locks are held, making deadlocks possible if profiler and/or system function are called.
So instead of dispatching updates to the main thread (which may use OS task queue functions), we fold updates into a static storage. When child updates arrive, we can safely handle parent updates as well.

Child updates are assumed to arrive regularly enough to properly handle parent updates.
But in the worst case, if no updates came from children, it should mean nothing is happening, and in any case we wouldn't know how the memory is used elsewhere. Note that the chunk manager still enforces local limits automatically, so memory usage would still get limited.

Differential Revision: https://phabricator.services.mozilla.com/D83746
2020-07-17 11:21:15 +00:00
Gerald Squelart
2a75e1761c Bug 1651102 - Remove unused ProfileBufferGlobalController members - r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D83745
2020-07-17 11:20:57 +00:00
Andrew Osmond
4a645cb26a Bug 1653464 - Improve Linux desktop and window protocol detection. r=nical
This patch adds detection for XWayland, as that is sometimes an
important distinction when debugging WebRender bugs. For all intents and
purposes, it should work the same as X11, but sometimes does not.

This patch also fixes the desktop environment detection for a few corner
cases. Budgie, in particular, claims to be a GNOME variant, which is not
correct for our purposes, and DWM wasn't detected at all.

Differential Revision: https://phabricator.services.mozilla.com/D83876
2020-07-17 09:57:25 +00:00
Paul Bone
02b5195413 Bug 1653482 - Tidy up after Bug 1647109 r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D83897
2020-07-17 09:39:59 +00:00
Paul Adenot
7c33b574ef Bug 1561207 - mach vendor rust. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D82719
2020-07-17 09:53:22 +00:00
Paul Adenot
fb896f9802 Bug 1561207 - Update audio_thread_priority to 0.23.4 and use MOZ_ENABLE_DBUS to enable dbus usage. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D82718
2020-07-17 09:53:10 +00:00
Ryan VanderMeulen
c0977f07d3 Bug 1652075 - Update the minimum supported macOS version in the build docs. r=sylvestre
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D83696
2020-07-17 09:49:32 +00:00
Mathieu Leplatre
890e5b92f5 Bug 1649872 - Fix environment in blocklists filter expressions r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D83807
2020-07-17 09:39:41 +00:00
Paul Bone
65b9ba9ca2 Bug 1626507 - pt 5. Remove duplicate call to openPreferences r=Gijs,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83872
2020-07-17 09:37:43 +00:00
Csoregi Natalia
c99b2cfaf1 Backed out changeset ad64957cf655 (bug 1271047) for failures on browser_ext_windows_create_params.js. CLOSED TREE 2020-07-17 12:25:28 +03:00
Simon Giesecke
0f6236401d Bug 1650749 - Mention tri-state comparison functor in documentation of Comparator. r=TYLin,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82334
2020-07-17 08:38:31 +00:00
YUKI "Piro" Hiroshi
f9cdb32c1e Bug 1271047 - Place "popup" type window to given coordinates r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D73419
2020-07-13 16:02:46 +00:00
Hubert Boma Manilla
e9e410e2c6 Bug 1604202 - Remove the dependency on the order of the network events r=Honza
Fixes the intermittent test failure

Differential Revision: https://phabricator.services.mozilla.com/D83810
2020-07-17 06:18:16 +00:00
Hubert Boma Manilla
32fa49ba40 Bug 1651625 - Avoid error when weakmap does not contain any info for the channel r=Honza
I've not got Windows to test the fix specifically.

This should stop from throwing an Error if the WeakMap does not contain
any data for the channel.
It should just return `null`

Differential Revision: https://phabricator.services.mozilla.com/D83840
2020-07-17 06:06:17 +00:00
Junior Hsu
5129ebb5b8 Bug 1649873 - Enable stream filter test for remote only, r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D81910
2020-07-13 16:24:51 +00:00
André Bargull
7425f80ae6 Bug 1651668 - Part 5: Update test262 exclusion list. r=mgaudet
Depends on D83835

Differential Revision: https://phabricator.services.mozilla.com/D83836
2020-07-17 07:27:10 +00:00
André Bargull
8070b58be6 Bug 1651668 - Part 4: Update test262 July 2020. r=mgaudet
Depends on D83834

Differential Revision: https://phabricator.services.mozilla.com/D83835
2020-07-16 21:20:17 +00:00
André Bargull
6682ffdf2b Bug 1651668 - Part 3: Remove no longer needed explicit reftest entry for private-fields. r=mgaudet
Also move the proxy private-fields exclusions into standard block of skipped
tests due to SpiderMonkey issues.

Depends on D83833

Differential Revision: https://phabricator.services.mozilla.com/D83834
2020-07-16 21:19:59 +00:00
André Bargull
3ae8593b05 Bug 1651668 - Part 2: Automatically generate shell-options flags for private-field features. r=mgaudet
Also change the update script to no longer generate an external reftest entry
when shell-options are needed, now that shell-options can be defined in an
inline reftest entry.

Depends on D83821

Differential Revision: https://phabricator.services.mozilla.com/D83833
2020-07-16 21:19:50 +00:00
André Bargull
1f46032012 Bug 1651668 - Part 1: AggregateError is no longer only conditionally present. r=mgaudet
Remove "AggregateError" from the list of conditionally available features and
then reimport test262.

Differential Revision: https://phabricator.services.mozilla.com/D83821
2020-07-16 21:17:07 +00:00
Farooq AR
d6d8fcc22c Bug 1636423 - Enable SSE on Nightly. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D83894
2020-07-17 06:31:03 +00:00
Makoto Kato
61c5bb1a5e Bug 1648534 - Read HKLM's EnableDesktopModeAutoInvoke entry if no entry in HKCU. r=masayuki
This is regression by bug 1618759 and bug 1197722.

By bug 1197722, we use registry value whether opening software keyboard even if
desktop mode. But this fix isn't enough.

Also, before landing bug 1618759, since TSF manages software keyboard state on
newer Windows 10 version such as Windows 10 RS1, bug 1197722's fix isn't used.
Then, after landing bug 1618759, since we use `EnableDesktopModeAutoInvoke`
again, this issue occurs.

Since `EnableDesktopModeAutoInvoke` is available if in HKLM, we should read
HKLM's key too.

Differential Revision: https://phabricator.services.mozilla.com/D83489
2020-07-17 03:02:15 +00:00
Karl Dubost
bf437dbf1f Bug 1647771 - Import v13.0.0 webcompat addon sources. r=miketaylr,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83875
2020-07-17 02:01:29 +00:00
Lee Salzman
47223485af Bug 1653374 - fix SwCompositor dependency tracking to account for transitive overlap dependencies. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D83878
2020-07-17 02:50:26 +00:00
Mike Conley
98b640b8d9 Bug 1649032 - Add a test that ensures that we stop all streams if the WebRTC indicator is closed. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82990
2020-07-17 01:22:23 +00:00
Mike Conley
be5766d15a Bug 1649032 - If the user manages to close the WebRTC indicator, close all of the active streams. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D82989
2020-07-17 01:22:10 +00:00
Razvan Maries
d432995562 Backed out changeset 373916f95ddd (bug 1641413) for perma failures on browser_doorhanger_autocomplete_values.js. CLOSED TREE 2020-07-17 04:19:25 +03:00
Lee Salzman
0cf364d42f Bug 1653413 - update DCLayerTree surface rects at end of frame. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D83867
2020-07-17 00:54:28 +00:00
Jon Coppeard
b572afbd48 Bug 1652492 - Lock store buffer when sweeping weak ref map r=sfink
Similar to how we did for WeakCache<GCHashMap>, take the store buffer lock while destructing the WeakRefMap Enum.

Differential Revision: https://phabricator.services.mozilla.com/D83479
2020-07-15 08:55:42 +00:00
Andrew McCreight
fcd1e87558 Bug 1652883 - Shared surfaces memory reporter should give KIND_OTHER a different path. r=aosmond
If you do a diff, all of the different shared surfaces get merged together,
because the diffing process removes all PIDs from the paths. This means
you end up hitting an assertion when the diffing process tries to combine
entries with the same path but different kinds.

Differential Revision: https://phabricator.services.mozilla.com/D83585
2020-07-17 00:02:13 +00:00
Cameron McCormack
33a2a16963 Bug 1652896 - Fix WPT to not assume button is the default appearance of a <button>. r=emilio
There are still a few failures in this test due to us supporting
non-standard aliases of some standard values.

Differential Revision: https://phabricator.services.mozilla.com/D83599
2020-07-15 10:40:50 +00:00
Brian Birtles
aad61ccfa5 Bug 1652676 - Enable Web Animations API compositing operations on release channels; r=boris
Differential Revision: https://phabricator.services.mozilla.com/D83727
2020-07-16 18:00:55 +00:00
Olli Pettay
1c3b7cae26 Bug 1653123, don't crash for now if nsISHEntry.hasUserInteraction is used in the parent process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D83716
2020-07-16 23:04:51 +00:00
Olli Pettay
306b718cb8 Bug 1602115, make it possible to test async history.length handling even when session history lives in the child process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79198
2020-07-16 23:04:18 +00:00
Olli Pettay
41fc87999f Bug 1602115 - Make history.length Fission compatible, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D79197
2020-07-16 22:23:29 +00:00
Severin
692d34c418 Bug 1641413 - show all UNs from domain in the username field of the password manager doorhanger;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D80674
2020-07-16 22:58:46 +00:00
Severin
ecd179eec0 Bug 1652737 - fix misaligned pmgr doorhanger dropmarker on windows;r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D83712
2020-07-16 23:41:19 +00:00
Severin
e233b6f5aa Bug 1653116 - change pmgr doorhanger dropmarker icon;r=bdanforth
Differential Revision: https://phabricator.services.mozilla.com/D83705
2020-07-16 23:41:01 +00:00
Kevin Jacobs
4e97e34c45 Bug 1649545 - land NSS ca068f5b5c17 UPGRADE_NSS_RELEASE, r=jcj
2020-07-16  Billy Brumley  <bbrumley@gmail.com>

	* lib/freebl/ecl/ecl-priv.h, lib/freebl/ecl/ecl.c,
	lib/freebl/ecl/ecp_secp521r1.c, lib/freebl/freebl_base.gypi,
	lib/freebl/manifest.mn:
	Bug 1631583 - ECC: constant time P-521 r=kjacobs,rrelyea,bbeurdouche

	This portable code contributed by the Network and Information
	Security Group (NISEC) at Tampere University comes from:

	[ECCKiila](https://gitlab.com/nisec/ecckiila) that uses
	[Fiat](https://github.com/mit-plv/fiat-crypto) for the underlying
	field arithmetic.

	Co-authored-by: Luis Rivera-Zamarripa <luis.riverazamarripa@tuni.fi>
	Co-authored-by: Jesús-Javier Chi-Domínguez
	<jesus.chidominguez@tuni.fi>

	[ca068f5b5c17] [tip]

	* lib/freebl/ecl/ecl-priv.h, lib/freebl/ecl/ecl.c,
	lib/freebl/ecl/ecp_secp384r1.c, lib/freebl/freebl_base.gypi,
	lib/freebl/manifest.mn, tests/ec/ectest.sh:
	Bug 1631583 - ECC: constant time P-384 r=bbeurdouche,rrelyea

	This portable code contributed by the Network and Information
	Security Group (NISEC) at Tampere University comes from:

	[ECCKiila](https://gitlab.com/nisec/ecckiila) that uses
	[Fiat](https://github.com/mit-plv/fiat-crypto) for the underlying
	field arithmetic.

	Co-authored-by: Luis Rivera-Zamarripa <luis.riverazamarripa@tuni.fi>
	Co-authored-by: Jesús-Javier Chi-Domínguez
	<jesus.chidominguez@tuni.fi>

	[d19a3cd451bb]

2020-07-13  Robert Relyea  <rrelyea@redhat.com>

	* lib/pk11wrap/pk11pub.h:
	Bug 1643528 Cannot compile code with nss headers and -Werror=strict-
	prototypes r=kjacobs
	[01ffd8fef7fa]

2020-07-10  Daiki Ueno  <dueno@redhat.com>

	* gtests/ssl_gtest/ssl_auth_unittest.cc, lib/ssl/ssl3con.c,
	lib/ssl/ssl3exthandle.c, lib/ssl/sslimpl.h,
	lib/ssl/tls13exthandle.c:
	Bug 1646324, advertise rsa_pkcs1_* schemes in CH and CR for certs,
	r=mt

	Summary: In TLS 1.3, unless "signature_algorithms_cert" is
	advertised, the "signature_algorithms" extension is used as an
	indication of supported algorithms for signatures on certificates.
	While rsa_pkcs1_* signatures schemes cannot be used for signing
	handshake messages, they should be advertised if the peer wants to
	to support certificates signed with RSA PKCS#1.

	This adds a flag to ssl3_EncodeSigAlgs() and ssl3_FilterSigAlgs() to
	preserve rsa_pkcs1_* schemes in the output.

	Reviewers: mt

	Reviewed By: mt

	Bug #: 1646324

	[df1d2695e115]

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

	* gtests/pk11_gtest/pk11_pbkdf2_unittest.cc, lib/pk11wrap/pk11pbe.c:
	Bug 1649648 - Fix null pointers passed as argument in
	pk11wrap/pk11pbe.c:886 r=kjacobs

	[de661583d467]

Differential Revision: https://phabricator.services.mozilla.com/D83824
2020-07-16 22:37:42 +00:00
Paul Bone
1bbc19607d Bug 1626507 - pt 4. Fix openPreferencesViaOpenPreferencesAPI r=preferences-reviewers,jaws
Due to changes in about:newtab somehow the preferences code is getting
initialised before the call to openPreferencesViaOpenPreferencesAPI().
Update this code to work when preferences is already initialised.

Differential Revision: https://phabricator.services.mozilla.com/D81067
2020-07-16 08:27:24 +00:00