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

674872 Коммитов

Автор SHA1 Сообщение Дата
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
Kenny Levinsen 0c0d7c5752 Bug 1583582 - Mach should not depend on fields in /etc/os-release. r=kvark
Some fields of /etc/os-release are optional, so do not throw KeyError's when they're missing.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:27:14 +00:00
Punam Dahiya d16004d6cb Bug 1588215 - Add modal-less welcome, send-tab recipes and bug fixes to New Tab Page r=Mardak,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D49020

--HG--
extra : moz-landing-system : lando
2019-10-12 07:01:16 +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
Andreas Tolfsen f3071e8691 bug 1585964: webdriver: drop regex dependency; r=webdriver-reviewers,jgraham
webdriver depends on the regex crate for unit testing which adds
significant overhead building the crate.  We could depend on
serde_json::from_value() instead, following the same pattern set
forth in the marionette crate.

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

--HG--
extra : moz-landing-system : lando
2019-10-07 12:53:38 +00:00
shindli cc3e1c3110 Backed out 2 changesets (bug 1587362) for causing very frequent bc failures in toolkit/mozapps/extensions/test/browser/browser_about_debugging_link.js CLOSED TREE
Backed out changeset d3142d807c7f (bug 1587362)
Backed out changeset c71f9a59bdfe (bug 1587362)
2019-10-12 02:32:13 +03:00
Perry Jiang c58d9bdbfb Bug 1578919 - Add test for handling of "pending" fetch events r=asuth
This patch factors out some of the initial test case in
fetch-waits-for-activate.https.html (which only tests "pending" fetch events
for a navigation request) to share with a new test case that tests
"pending" fetch events for a subresource request with a request body.

Both tests in the file have a high-level structure of:
1) Register a Service Worker and wait until its state is "activating" but don't
   let its state reach "activated".
2) Fire a fetch event that will be controlled by that Service Worker, which
   should wait until the Service Worker's state advances to "activated".
3) Wait for the fetch to see that the worker isn't "activated". This step isn't
   directly observable by content, so the test's method to determine this can
   have false posities (but should never cause the test to unexpectedly fail).
4) Tell the Service Worker to advance to "activated".
5) Verify the fetch that was dispatched while the Service Worker was
   "activating" is successfully handled.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 23:23:20 +00:00
