Граф коммитов

679126 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend b4b8eaa607 Bug 1595601: Add documentation for the external handler service. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D52578

--HG--
extra : moz-landing-system : lando
2019-11-12 17:10:07 +00:00
Jan-Ivar Bruaroey 9a429b7cad Bug 1595618 - Optimize SourceListener iteration on devicechange. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D52598

--HG--
extra : moz-landing-system : lando
2019-11-12 14:50:24 +00:00
Tyson Smith ee4b443ded Bug 1595633 - Enable 'pointer-overflow' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52608

--HG--
extra : moz-landing-system : lando
2019-11-12 16:29:37 +00:00
Alexander Surkov 14f4752db2 Bug 1594122 - convert XBL bindings to custom elements in test_bug319374.xhtml r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D52701

--HG--
rename : dom/xslt/tests/mochitest/test_bug319374.xhtml => dom/xslt/tests/mochitest/test_bug319374.html
extra : moz-landing-system : lando
2019-11-12 17:28:51 +00:00
Jeff Walden a12c597a4f Bug 1595222 - Don't define an unused |AtomicReturnReg64| on x86. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D52424

--HG--
extra : moz-landing-system : lando
2019-11-12 13:43:31 +00:00
Nicolas Chevobbe 13580b8fea Bug 1595105 - Fix browser_webconsole_context_menu_copy_message_with_async_stacktrace.js perma failure on beta simulation. r=aryx.
Let's set javascript.options.asyncstack in the test to
have the async stacktrace displayed.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 17:08:26 +00:00
L. David Baron 3812bc0ba4 Bug 1595199 - Make nsGfxScrollFrame propagate ReflowInput's mFlags.mIsBResizeForPercentages to its inner, to fix vertical resizing layout bugs. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D52439

--HG--
extra : moz-landing-system : lando
2019-11-12 07:37:40 +00:00
Andrew Halberstadt c3434cf2c0 Bug 1594907 - [docs] Fix accidental redirection of 'taskcluster/taskcluster-config.html', r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D52418

--HG--
rename : taskcluster/docs/taskcluster-config.rst => taskcluster/docs/config.rst
extra : moz-landing-system : lando
2019-11-08 21:57:23 +00:00
Nathan Froyd 5d35f602aa Bug 1582192 - add a job to build a wasi sysroot; r=glandium
When we start compiling things to wasm during the build process, we're
going to need a basic sysroot.  This new job builds just such a sysroot.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 00:10:38 +00:00
Harshil Agrawal 10a33bcb03 Bug 1594359 - Fix DevTools shrink height r=jdescottes
In the devtools-browser.css file the min-height is set to 29px to the class .devtools-toolboc-bottom-iframe

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

--HG--
extra : moz-landing-system : lando
2019-11-12 16:29:39 +00:00
Andrew McCreight f922f43922 Bug 1595828 - Fix some include guards. r=froydnj
The formatting change presumably happens because clang-format treats
include guards differently.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 17:27:20 +00:00
Andrew McCreight b6345fe53d Bug 1595812 - Fix include guard in IntentionalCrash.h. r=froydnj
The include guard needs to happen before any non-trivial tokens.

I guess this change made clang-format decide the other ifdefs aren't
actually nested, so it dropped the indents.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 16:13:14 +00:00
Simon Giesecke e0f8b73760 Bug 1595750 - Add MakeBackInserter function to create a back-inserting output iterator for nsTArray. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52685

--HG--
extra : moz-landing-system : lando
2019-11-12 15:52:24 +00:00
Dzmitry Malyshau 8088fe5c1d Bug 1595805 - Disable LTO on macosx fuzzy builds r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52688

--HG--
extra : moz-landing-system : lando
2019-11-12 16:41:23 +00:00
Razvan Maries 71124aa4f2 Backed out changeset 6cd92affba42 (bug 1593951) for Valgrind build bustages. CLOSED TREE 2019-11-12 19:18:42 +02:00
Andreea Pavel 03ff4d65f1 Backed out changeset 776dc76ec598 (bug 1567122) for landing without proper peer review on a CLOSED TREE 2019-11-12 18:46:03 +02:00
Ricky Stewart 6b46a4c52e Bug 1593502 - Build system does not add -isysroot to the command-line flags for compiler invocations when the provided_compiler has additional flags r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D52414

