Commit Graph

691717 Commits

Author SHA1 Message Date
Dan Minor
7f1850d512 Bug 1578073 - Suppress MissingPermission lint in Camera2Session; r=snorp
Depends on D61861

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

--HG--
extra : moz-landing-system : lando
2020-02-12 17:19:50 +00:00
Bob Clary
d6d0b3b1b8 Bug 1614954 - [mozdevice] Do not terminate ADBDevice.grant_runtime_permissions on error, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D62593

--HG--
extra : moz-landing-system : lando
2020-02-12 17:13:52 +00:00
shindli
cdd059e2c2 Backed out 2 changesets (bug 1607505) for causing xpcshell permafailures in netwerk/test/unit/test_alt-data_simple.js CLOSED TREE
Backed out changeset d79f1d283acd (bug 1607505)
Backed out changeset 7b7b147b6955 (bug 1607505)
2020-02-12 22:37:08 +02:00
Christian Holler
3ec290bd27 Bug 1615045 - Add temporary TSan suppression for StartupCache. r=froydnj CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D62647

--HG--
extra : amend_source : 36b0f1625051fc190a0238908917138d229f07bf
2020-02-12 22:19:04 +02:00
Emilio Cobos Álvarez
4fb3a8f1ae Bug 1615028 - Make nsNativeBasicTheme honor custom scrollbar styles. r=spohl
By falling back to the generic code like nsNativeThemeGTK does.

We may want to be more nuanced in other platforms? I don't know.

This is very noticeable on Riot and other apps that override the scrollbar width
/ scrollbar colors.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:38:35 +00:00
Honza Bambas
97684579f8 Bug 1610371 - Test, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D62584

--HG--
extra : moz-landing-system : lando
2020-02-12 19:29:39 +00:00
Honza Bambas
17c1c7024a Bug 1610371 - Use ChannelURIPrincipal instead of ChannelResultPrincipal for first-party-storage allowance decision, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D62424

--HG--
extra : moz-landing-system : lando
2020-02-12 19:30:21 +00:00
Christian Holler
782c1333ca Bug 1612711 - Update TSan suppressions for Mochitests/XPCShell tests. r=froydnj
Depends on D62628

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:15:16 +00:00
Christian Holler
66d030b34d Bug 1612711 - Enable Mochitests and XPCShell tests for TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62628

--HG--
extra : moz-landing-system : lando
2020-02-12 19:03:36 +00:00
Mike Conley
d8069ef65c Bug 1607545 - Don't record about_home_topsites_first_paint scalar unless the first windows initial tab is about:home. r=k88hudson
The test fix was reviewed by Ed Lee (edilee@mozilla.com) in https://phabricator.services.mozilla.com/D61401, and then
that change was rolled into this commit.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:17:12 +00:00
Jonathan Almeida [:jonalmeida]
9942b0ab5a Bug 1614990 - Update WebPushController.onSubscriptionChanged to take only the scope. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D62607

--HG--
extra : moz-landing-system : lando
2020-02-12 17:15:37 +00:00
Doug Thayer
c03acee173 Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj
Since we've decoupled the writing of the StartupCache from the freeing
of the StartupCache's tables (which takes nontrivial time), this patch
moves the StartupCache's destructor later in shutdown so it will be
skipped in the early _exit(0) efforts. There is a remaining
WaitOnWriteThread in the StartupCache's destructor, but this is a
minor sanity check to avoid use-after-frees in the write thread during
shutdown. In general it won't matter as we already wait for the write
thread in the xpcom-shutdown observer, and if we shut down during write,
the system is set up to be okay with that (because it already happens).

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:03:29 +00:00
Doug Thayer
d1210e8164 Bug 1607505 - Start writing StartupCache earlier in shutdown r=froydnj
The initial thought for getting the StartupCache out of the shutdown
path was to simply not write it during shutdown, as it should write
60 seconds after startup, and the theory was that if the user shut
down within the first 60 seconds of use, they were likely updating or
something and it shouldn't matter. However, considering how many of
our users only ever open one tab, I think it's rather likely that
users are starting up firefox to go to a web site, then closing it
when done with that website, and then maybe opening up a new instance
in order to go to a different website. Accordingly it still makes
sense to continue writing it. However, we may as well leverage a
background thread for this and get it kicked off earlier during
shutdown, so we don't sit there blocking in the destructor late
during shutdown.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 19:02:12 +00:00
J.C. Jones
982674831d Bug 1614053 - land NSS 735ed2e47040 UPGRADE_NSS_RELEASE, r=kjacobs
2020-02-10  Robert Relyea  <rrelyea@redhat.com>

	* lib/freebl/cmac.c:
	Bug 1610687 - Crash on unaligned CMACContext.aes.keySchedule when
	using AES-NI intrinsics r=kjacobs
	[046a6f5bfb27]

	* lib/util/pkcs11t.h:
	Bug 1611209 - Value of CKM_AES_CMAC and CKM_AES_CMAC_GENERAL are
	swapped r=rrelyea
	[df142975f4f6]