Perry Jiang c0d0830d63 Bug 1578919 - Don't allow AutoIPCStream to outlive its IPCStream r=asuth
In ServiceWorkerPrivateImpl::SendFetchEvent, a heap-allocated AutoIPCStream can
point to a stack-allocated IPCStream (part of an IPCInternalRequest). If this
IPCStream is destroyed before the AutoIPCStream, the AutoIPCStream will have a
dangling pointer (and this is the case if SendFetchEvent is called when the
Service Worker's state is "activating" rather than "activated").

This patch moves around the logic to handle the AutoIPCStream's lifetime to
ensure it its lifetime is within its IPCStream's lifetime. The larger issue
might be that AutoIPCStream doesn't have inherent lifetime guarantees (it'll
definitely outlive its IPCStream if it points to its embedded one, but it
doesn't own any external IPCStreams it might point to).

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

--HG--
extra : moz-landing-system : lando
2019-10-11 23:22:31 +00:00
Perry Jiang f8c52660d0 Bug 1578919 - Cleanup AutoIPCStream r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48934

--HG--
extra : moz-landing-system : lando
2019-10-11 23:22:24 +00:00
Kris Maglione d49f0b4f15 Bug 1583400: Follow-up: Fix cycle collector assertion.
Differential Revision: https://phabricator.services.mozilla.com/D49034

--HG--
extra : moz-landing-system : lando
2019-10-11 23:22:52 +00:00
Ting-Yu Lin e0e39eaf7e Bug 1102175 Part 4 - Add BFC bits to a block if its used writing-mode is different from the parent's. r=jfkthame
Without this patch, the `CHECK_BLOCK_AND_LINE_DIR` soft assertion in
nsFloatManager can be triggered with
wm-propagation-body-dynamic-change-002.html added in Part 3.

Add the test as a crashtest because web-platform reftest doesn't seem to
catch our soft assertions.

Add reftests to verify that BFC bits are added to the child block if the
parent and child has the same block-direction, but different sideways
bit; also, add reftests to ensure that "text-orientation: sideways"
doesn't add BFC bits.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 04:44:38 +00:00
Ting-Yu Lin 6f236ea95e Bug 1102175 Part 3 - Add reftests for altering <body> dynamically. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D45580

--HG--
extra : moz-landing-system : lando
2019-10-10 04:44:40 +00:00
Ting-Yu Lin fa66dbfbaa Bug 1102175 Part 2 - Modify the reference file for 817406-4.html, and update test expectations. r=jfkthame
In 817406-4.html, `<body style="direction: rtl;">` needs to propagate up
to `<html>`, so we should compare its result to 817406-1-ref.html.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 22:16:46 +00:00
Ting-Yu Lin 551716366d Bug 1102175 Part 1 - Propagate used writing-mode from body element to its ancestors. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D45481

--HG--
extra : moz-landing-system : lando
2019-10-10 04:44:44 +00:00
Jared Wein 891886fa91 Bug 1587439 - Ignore messages about missing profile in old XULStore.jsm. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D48750

--HG--
extra : moz-landing-system : lando
2019-10-11 20:15:41 +00:00
Jeff Muizelaar b36a941d02 Bug 1588224. Blob: Remove unused members and some debugging code.
This also reduces the size of BlobItemData which will give us
some free performance on SVGs that have a lot of items by reducing
our working set size.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:59:59 +00:00
Kris Maglione bc437d3e44 Bug 1583400: Make IsCurrentInnerWindow Fission-compatible. r=bzbarsky
IsCurrentInnerWindow() should only return true when we are the current inner
of our BrowsingContext, which has a longer lifetime than individual
GlobalWindowOuter instances. In particular, if our BrowsingContext has no
GlobalWindowOuter hanging off it, that means that currently it's hosting an
inner window from some other process and we are not the current inner. If it
_does_ have a GlobalWindowOuter hanging off it, it's possible that this is not
the same as our mOuterWindow, if the BrowsingContext navigated to a different
site and then navigated back to our site.

Therefore, we need to check that we are the current inner of whatever the
BrowsingContext's current GlobalWindowOuter is, if it has one at all.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:53:22 +00:00
Jeff Muizelaar 8a440a3269 Bug 1587198. Wrench: Supported saving images with strides != width*bytes_per_pixel. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D48602

--HG--
extra : moz-landing-system : lando
2019-10-09 18:58:08 +00:00
André Bargull c5404a4adc Bug 1570370 - Part 9: Move UnicodeExtensionsGenerated.cpp into LanguageTagGenerated.cpp. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40075

--HG--
extra : moz-landing-system : lando
2019-10-11 19:26:33 +00:00
André Bargull b293863ab3 Bug 1570370 - Part 8: Add lookup for static strings to StringBuffer. r=jwalden
StringBuffer directly calls `NewInlineString` for short strings, which prevents
looking up static strings.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:26:14 +00:00
André Bargull dd190dd631 Bug 1570370 - Part 7: Remove no longer used JS code generation parts from make_intl_data. r=jwalden
Also removes the "Native"-suffix from function names.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:25:49 +00:00
André Bargull f33f8b0f24 Bug 1570370 - Part 6: Switch language tag parser from JS to C++. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40072

--HG--
extra : moz-landing-system : lando
2019-10-11 19:25:32 +00:00
André Bargull 266460feca Bug 1570370 - Part 5: Rename NativeLocale.cpp to Locale.cpp. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40071

--HG--
rename : js/src/builtin/intl/NativeLocale.cpp => js/src/builtin/intl/Locale.cpp
extra : moz-landing-system : lando
2019-10-11 19:25:12 +00:00
André Bargull 56d3b81c51 Bug 1570370 - Part 4: Rename NativeLocaleObject to LocaleObject. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40070

--HG--
extra : moz-landing-system : lando
2019-10-11 20:06:32 +00:00
André Bargull ce36020259 Bug 1570370 - Part 3: Switch Intl.Locale from JS to C++ version. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40069

--HG--
extra : moz-landing-system : lando
2019-10-11 19:24:45 +00:00
André Bargull 46828c7015 Bug 1570370 - Part 2: Port Intl.Locale to C++. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40068

--HG--
extra : moz-landing-system : lando
2019-10-11 19:24:41 +00:00
André Bargull 4a8f76c4de Bug 1570370 - Part 1: Port Unicode BCP 47 locale identifier parser to C++. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D40067

--HG--
extra : moz-landing-system : lando
2019-10-11 20:05:43 +00:00
Mike Conley 8b869f9cf6 Bug 1587362 - Regression test. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D48886

--HG--
extra : moz-landing-system : lando
2019-10-11 21:00:27 +00:00
Mike Conley 8db106d422 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 21:00:15 +00:00
Nan Jiang d4893635c3 Bug 1585434 - Add a pref to control ASRouter remote l10n r=Mardak
By flipping this pref, we can force ASRouter to load the local flient files for l10n. Note I will make another change for ASRouter to decide which fluent source to use.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 21:01:20 +00:00
shindli e7b5981fa2 Backed out 2 changesets (bug 1568883, bug 1568249) for causing c1 failures in dom/base/test/chrome/test_cpows.xul CLOSED TREE
Backed out changeset b1a2422a6fa0 (bug 1568249)
Backed out changeset d3f5f69f38a8 (bug 1568883)
2019-10-12 00:07:48 +03:00
lloan 3205e5dea1 Bug 1582702 - Polish Search highlighting colors. r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D47519

--HG--
extra : moz-landing-system : lando
2019-10-11 20:13:31 +00:00
Nils Ohlmeier [:drno] c17df5dd68 Bug 1583317: added prefs to set DTLS min/max versions in PeerConnections. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D46835

--HG--
extra : moz-landing-system : lando
2019-10-11 20:00:41 +00:00
Kris Maglione 456c394740 Bug 1587559 - Ignore noopener.newprocess preference under Fission. r=nika
It doesn't have any useful effect given the way Fission chooses processes, and
complicates the window.open logic in ways that are hard to maintain and cause
problems.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:59:10 +00:00
Greg Tatum 03cd55fe37 Bug 1587503 - Provide a mechanism to inspect the current profiler configuration; r=gerald
This patch creates a new API to the nsIProfiler interface, through the activeConfiguration
property. It exposes the internal configuration of the profiler. In addition, this information
is serialized into the profile meta object.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 18:22:42 +00:00
Valentin Gosu 65efbcd070 Bug 1558840 - Add nsINetworkLinkService.dnsSuffixList implementation for windows r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D48556

--HG--
extra : moz-landing-system : lando
2019-10-10 16:21:19 +00:00
Valentin Gosu 40a7306135 Bug 1587741 - Captive Portal Service should use a new detector when we start again r=mayhemer
If the captive portal service is disabled then enabled again when in a captive
portal, we sometimes don't send the captive-portal-login observer notification
because we're reusing the same mCaptiveDetector object, which believes it's
already sent it.

We should use do_CreateInstance instead of do_GetService for this.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 15:26:55 +00:00
Boris Zbarsky 9c62fd6061 Bug 1585684. Fix error message for permission failures when passing a union member. r=peterv
The new error message is still not great, but it's a lot better than having %s
as the description of what's going on.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 09:22:05 +00:00
Kris Maglione babdf3507e Bug 1586887: Return WindowProxyHolder rather than BrowsingContext from Window WebIDL getters. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D48429

--HG--
extra : moz-landing-system : lando
2019-10-11 19:32:09 +00:00
Kris Maglione b45bfec73f Bug 1586911: Silence SHEntry assertion after local->remote->local iframe navigation. r=peterv
When we have a parser-created iframe which starts out in-process, transitions
to remote, and then transitions back to in-process, we create separate
DocShells for the first and last in-process loads. Since both are
network-created, and have the same child index, they both try to add
themselves as children to their parent's SHistory at the same index. And since
the entry for the first DocShell already exists at that index when we try to
add the second, that triggers an assertion.

This isn't really ideal, but it is expected given the current state of session
history under Fission. It should hopefully be solved more gracefully when the
Fission-aware session history rewrite is done, but in the mean time, I think
we should just ignore the conflict, since it's expected.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 19:32:02 +00:00
Boris Zbarsky 092c3345a8 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-07 13:12:55 +00:00
Boris Zbarsky 226ca6e774 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-09 09:19:32 +00:00
Kris Maglione 96062b8b7d Bug 1586926 - Add necessary caller access checks for cross-process Location navigations. r=nika
We attempt to enforce the same (approximate) access checks to Location-based
navigation that we use for loads that use named targeting (e.g., via
window.open), so that a frame that can't be navigated via, e.g., window.open,
also can't be navigated via, e.g., window.parent[1].location = url. For the
in-process case, this is handled by a somewhat hidden call to
CheckLoadingPermissions() in nsDocShell::InternalLoad, where the former checks
whether the principal of whatever JS context happens to be on the stack
subsumes the principal of the target DocShell or any of its ancestors, and
blocks the load if it doesn't.

Since there is no JS context on the stack when we call into the DocShell
loading code in the cross-process case, the check is simply ignored.

So we need to instead do the check in BrowsingContext::LoadURI, where we
already have an explicit accessor, and can simply use the standard access
checks that we use elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 19:36:23 +00:00
Jordan Lund 3dd2714aa3 Bug 1579940 - Setup WNP for users coming from <70.0 and receiving the 70.0 release, DONTBUILD NPOTB, r=aki, a=release
Differential Revision: https://phabricator.services.mozilla.com/D49008

--HG--
extra : moz-landing-system : lando
2019-10-11 19:16:06 +00:00
Sylvestre Ledru d31a8b68f3 Bug 1587905 - Remove useless variable 'bytesAllocated' declaration & assignation r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D48888

--HG--
extra : moz-landing-system : lando
2019-10-11 19:06:41 +00:00