--HG--
extra : moz-landing-system : lando
2019-11-12 00:28:17 +00:00
Kashav Madan 7710132c7f Bug 1595183 - Unskip passing Fission tests, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D52406

--HG--
extra : moz-landing-system : lando
2019-11-12 15:09:22 +00:00
Andrea Marchesini 8cb9ac6773 Bug 1594376 - Fix a permafailing in toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js, r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D52651

--HG--
extra : moz-landing-system : lando
2019-11-12 13:04:48 +00:00
Itiel 1101726782 Bug 1595415 - Remove the RTL hack in aboutDialog.css for displaying the version r=paolo
In bug 682741 this may have been necessary, but since then, the version section now also includes the bitness and the "What's New" label (which are localizable), so there's no point in force-LTRing it anymore.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 12:26:21 +00:00
Ehsan Akhgari f344ba4005 Bug 1558420 - Part 5: Remove an invalid assertion; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51333

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:16 +00:00
Ehsan Akhgari f78028be4e Bug 1558420 - Part 4: Do not report anti-tracking notifications when blocking storage access for sandboxed documents; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51328

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:14 +00:00
Ehsan Akhgari c639488e49 Bug 1558420 - Part 3: Fix the incorrect usage of closures in browser_partitionedLocalStorage_events.js and update the test expectations; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51327

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:12 +00:00
Ehsan Akhgari cf4f99376d Bug 1558420 - Part 2: Fix the logic for switching the localStorage object from partitioned to non-partitioned and vice-versa; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51326

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:10 +00:00
Ehsan Akhgari f6ffd2ce8d Bug 1558420 - Part 1: Add an API for creating a sessionstorage manager and a cache object; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D51325

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:02 +00:00
Mats Palmgren 2cf7e52582 Bug 1591219 - [css-align] Synthesize a baseline from the content edges for empty table cells. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D50711

--HG--
extra : moz-landing-system : lando
2019-11-12 15:31:57 +00:00
Andrew Halberstadt 418f34f9f7 Bug 1583353 - [moztest.resolve] Add ability to resolve manifest paths, r=gbrown
While not strictly necessary for this series, this patch allows:
./mach test path/to/manifest.ini

Which will be especially useful to have now that we are switching to running
tasks by manifest.

Depends on D52241

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

--HG--
rename : testing/mozbase/moztest/tests/data/srcdir/apple/mochitest.ini => testing/mozbase/moztest/tests/data/srcdir/apple/a11y.ini
extra : moz-landing-system : lando
2019-11-08 16:01:28 +00:00
Andrew Halberstadt 64c3a4f64d Bug 1583353 - [moztest.resolve] Add ability to resolve only tests *without* a subsuite, r=gbrown
This gives us the ability to retrieve all browser-chrome tests (no flavor) but
not devtools-chrome (have a flavor).

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

--HG--
extra : moz-landing-system : lando
2019-11-08 16:04:27 +00:00
Andrew Halberstadt a3466c3c3c Bug 1583353 - [manifestparser] Support manifests in the 'pathprefix' filter, r=egao
Allows 'paths' passed into the pathprefix filter to be manifests. Any path that
ends with '.ini' is considered a manifest.

Depends on D51899

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

--HG--
extra : moz-landing-system : lando
2019-11-08 18:58:09 +00:00
Andrew Halberstadt 746c6aaf3a Bug 1583353 - [manifestparser] Convert test_filters.py to the pytest format, r=egao
Differential Revision: https://phabricator.services.mozilla.com/D51899

--HG--
extra : moz-landing-system : lando
2019-11-08 18:58:34 +00:00
Andrew Halberstadt 99f6a2c376 Bug 1583353 - [moztest.resolve] Implement a TestLoader that doesn't rely on the build system, r=gbrown
This loader uses 'reader.find_variables_from_ast' to parse all *_MANIFESTS variables from
moz.build files using the abstract syntax tree. This means it will find all such variables
regardless of the current buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 17:13:20 +00:00
Andrew Halberstadt fc9cc8ceed Bug 1583353 - [moztest] Simplify the test data in test_resolve.py, r=egao
Test test data looks like it was pulled from a live all_tests.pkl file. There
are way more path components than necessary.