2020-02-11  Victor Tapia  <victor.tapia@canonical.com>

	* lib/pk11wrap/pk11util.c, lib/sysinit/nsssysinit.c:
	Bug 1582169 - Disable reading /proc/sys/crypto/fips_enabled if FIPS
	is not enabled on build r=jcj,rrelyea

	[55ba54adfcae]

2020-02-11  J.C. Jones  <jjones@mozilla.com>

	* lib/sysinit/nsssysinit.c:
	Bug 1614786 - Fixup for ‘getFIPSEnv’ being unused r=kjacobs

	Fixes a regression from Bug 1582169

	../../lib/sysinit/nsssysinit.c:153:1: error: ‘getFIPSEnv’ defined
	but not used [-Werror=unused-function]
	[06925efe306b]

2020-02-11  Dana Keeler  <dkeeler@mozilla.com>

	* cmd/lib/secutil.c,
	lib/libpkix/pkix_pl_nss/module/pkix_pl_colcertstore.c:
	bug 1538980 - null-terminate ascii input in SECU_ReadDERFromFile so
	strstr is safe to call r=jcj,kjacobs

	[735ed2e47040] [tip]

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

--HG--
extra : moz-landing-system : lando
2020-02-12 16:22:10 +00:00
Emilio Cobos Álvarez
d13e046349 Bug 1584035 - Don't apply scroll anchoring adjustments if we have an ongoing APZ smooth scroll. r=dholbert
Same case as the other smooth-scrolling thingies, scroll anchoring is less
prioritary (and is disturbing) in that case.

Also fix the logging code (`WritingMode::DebugString` is no longer a thing).

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

--HG--
extra : moz-landing-system : lando
2020-02-12 18:56:43 +00:00
Jonathan Kew
74210dcbe1 Bug 1614600 - Avoid instantiating an FT_Face for each font just to read properties during font-list initialization. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D62441

--HG--
extra : moz-landing-system : lando
2020-02-12 18:34:33 +00:00
Julian Descottes
1d5a8ef5ba Bug 1614918 - Stop waiting for synchronous removeTab method in inspector init r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D62576

--HG--
extra : moz-landing-system : lando
2020-02-12 15:00:47 +00:00
Mihai Alexandru Michis
31990b30b7 Backed out changeset 4758bb49e763 (bug 1614637) for causing multiple failures.
CLOSED TREE
2020-02-12 17:04:50 +02:00
Mihai Alexandru Michis
395eb2050d Backed out changeset f3d9fbb2daf1 (bug 1613985) for causing hazard bustages on Linux.
CLOSED TREE
2020-02-12 16:43:30 +02:00
Mihai Alexandru Michis
2edd3953d8 Backed out changeset 8f55490fb539 (bug 1614890) for causing awsy failures. 2020-02-12 16:40:22 +02:00
Wander Lairson Costa
7dfb4e5ccb Bug 1614855: Run valgrind builds in AWS r=froydnj
GCE instances use Ubuntu 18.04, which is known to cause issues in
valgrind builds (Bug 1545094), while EC2 uses Ubuntu 14.04.

Move valgrind builds back to GCE to avoid perma fail of these jobs.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 11:15:56 +00:00
Simon Giesecke
a8e5e0222e Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/crypto. r=smaug
Depends on D62572

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:25:38 +00:00
Simon Giesecke
321844c42a Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/commandhandler. r=smaug
Depends on D62571

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:25:57 +00:00
Simon Giesecke
5f35e84559 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in docshell. r=smaug
Depends on D62570

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:38:55 +00:00
Simon Giesecke
1e5c4a7749 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in caps. r=smaug
Depends on D62569

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:39:13 +00:00
Simon Giesecke
244019e207 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in accessibility. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62569

