Commit Graph

674999 Commits

Author SHA1 Message Date
Csoregi Natalia
4c3c765916 Merge autoland to mozilla-central. a=merge 2019-10-15 06:35:26 +03:00
Tomislav Jovanovic
39ed482706 Bug 1588338 - Enable four plain mochitests with fission+debug r=mixedpuppy
[test_ext_exclude_include_globs.html]
[test_ext_request_urlClassification.html]
[test_ext_runtime_disconnect.html]
[test_ext_webrequest_upgrade.html]

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

--HG--
extra : moz-landing-system : lando
2019-10-14 22:26:33 +00:00
Csoregi Natalia
22b13f01c9 Merge autoland to mozilla-central. a=merge 2019-10-15 00:30:01 +03:00
Bryce Seager van Dyk
a37965e298 Bug 1586347 - Have BrowserChild internally take care of caching logic when checking if windows support protected media. r=dminor,rhunt
Currently when checking if a window supports protected media it's up to the
caller interacting with a BrowserChild to check if a response is already
cached, to perform the check if needed, and to then set the cached response if a
call was made. This patch moves that logic internal to Browser child so that
callers need to only worry about interacting with a single function.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 19:10:39 +00:00
Mark Hammond
0481284ac7 Bug 1583897 - Send a telemetry event for new sendtab. r=tcsc,eoger,lina
Differential Revision: https://phabricator.services.mozilla.com/D48153

--HG--
extra : moz-landing-system : lando
2019-10-14 22:17:28 +00:00
Mike Taylor
0b08adcfbb Bug 1587558 - Import WebCompat GoFaster 6.4.0 sources. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D48902

--HG--
extra : moz-landing-system : lando
2019-10-14 21:23:59 +00:00
Jeff Walden
a09c2fa5e0 Bug 1556230 - Add comments and a test. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D33675

--HG--
extra : moz-landing-system : lando
2019-10-14 22:04:29 +00:00
ffxbld
c9f86f7c84 No bug - Tagging mozilla-central 585fe45563356a10a9d53cddfeda2bd699e46dd5 with FIREFOX_BETA_71_BASE a=release DONTBUILD CLOSED TREE 2019-10-14 16:42:11 +00:00
Mark Hammond
c7296e7825 Bug 1587769 - update the pref we watch to ensure we sync immediately after device name change. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D49102

--HG--
extra : moz-landing-system : lando
2019-10-14 16:30:27 +00:00
Cosmin Sabou
5d6e6dc693 Backed out changeset adbcc583862c (bug 1579974) for browser chrome failures on browser_asrouter_trigger_listeners.js 2019-10-15 00:12:26 +03:00
Nika Layzell
7a66ccf8ea Bug 1578507 - Remove browser_cross_process_redirect test r=valentin
This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 21:08:16 +00:00
Toshihito Kikuchi
ee1f6d7a78 Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz
We have the `LauncherRegistryInfo` class to check the launcher process was
launched successfully on Windows by comparing the timestamps in the registry
when each process was launched.

The problem was when the process is launched from an elevated process, we
relaunch a new launcher process via shell after we updated the launcher's
timestamp.  As a result, `LauncherRegistryInfo` unexpectedly disabled the
launcher process even though there was nothing wrong.

A proposed fix is to introduce delay-write to the `LauncherRegistryInfo`.  With
this, `LauncherRegistryInfo::Check` modifies only the image timestamp. To update
the launcher/browser timestamps, we need to call `LauncherRegistryInfo::Commit`.
When we ask shell to relaunch a new process, we hold back commit, delegating it
to the new process.

There is another consideration needed.  If something fails during `LauncherMain`,
we call `DisableDueToFailure()` to disable the launcher until the image timestamp
is changed.  In such a case, we should not change the stored timestamps even
though commit is attempted.  The problem is we use a different instance to call
`DisableDueToFailure()` in `HandleLauncherError`.  To deal with this design,
`LauncherRegistryInfo` has a static boolean to indicate disablement happens or not.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 17:14:54 +00:00
shindli
56880b8b3b Backed out changeset 8fb923925923 (bug 1194860) for causing perma mda3 failures in dom/media/webaudio/test/test_convolverNodeChannelInterpretationChanges.html CLOSED TREE
--HG--
extra : histedit_source : f6827f0392c7d385c8a78cb2ec2458cf679afa4a
2019-10-14 19:27:08 +03:00
Narcis Beleuzu
68337a887d Backed out 3 changesets (bug 1575051) for bc failures on browser_browsingContext-getWindowByName.js . CLOSED TREE
Backed out changeset 67aaf4a157af (bug 1575051)
Backed out changeset e01256038537 (bug 1575051)
Backed out changeset 0c8f70f9328b (bug 1575051)
2019-10-14 19:19:05 +03:00
Jeff Walden
45d78db2ec Bug 1584601 - CTypes.PointerType.prototype.decrement shouldn't compute the new pointer by adding a super-large unsigned value to the pointer (and thereby overflowing). r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D47522