This simplifies the test paths so they are easy to manipulate/add/inspect. It
will also make it easier to craft a fake "sourcedir" to test the
TestManifestLoader in the next commit such that the data from both matches.

I decided to use a fruit theme for directories because:

1. Using real directories will pollute grep/searchfox/etc queries with junk.
2. Using a 'dirA', 'dirB', 'dirC' scheme is hard to read.
3. Why not?

This change does not functionally modify what is being tested.

Depends on D51832

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

--HG--
extra : moz-landing-system : lando
2019-11-05 19:37:33 +00:00
Andrew Halberstadt 48615d1c1b Bug 1583353 - [mozbuild.reader] Don't return root moz.build twice in 'all_mozbuild_paths', r=froydnj
Despite what the comment says, the finder *does* pick up the root moz.build. So
we end up processing it twice. This was never caught before because we only ever
used this function to read Sphinx related variables, of which the root moz.build
contains none.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 15:38:32 +00:00
Marian Raiciof 548d1181f8 Bug 1567122 - Enable Fission for AWSY r=perftest-reviewers,stephendonner,sparky
Differential Revision: https://phabricator.services.mozilla.com/D48660

--HG--
extra : moz-landing-system : lando
2019-11-12 14:07:17 +00:00
Jonathan Kew 62b6903f65 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-12 12:05:24 +00:00
Emilio Cobos Álvarez e47530e246 Bug 1593951 - Use MaybeUninit in style struct clone impls / constructors. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D51788

--HG--
extra : moz-landing-system : lando
2019-11-12 11:49:40 +00:00
John Dai de2c2a249a Bug 1552313 - Implement element.attachInternals; r=smaug,edgar
ElementInternals class is empty-for-now.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 11:27:55 +00:00
John Dai 790ed5a490 Bug 1552313 - Implement disableShadow; r=smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D52157

--HG--
extra : moz-landing-system : lando
2019-11-12 11:27:52 +00:00
John Dai 128e81de25 Bug 1552313 - Implement custom element disabledFeatures and disableInternals; r=smaug,edgar
- Introduce `dom.webcomponents.elementInternals.enabled` for custom element's elementInternals.
- Implement disabledFeatures static field and disableInternals.
- Refactor get observedAttributes sequence.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 11:27:45 +00:00
Andreas Pehrson e8e03f5a05 Bug 1594466 - Don't rewrite mimeType if fully defined. r=bryce
Prior to this patch the mimetype was rewritten per the printf format
"%s; codecs=%s" also when codecs were defined in the constrained mime type.

The latter '%s' would be the codecs string from the mime type parser, which
would have dropped any quotation marks surrounding the string.
Hence 'codecs="vp8, opus"' would be considered supported (quotation marks
included), but when selecting mime type in start(), it would be rewritten
with quotation marks dropped. Thus looking like 'codecs=vp8,' which is not
supported.

This patch removes the rewrite step when the mime type is fully defined with
codecs, so that the quotation marks are left in place as given to the
constructor.

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

--HG--
extra : moz-landing-system : lando
2019-11-12 10:30:16 +00:00
Andreas Pehrson f866cb76ac Bug 1594466 - Add crashtest. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D52519

--HG--
extra : moz-landing-system : lando
2019-11-12 10:30:03 +00:00
J.C. Jones 3167ebf65d Bug 1592007 - land NSS dc9552c2aa77 UPGRADE_NSS_RELEASE, r=kjacobs
2019-11-04  Marcus Burghardt  <mburghardt@mozilla.com>

	* lib/pk11wrap/pk11cert.c:
	Bug 1590495 - Crash in PK11_MakeCertFromHandle->pk11_fastCert. r=jcj

	Fixed controls to avoid crashes caused by slots possibly without a
	token in pk11_fastCert. Also, improved arguments controls in
	PK11_MakeCertFromHandle.

	[dc9552c2aa77] [tip]