--HG--
extra : moz-landing-system : lando
2020-02-12 13:39:21 +00:00
Nicolas Chevobbe
99f4873489 Bug 1614366 - Increase number of logged messages in DAMP bulklog test. r=jdescottes.
Logging a thousand messages instead of 10.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:05:42 +00:00
Alex Chronopoulos
0750ac20f6 Bug 1611439 - Stop AsyncLogger before aborting the audio session. r=padenot
AsyncLogger creates a thread that the log messages are pushed and printed. This thread was not stopped and joined after it was used, which created a shutdown crash. This patch will stop the AsyncLogger thread when the capture session has finished.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 14:02:08 +00:00
Hubert Boma Manilla
06dd04671a Bug 1613881 - Refactored CookiesPanel and PropertiesView, removed old CookiesPanel, fixed failing tests r=Honza
Refactored CookiesPanel and  PropertiesView to use the shared Accordion. Created request-details/ for the new files.
Removed the old CookiesPanel. Fixed one cookie failing test, by removing the headings which are no longer part of the tree.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 13:04:43 +00:00
Michal Novotny
b1f514bcc7 Bug 1614637 - ThreadSanitizer: data race [@ assign_assuming_AddRef] vs. [@ operator bool] in CacheStorageService r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D62550

--HG--
extra : moz-landing-system : lando
2020-02-12 13:55:15 +00:00
Eugen Sawin
0e72779d84 Bug 1613041 - [2.0] Add missing import. a=bustage-fix
CLOSED TREE

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

--HG--
extra : amend_source : 2ffda3ba8af9cb5765a017e6815cbe82cff04dfa
2020-02-12 15:54:47 +02:00
Mirko Brodesser
b257e520ee Bug 1613378: part 10) Declare some table/Selection related method arguments const. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62258

--HG--
extra : moz-landing-system : lando
2020-02-12 12:27:39 +00:00
Mirko Brodesser
36437a9d2d Bug 1613378: part 9) Clarify dependency to mFrameSelection in Selection when adding/removing ranges. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62198

--HG--
extra : moz-landing-system : lando
2020-02-12 12:27:32 +00:00
Jonas Jenwald
601789bfbc Bug 1593235 - Hide the "View Background Image" context menu option in the PDF Viewer. r=bdahl
Given that the "View Background Image" option never makes sense in the PDF Viewer, it's simply always removed from the context menu.

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

--HG--
extra : moz-landing-system : lando
2020-02-12 09:40:37 +00:00
egao
68b0806130 Bug 1613982 - change osx wrench jobs to osx 10.14 (currently on 10.10), r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D62762

--HG--
extra : moz-landing-system : lando
2020-02-13 17:16:29 +00:00
Masayuki Nakano
382f61920c Bug 1588688 - part 7-1: Sort out HTMLEditor::ScanForListAndTableStructure() r=m_kato
Helper methods of `HTMLEditor::DoInsertHTMLWithContext()` which uses array of
`nsINode` is really messy and we can make them simpler.  This is first
preparation of a series of refactoring patches of them.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 02:54:47 +00:00
Doug Thayer
615de231ee Bug 1607505 - Move StartupCache destructor later in shutdown r=froydnj a=reland CLOSED TREE
Since we've decoupled the writing of the StartupCache from the freeing
of the StartupCache's tables (which takes nontrivial time), this patch
moves the StartupCache's destructor later in shutdown so it will be
skipped in the early _exit(0) efforts. There is a remaining
WaitOnWriteThread in the StartupCache's destructor, but this is a
minor sanity check to avoid use-after-frees in the write thread during
shutdown. In general it won't matter as we already wait for the write
thread in the xpcom-shutdown observer, and if we shut down during write,
the system is set up to be okay with that (because it already happens).

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