--HG--
extra : moz-landing-system : lando
2019-10-14 13:45:36 +00:00
Luca Greco
dea9517662 Bug 1576508 - Fix downloads.onCreated DataClone error regression due to nsIURI referrer property. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D49007

--HG--
extra : moz-landing-system : lando
2019-10-14 12:00:34 +00:00
Mark Banner
f2f4cc162b Bug 1588456 - Tag toolkit/content/tests/browser/browser_delay_autoplay* tests as belonging to Core: Audio/Video Playback. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D49121

--HG--
extra : moz-landing-system : lando
2019-10-14 15:48:24 +00:00
shindli
17756e2a5c Merge autoland to mozilla-central. a=merge 2019-10-14 12:49:20 +03:00
Zhao Jiazhong
22b71a7d58 Bug 1583088 - [MIPS64]Fix visitCompareI64{AndBranch}, handle the case that rhs operand is on the stack. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D46755

--HG--
extra : moz-landing-system : lando
2019-10-14 02:46:19 +00:00
Lina Cambridge
95fa8bcf2b Bug 1586446 - Ignore duplicate outgoing tags in the bookmarks mirror. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D49076

--HG--
extra : moz-landing-system : lando
2019-10-13 23:56:04 +00:00
Lina Cambridge
5ac45f3f35 Bug 1588018 - Remove remaining event telemetry from the bookmarks mirror. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D49049

--HG--
extra : moz-landing-system : lando
2019-10-14 00:22:10 +00:00
arthur.iakab
c6dfda4706 Merge autoland to mozilla-central. a=merge 2019-10-14 00:35:53 +03:00
Oana Pop Rus
8a7bc2ad4e Backed out changeset 77357e0aa88e (bug 1584859) for wpt and mochitest failures. on a CLOSED TREE 2019-10-13 14:06:44 +03:00
Razvan Maries
6866d3a650 Merge autoland to mozilla-central a=merge 2019-10-13 12:35:16 +03:00
Jorg K
5fb0032a51 Bug 1588065 - Fix namespace issues in nsDocShellLoadState.h. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49063

--HG--
extra : moz-landing-system : lando
2019-10-13 00:07:50 +00:00
Emilio Cobos Álvarez
e7e8c1f792 Bug 1559077 - Implement Element.part. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D48707

--HG--
extra : moz-landing-system : lando
2019-10-13 09:40:08 +00:00
Emilio Cobos Álvarez
39e0d5dc32 Bug 1588201 - Fix test_compute_data_with_start_struct.html to avoid leaving properties set around. r=xidorn
This is causing problems since leaving a non-default appearance changes margins
and borders. This was wallpapered by XBL failing to load a binding and leaving
the element without frame as described in the bug.

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