2019-11-01  Franziskus Kiefer  <franziskuskiefer@gmail.com>

	* gtests/pk11_gtest/manifest.mn,
	gtests/pk11_gtest/pk11_des_unittest.cc,
	gtests/pk11_gtest/pk11_gtest.gyp, lib/softoken/pkcs11c.c:
	Bug 1591742 - check des iv length and add test for it, r=jcj,kjacobs

	Summary: Let's make sure the DES IV has the length we expect it to
	have.

	Bug #: 1591742

	[35857ae98190]

2019-11-01  Dana Keeler  <dkeeler@mozilla.com>

	* gtests/mozpkix_gtest/pkixcheck_CheckKeyUsage_tests.cpp, lib/mozpkix
	/test-lib/pkixtestnss.cpp, tests/gtests/gtests.sh:
	Bug 1588567 - enable mozilla::pkix gtests in NSS r=jcj

	[27a29997f598]

2019-11-01  Deian Stefan  <deian@cs.ucsd.edu>

	* lib/softoken/pkcs11c.c:
	Bug 1591315 - Update NSC_Decrypt length in constant time r=kjacobs

	Update NSC_Decrypt length in constant time

	[7f578a829b29]

2019-11-01  Kai Engert  <kaie@kuix.de>

	* automation/taskcluster/graph/src/queue.js:
	Bug 1562671 - Limit Master Password KDF iterations for NSS
	continuous integration tests. r=mt
	[c8b490583b86]

	* lib/softoken/lgglue.c, lib/softoken/sftkdb.c, lib/softoken/sftkdb.h,
	lib/softoken/sftkdbti.h, lib/softoken/sftkpwd.c:
	Bug 1562671 - Add environment variables to control Master Password
	KDF iteration count. Disable iteration count for legacy DBM storage
	by default. r=rrelyea
	[ced91a705aa3]

2019-11-01  Bob Relyea  <rrelyea@redhat.com>

	* lib/softoken/legacydb/keydb.c, lib/softoken/lgglue.c,
	lib/softoken/pkcs11.c, lib/softoken/sftkdb.c, lib/softoken/sftkdb.h,
	lib/softoken/sftkdbti.h, lib/softoken/sftkpwd.c:
	Bug 1562671 - Support higher iteration count for Master Password
	KDF. Bob Relyea's base patch. Requires the follow-up patch. r=kaie
	[6619bb43d746]

2019-10-28  Martin Thomson  <mt@lowentropy.net>

	* coreconf/Linux.mk, coreconf/WIN32.mk, coreconf/command.mk,
	coreconf/config.gypi, coreconf/rules.mk, lib/freebl/aes-armv8.c,
	lib/freebl/aes-x86.c, lib/freebl/config.mk, lib/freebl/freebl.gyp,
	lib/freebl/intel-aes.h, lib/freebl/intel-gcm-wrap.c,
	lib/freebl/rijndael.c, lib/freebl/rijndael.h, lib/ssl/config.mk,
	lib/ssl/ssl.gyp:
	Bug 1590972 - Use -std=c99 for all C code, r=jcj

	This switches to using -std=c99 for compiling all C code.
	Previously, we only enabled this option for lib/freebl and lib/ssl.

	For Linux, this means we need to define _DEFAULT_SOURCE to access
	some of the functions we use. On glibc 2.12 (our oldest supported
	version), we also need to define _BSD_SOURCE to access these
	functions.

	The only tricky part is dealing with partial C99 implementation in
	gcc 4.4. From what I've seen, the only problem is that - in that
	mode - it doesn't support nesting of unnamed fields:
	https://gcc.gnu.org/onlinedocs/gcc-4.4.7/gcc/Unnamed-Fields.html

	This also switches from -std=c++0x to -std=c++11 as the 0x variant,
	though identical in meaning, is deprecated.

	[dbba7db4b79d]

2019-10-30  Giulio Benetti  <giulio.benetti@benettiengineering.com>

	* lib/freebl/aes-armv8.c, lib/freebl/rijndael.c:
	Bug 1590676 - Fix build if arm doesn't support NEON r=kjacobs

	At the moment NSS assumes that ARM supports NEON extension but this
	is not true and leads to build failure on ARM without NEON
	extension. Add check to assure USE_HW_AES is not defined if ARM
	without NEON extension is used.
	[58f2471ace3b]