--HG--
extra : source : d79f1d283acde1a971fe0e5e6f1a8db075f8589a
extra : histedit_source : 32a2b4fec1fcf35960155b0f4280a38bcb54ec19
2020-02-12 19:03:29 +00:00
Doug Thayer
f564eb1f40 Bug 1607505 - Start writing StartupCache earlier in shutdown r=froydnj a=reland CLOSED TREE
The initial thought for getting the StartupCache out of the shutdown
path was to simply not write it during shutdown, as it should write
60 seconds after startup, and the theory was that if the user shut
down within the first 60 seconds of use, they were likely updating or
something and it shouldn't matter. However, considering how many of
our users only ever open one tab, I think it's rather likely that
users are starting up firefox to go to a web site, then closing it
when done with that website, and then maybe opening up a new instance
in order to go to a different website. Accordingly it still makes
sense to continue writing it. However, we may as well leverage a
background thread for this and get it kicked off earlier during
shutdown, so we don't sit there blocking in the destructor late
during shutdown.

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

--HG--
extra : source : 7b7b147b6955cee07e0c115993446bfbd59cf7e2
extra : histedit_source : 6990122d6b1ac4939b0e4b0a5e452183fb981e19
2020-02-12 19:02:12 +00:00
Hamzah
becd55c159 Bug 1614771 - Run ./mach addtest with Python 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62541

--HG--
extra : moz-landing-system : lando
2020-02-13 16:56:44 +00:00
Jared Wein
d701c66a79 Bug 1582740 - Default the 'Always check' checkbox to disabled until we load the default browser state to prevent accidental user changes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D62479

--HG--
extra : moz-landing-system : lando
2020-02-13 16:44:28 +00:00
Petru Lingurar
a68651c6ab Bug 1611346 - Format mma.rst for a better html conversion; r=AndreiLazar
Currently the sections regarding mma events and deeplinks are not properly
formatted making the text hard to read, follow and understand.
Use the `.. code-block:: json` formatting for Events. Found this in the history
for the previous documentation from central
Add a newline before the deep links bullet list so that each element would be
properly formatted.
Before and after screenshots of the docs are posted in the ticket.

Depends on D62730

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

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:27 +00:00
Petru Lingurar
429714ebd9 Bug 1611346 - Replace "Fennec" with "Firefox for Android" in mma.rst; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D62730

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:25 +00:00
Chun-Min Chang
0cd564b0ce Bug 1613156 - Update cubeb-coreaudio to 7fe03b4. r=padenot
Pick commits:
- 7fe03b4: Bail out if the output device has no output channel (#50)
- ad74bad: Update README
- 3f38b17: Replace `*.get_mut()` by `*.store()` on all the `Atomic*` (#47)
- b1bc781: Run tests by sanitizers (#46)

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

--HG--
extra : moz-landing-system : lando
2020-02-13 15:52:30 +00:00
Tuan
3fadc6333d Bug 1614139 - Copy constructor of nsPipeInputStream should not be declared explicit. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62735

--HG--
extra : moz-landing-system : lando
2020-02-13 16:09:09 +00:00
Eden Chuang
c3c3233900 Bug 1430182 - Disable dom/serviceworkers/test/test_file_upload.html on android platform r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D62725

--HG--
extra : moz-landing-system : lando
2020-02-13 15:54:21 +00:00
Stepan Stava
cc77caf064 Bug 1562724 - Fix "execute getter" button in Debugger Preview popup. r=nchevobbe.
The 'getter button' wasn't working correctly on root level items in the preview popup.
A check is added on root item to see if it has any corresponding evaluation result,
and if so take that value instead of the original one.
A test is added to ensure that the button now works on those top-level elements in
the preview popup.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 15:54:47 +00:00
Dão Gottwald
e7bc45dcc6 Bug 1596751 - Make browser_tab_drag_drop_perwindow.js work with fission. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D62751

--HG--
extra : moz-landing-system : lando
2020-02-13 15:17:31 +00:00
Jason Laster
f22cd3317d Bug 1605154 - Implement JS execution context selector UI. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D59027

--HG--
extra : moz-landing-system : lando
2020-02-13 15:00:06 +00:00
Julian
c23b87e26d Bug 1608215 - port pippki DTD to fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D59635

--HG--
extra : moz-landing-system : lando
2020-02-13 15:27:17 +00:00
Alexandre Poirot
d6c35f9bcc Bug 1605763 - Emit 'web-console-created' after the BrowserConsole is fully loaded. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D62719

--HG--
extra : moz-landing-system : lando
2020-02-13 13:50:30 +00:00