--HG--
extra : moz-landing-system : lando
2019-10-13 09:28:09 +00:00
Dorel Luca
1fdb03379e Merge autoland to mozilla-central. a=merge 2019-10-13 00:20:41 +03:00
Emilio Cobos Álvarez
cb5a3a5401 Bug 1578844 - Fix various issues with display: contents within svg text. r=mats
I'm not happy about all the SVG text / disallow out of flow complexity sprinkled
during frame construction... :(

Maybe we should add some kind of more generic mechanism to disallow some
children for particular kinds of frames, or something.

Co-authored-by: Mats Palmgren <mats@mozilla.com>

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

--HG--
extra : moz-landing-system : lando
2019-10-12 16:28:13 +00:00
Jorg K
7bebf29692 Bug 1588290 - Added missing include of WindowProxyHolder.h to nsGlobalWindowInner.h. r=emilio a=bustage-fix
MANUAL PUSH: bustage fix for Thunderbird
2019-10-12 18:21:47 +02:00
Emilio Cobos Álvarez
725a18fe38 Bug 1585778 - Validate the input of nsDocumentViewer::GetContentSize to not violate the precondition of PresShell::ResizeReflow. r=dholbert
For huge sizes we may end up with an unconstrained isize. Just avoid sizing the
window to that.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 16:11:32 +00:00
Emilio Cobos Álvarez
8657ceea27 Bug 1584859 - Make smooth scrolling conditional on reduced motion settings. r=dbaron
We could put this change itself behind a pref too, if we considered that worth
it. But probably not so.

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

--HG--
extra : moz-landing-system : lando
2019-10-13 09:16:26 +00:00
Emilio Cobos Álvarez
536c1bc0bb Bug 1581467 - Fix checks for display: inline{,-block} which don't account for inline list items. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D48346

--HG--
extra : moz-landing-system : lando
2019-10-12 21:05:16 +00:00
Gabriele Svelto
850ac9c631 Bug 1579758 - Block a nightly build of OpenSC which crashes Firefox; r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D48296

--HG--
extra : moz-landing-system : lando
2019-10-13 04:20:45 +00:00
Oana Pop Rus
501212bba0 Bug 1580223 - Disable trackingProtectionException test on debug platform for frequent failures. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48923

--HG--
extra : moz-landing-system : lando
2019-10-13 08:02:02 +00:00
Sam Foster
3120dbb435 Bug 1563330 - Let login autocomplete for subdomains ride trains for release. r=MattN
Needs a rs to enable the feature for 71.

Try: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=811f92d684564767fdfcfabf9408905e41ec1de0
I guess all the autocomplete tests are skipped for android anyhow, but I also ran: https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=mochitest&revision=f7d3c7dbb98654e8345030ca3058f44a9c31b510

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

--HG--
extra : moz-landing-system : lando
2019-10-12 08:51:20 +00:00
Marco Bonardo
cff612c7b4 Bug 1586681 - Ensure URIFIxup uses the right engine when there's a separate PB engine. r=Standard8,Gijs
Add a new FIXUP_FLAG_PRIVATE_CONTEXT to nsIURIFixup, make it use the default
private search engine when it's set.
Update consumers to pass the new flag when necessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 12:37:51 +00:00
Narcis Beleuzu
e54b007827 Backed out changeset ed90ca2fb5a8 (bug 1585370) for toolchain bustages. CLOSED TREE 2019-10-12 06:29:06 +03:00
Perry Jiang
d42e87a765 Bug 1587365 - Allow multiple callers to wait for permissions r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D49043

--HG--
extra : moz-landing-system : lando
2019-10-12 03:21:41 +00:00
Tom Ritter
02ce94ed09 Bug 1585370 - Make NSIS a required component for builds r=dmajor
This reverts Bug 1355584 which made it optional for MinGW. We now use
it in MinGW so let's make it required again.

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

--HG--
extra : moz-landing-system : lando
2019-10-12 02:51:45 +00:00
Mike Conley
3c92d6087f Bug 1587362 - Make sure PiP toggle mouse button listeners are attached to the right WindowRoot after tab tear out / in. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48885

--HG--
extra : moz-landing-system : lando
2019-10-11 23:36:59 +00:00
J.C. Jones
685c607058 Bug 1577822 - land NSS NSS_3_47_BETA1 UPGRADE_NSS_RELEASE, r=kjacobs
2019-10-11  Kai Engert  <kaie@kuix.de>

	* automation/release/nspr-version.txt:
	Bug 1583068 - Require NSPR version 4.23 r=jcj
	[93245f5733b3] [NSS_3_47_BETA1]

2019-10-11  Kevin Jacobs  <kjacobs@mozilla.com>

	* coreconf/config.gypi, lib/freebl/freebl.gyp:
	Bug 1152625 - Add gyp flag for disabling ARM HW AES r=jcj

	Adds an option to disable ARMv8 HW AES, if `-Ddisable_arm_hw_aes=1`
	is passed to build.sh.

	Depends on D34473

	[9abcea09fdd4]

2019-10-11  Makoto Kato  <m_kato@ga2.so-net.ne.jp>

	* lib/freebl/aes-armv8.c:
	Bug 1152625 - Part 2. Remove __builtin_assume to avoid crash on PGO.
	r=kjacobs,mt

	`AESContext->iv` doesn't align to 16 bytes on PGO build, so we
	should remove __builtin_assume. Also, I guess that `expandedKey` has
	same problem.

	[1b0f5c5335ee]

	* lib/freebl/Makefile, lib/freebl/aes-armv8.c, lib/freebl/aes-armv8.h,
	lib/freebl/freebl.gyp, lib/freebl/intel-aes.h,
	lib/freebl/rijndael.c:
	Bug 1152625 - Support AES HW acceleration on ARMv8. r=kjacobs,jcj

	[efb895a43899]

2019-09-06  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/ssl_auth_unittest.cc,
	gtests/ssl_gtest/ssl_ciphersuite_unittest.cc,
	gtests/ssl_gtest/ssl_extension_unittest.cc,
	gtests/ssl_gtest/ssl_fuzz_unittest.cc,
	gtests/ssl_gtest/tls_esni_unittest.cc, lib/ssl/ssl3con.c,
	lib/ssl/ssl3exthandle.c, lib/ssl/sslimpl.h, lib/ssl/tls13con.c:
	Bug 1549225 - Up front Signature Scheme validation, r=ueno

	Summary: This patch started as an attempt to ensure that a DSA
	signature scheme would not be advertised if we weren't willing to
	negotiate versions less than TLS 1.3. Then I realized that we didn't
	do the same for PKCS#1 RSA.

	Then I realized that we were still willing to try to establish
	connections when we had a certificate that we couldn't use.

	Then I realized that ssl3_config_match_init() wasn't being run
	consistently. On resumption, we only ran it when we were PARANOID.
	That's silly because we weren't checking policies.

	Then I realized that we were allowing ECDSA certificates to be used
	when the named group in the certificate was disabled. We weren't
	enforcing that consistently either. However, I also discovered that
	the check we have wouldn't work without a tweak because in TLS 1.3
	the named group is part of the signature scheme; the configured
	named groups are only used prior to TLS 1.3 when selecting
	ECDSA/ECDH certificates.

	So that sounds like a lot of changes but what it boils down to is
	more robust checking of the configuration prior to starting a
	connection. As a result, we should be offering fewer options that
	we're unwilling or unable to follow through on. A good number of
	tests needed tweaking as a result because we were relying on getting
	past the checks in those tests. No real problems were found as a
	result; this just moves failures that might arise from
	misconfiguration a little earlier in the process.

	[9b418f0a4912]

2019-10-08  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/pk11_gtest/pk11_der_private_key_import_unittest.cc,
	lib/pk11wrap/pk11pk12.c:
	Bug 1586947 - Store nickname during EC key import. r=jcj

	This patch stores the nickname (if specified) during EC key import.
	This was already done for all other key types.

	[c319019aee75]

2019-10-08  Marcus Burghardt  <mburghardt@mozilla.com>

	* lib/certdb/stanpcertdb.c, lib/pk11wrap/pk11load.c,
	lib/pki/pki3hack.c:
	Bug 1586456 - Unnecessary conditional in pki3hack, pk11load and
	stanpcertdb. r=jcj

	Some conditionals that are always true were removed.

	[b34061c3a377]

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

--HG--
extra : moz-landing-system : lando
2019-10-12 00:01:25 +00:00
Boris Zbarsky
dd7b61f437 Bug 1568249. Remove all the LegacyQueryInterface machinery from Web IDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D48250

--HG--
extra : moz-landing-system : lando
2019-10-11 21:15:57 +00:00
Boris Zbarsky
17e55fc804 Bug 1568883. Remove the QI implementation from Web IDL elements. r=peterv,mossop
The XBL test is being removed because it was the only remaining consumer of
xbl's implements="interfacename" in the tree, and was triggering QI on elements
for that codepath.

I've verified that a try run that MOZ_CRASHes when the C++ binding
QueryInterface implementation is invoked is green with these changes.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 22:10:20 +00:00
Ms2ger
6d1c58e46c Bug 1194860 - Remove dom/imptests; r=jgraham
This leaves the testharness files, because they are used in mochitest-chrome
tests in dom/animation/test.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 15:13:32 +00:00
Andreas Farre
c72a747c1c Bug 1575051 - Part 3: Test that nsWindowWatcher can find windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48977

--HG--
extra : moz-landing-system : lando
2019-10-14 12:07:19 +00:00
Andreas Farre
d6e9e88325 Bug 1575051 - Part 2: Look in chrome browsing context group when docshell is missing. r=kmag
Also some minor cleanup in nsWindowWatcher, as well as a small fix,
where GetWindowByName forgot to addref its return value (as changed in
Part 1).

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

--HG--
extra : moz-landing-system : lando
2019-10-14 12:32:08 +00:00
Andreas Farre
e5c730845d Bug 1575051 - Part 1: Remove nsIDocShellTreeItem.findItemWithName. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46285

--HG--
extra : moz-landing-system : lando
2019-10-14 12:07:14 +00:00
Simon Giesecke
776d715465 Bug 1565224 - Added tests for Key::Set* and Key::CompareKeys. r=ttung,asuth
In addition to the tests added before, which test the decoding of encoded
keys, this adds test for other member functions of Key.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 14:46:55 +00:00
Simon Giesecke
624bd4d6a8 Bug 1565224 - Added some initial gtests for dom/indexedDB/Key. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D38360

--HG--
extra : moz-landing-system : lando
2019-10-14 14:47:18 +00:00