2019-10-30  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/tls_agent.cc:
	Bug 1575411 - Disable EMS for tests, a=bustage
	[6e5f69781137]

2019-10-29  J.C. Jones  <jjones@mozilla.com>

	* gtests/ssl_gtest/tls_esni_unittest.cc:
	Bug 1590970 - Fix clang-format from
	e7956ee3ba1b6d05e3175bbcd795583fde867720 r=me
	[d1e43cb9f227]

2019-10-29  Giulio Benetti  <giulio.benetti@benettiengineering.com>

	* lib/ssl/tls13esni.c:
	Bug 1590678 - Remove -Wmaybe-uninitialized warning in tls13esni.c
	r=jcj
	[df5e9021809a]

2019-10-29  Martin Thomson  <martin.thomson@gmail.com>

	* lib/ssl/ssl.h, lib/ssl/sslsock.c:
	Bug 1575411 - Enable extended master secret by default,
	r=jcj,kjacobs

	See the bug for discussion about the implications of this.

	[d1c68498610d]

2019-10-29  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/tls_esni_unittest.cc, lib/ssl/sslexp.h:
	Bug 1590970 - Stop using time() for ESNI tests, r=kjacobs

	Summary: The ESNI tests were using time() rather than PR_Now(), so
	they slipped the net when I went looking for bad time functions. Now
	they do the right thing again.

	What we were probably seeing in the intermittents was the case where
	we set the time for most of the SSL functions to PR_Now(), and that
	was just before a second rollover. Then, when time() was called, it
	returned t+1 so the ESNI keys that were being generated in the ESNI
	tests were given a notBefore time that was in the future relative to
	the time being given to the TLS stack. Had the ESNI keys generation
	been given time() - 1 for notBefore, as I have done here, this would
	never have turned up.

	Reviewers: kjacobs

	Tags: #secure-revision

	Bug #: 1590970

	[e7956ee3ba1b]

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

--HG--
extra : moz-landing-system : lando
2019-11-08 22:00:40 +00:00
J.C. Jones cbfe5fd32a Bug 1594559 - Set env var NSS_MAX_MP_PBE_ITERATION_COUNT for tests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D52212

--HG--
extra : moz-landing-system : lando
2019-11-12 15:40:24 +00:00
Andreea Pavel cc7af15029 Backed out changeset 38f7b7e307b3 (bug 1594438) for causing high load on linux and windows hardware test machines on a CLOSED TREE 2019-11-12 17:00:27 +02:00
Sylvestre Ledru d932e6b836 Bug 1562642 - add missing license in taskcluster r=dustin
Depends on D52579

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

--HG--
extra : moz-landing-system : lando
2019-11-11 22:16:37 +00:00
Sylvestre Ledru d2eabf8906 Bug 1562642 - add missing license in xpcom/ r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52579

--HG--
extra : moz-landing-system : lando
2019-11-11 21:44:32 +00:00
Dragana Damjanovic ca29276ed9 Bug 1595271 - Display Http3 in about:networking. r=valentin,fluent-reviewers,flod,smaug
Differential Revision: https://phabricator.services.mozilla.com/D52529

--HG--
extra : moz-landing-system : lando
2019-11-12 08:27:38 +00:00
Thomas Nguyen 17a6860942 Bug 1591113 - Remove support for third-party vibrate r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D52531

--HG--
extra : moz-landing-system : lando
2019-11-12 08:42:02 +00:00
Sebastian Streich 4829a03b44 Bug 1595541 - enable test_same_site_cookies_laxByDefault with fission r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D52552

--HG--
extra : moz-landing-system : lando
2019-11-12 07:50:25 +00:00
Tom Tung 1479bb0a2c Bug 1592204 - P2 - Ignore the unknown files in repositories; r=janv
Differential Revision: https://phabricator.services.mozilla.com/D51872

--HG--
extra : moz-landing-system : lando
2019-11-12 07:52:14 +00:00