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

742228 Коммитов

Автор SHA1 Сообщение Дата
Doug Thayer c22b2b6c3f Bug 1687561 - Disable the skeleton UI permanently-ish if we crash during it r=mconley,emalysz
This will disable the skeleton UI if we crash while setting it up, and further
the error will propagate up and get reported via telemetry on the next run.
This is important because we don't have anything like the crash reporter set up
by the time we want to start showing the skeleton UI.

Differential Revision: https://phabricator.services.mozilla.com/D102355
2021-01-26 16:10:28 +00:00
Doug Thayer bfdaa1612c Bug 1686301 - Report errors in skeleton UI via telemetry r=mconley,emalysz
This is, for the most part, just a large refactor of the skeleton UI stuff to
support coarse-grained error reporting via telemetry. There are a few slight
changes in how we handle some errors. For example, if CreateWindow fails, we
will now bail out and report the failure. The flow for the happy path, however,
should remain unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D102098
2021-01-26 16:10:20 +00:00
Kevin Jacobs 0fd6f4034d Bug 1688317 - Update PSM test ECHConfigs for draft -09 r=necko-reviewers,valentin
Changes hardcoded ECHConfigs version from -08 to -09.

Differential Revision: https://phabricator.services.mozilla.com/D102810
2021-01-26 15:41:14 +00:00
Kevin Jacobs f9716bc8ab Bug 1688685 - land NSS 92dcda94c1d4 UPGRADE_NSS_RELEASE, r=bbeurdouche
2021-01-22  Kevin Jacobs  <kjacobs@mozilla.com>

	* automation/abi-check/previous-nss-release, lib/nss/nss.h,
	lib/softoken/softkver.h, lib/util/nssutil.h:
	Set version numbers to 3.62 Beta
	[680ec01577b9]

2021-01-23  Kevin Jacobs  <kjacobs@mozilla.com>

	* tests/chains/scenarios/nameconstraints.cfg,
	tests/libpkix/certs/NameConstraints.ipaca.cert,
	tests/libpkix/certs/NameConstraints.ocsp1.cert:
	Bug 1686134 - Renew two chains libpkix test certificates. r=rrelyea

	[3ddcd845704c]

2021-01-25  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/common/testvectors/hpke-vectors.h,
	gtests/pk11_gtest/pk11_hpke_unittest.cc, lib/pk11wrap/pk11hpke.c,
	lib/pk11wrap/pk11hpke.h, lib/pk11wrap/pk11pub.h:
	Bug 1678398 - Update HPKE to draft-07. r=mt

	This patch updates HPKE to draft-07. A few other minor changes are
	included:
	- Refactor HPKE gtests for increased parameterized testing.
	- Replace memcpy calls with PORT_Memcpy
	- Serialization tweaks to make way for context Export/Import (D99277).

	This should not be landed without an ECH update, as fixed ECH test
	vectors will otherwise fail to decrypt.

	[e0bf8cadadc7]

	* automation/abi-check/expected-report-libnss3.so.txt,
	gtests/pk11_gtest/pk11_hpke_unittest.cc, lib/nss/nss.def,
	lib/pk11wrap/pk11hpke.c, lib/pk11wrap/pk11pub.h:
	Bug 1678398 - Add Export/Import functions for HPKE context. r=mt

	This patch adds and exports two new HPKE functions:
	`PK11_HPKE_ExportContext` and `PK11_HPKE_ImportContext`, which are
	used to export a serialized HPKE context, then later reimport that
	context and resume Open and Export operations. Only receiver
	contexts are currently supported for export (see the rationale in
	pk11pub.h).

	One other change introduced here is that `PK11_HPKE_GetEncapPubKey`
	now works as expected on the receiver side.

	If the `wrapKey` argument is provided to the Export/Import
	functions, then the symmetric keys are wrapped with AES Key Wrap
	with Padding (SP800-38F, 6.3) prior to serialization.

	[8bcd12ab3b34]

	* automation/abi-check/expected-report-libssl3.so.txt,
	gtests/ssl_gtest/libssl_internals.c,
	gtests/ssl_gtest/libssl_internals.h,
	gtests/ssl_gtest/ssl_extension_unittest.cc,
	gtests/ssl_gtest/tls_ech_unittest.cc, lib/ssl/ssl3con.c,
	lib/ssl/ssl3ext.c, lib/ssl/ssl3ext.h, lib/ssl/sslexp.h,
	lib/ssl/sslimpl.h, lib/ssl/sslsecur.c, lib/ssl/sslsock.c,
	lib/ssl/sslt.h, lib/ssl/tls13con.c, lib/ssl/tls13con.h,
	lib/ssl/tls13ech.c, lib/ssl/tls13ech.h, lib/ssl/tls13exthandle.c,
	lib/ssl/tls13exthandle.h, lib/ssl/tls13hashstate.c,
	lib/ssl/tls13hashstate.h:
	Bug 1681585 - Update ECH to Draft-09. r=mt

	This patch updates ECH implementation to draft-09. Changes of note
	are:

	- Acceptance signal derivation is now based on the handshake secret.
	- `config_id` hint changes from 32B to 8B, trial decryption added on
	the server.
	- Duplicate code in HRR cookie handling has been consolidated into
	`tls13_HandleHrrCookie`.
	- `ech_is_inner` extension is added, which causes a server to indicate
	ECH acceptance.
	- Per the above, support signaling ECH acceptance when acting as a
	backend server in split-mode (i.e. when there is no other local
	Encrypted Client Hello state).

	[ed07a2e2a124]

2021-01-24  Kevin Jacobs  <kjacobs@mozilla.com>

	* cmd/selfserv/selfserv.c:
	Bug 1681585 - Add ECH support to selfserv. r=mt

	Usage example: mkdir dbdir && cd dbdir certutil -N -d . certutil -S
	-s "CN=ech-public.com" -n ech-public.com -x -t "C,C,C" -m 1234 -d .
	certutil -S -s "CN=ech-private-backend.com" -n ech-private-
	backend.com -x -t "C,C,C" -m 2345 -d . ../dist/Debug/bin/selfserv -a
	ech-public.com -a ech-private-backend.com -n ech-public.com -n ech-
	private-backend.com -p 8443 -d dbdir/ -X publicname:ech-public.com
	(Copy echconfig from selfserv output and paste into the below
	command) ../dist/Debug/bin/tstclnt -D -p 8443 -v -A
	tests/ssl/sslreq.dat -h ech-private-backend.com -o -N <echconfig> -v

	[92dcda94c1d4]

Differential Revision: https://phabricator.services.mozilla.com/D102982
2021-01-26 15:30:01 +00:00
Sam Foster cdd336deb4 Bug 1688261 - Stub in about:loginsimportreport. r=mossop,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102809
2021-01-25 22:26:04 +00:00
Erica Wright a13023a836 Bug 1685490 - Align toggles and titles in customize menu r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D102968
2021-01-26 00:05:40 +00:00
Erica Wright 47dd3603d1 Bug 1684526 - Cursor default for all of Customize Menu. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D102962
2021-01-26 00:02:51 +00:00
Erica Wright 3487b607d1 Bug 1688699 - Remove yellow from topsites background options. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D102967
2021-01-26 00:03:00 +00:00
tanweerali 8535e0b378 Bug 1685808 - [Telemetry] Remove expired Scalar browser.engagement.restored_pinned_tabs_count. r=chutten
Depends on D102265

Differential Revision: https://phabricator.services.mozilla.com/D102838
2021-01-26 15:26:41 +00:00
Brindusan Cristian 07d6bf398a Merge mozilla-central to autoland on a CLOSED TREE 2021-01-26 17:58:05 +02:00
Mihai Alexandru Michis 25441f75bd Backed out 5 changesets (bug 1683746, bug 1688025) for causing hazard bustages in Scope.cpp
CLOSED TREE

Backed out changeset 0e4284f9f192 (bug 1688025)
Backed out changeset 8df5f54b91ae (bug 1688025)
Backed out changeset a64719684a50 (bug 1683746)
Backed out changeset e80fe7b8b46b (bug 1683746)
Backed out changeset 063b2af126f1 (bug 1683746)
2021-01-26 17:43:13 +02:00
Mihai Alexandru Michis d459342fe0 Bug 1644147 - Fix another lint error in testing/web-platform/meta/fetch/http-cache/304-update.any.js.ini a=lint-fix 2021-01-26 17:42:04 +02:00
Mihai Alexandru Michis f280ac93f7 Bug 1644147 - Fix lint error in trust-token-redemption-default-feature-policy.tentative.https.sub.html.ini a=lint-fix
CLOSED TREE
2021-01-26 17:21:05 +02:00
Scott f4756a5a2f Bug 1682028 - Switch PageThumbUtils.jsm createSnapshotThumbnail from drawWindow to drawSnapshot r=smacleod
Differential Revision: https://phabricator.services.mozilla.com/D102950
2021-01-26 15:00:17 +00:00
Jason Orendorff 101b5385ff Bug 1688025 - Part 2: Add bindings to dumpScopeChain() output. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D102635
2021-01-26 14:50:58 +00:00
Jason Orendorff 81eb0898aa Bug 1688025 - Part 1: Handle OOM in js::DumpBindings. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D102634
2021-01-26 14:49:50 +00:00
Jason Orendorff adc3d5fbab Bug 1683746 - Part 3: Don't emit CheckAliasedLexical when fetch a private name or method. r=mgaudet
Private fields are implemented, in part, with bogus bindings like `#f` or
`#m.method`, stored in the class Environment, which contain the private
symbols, methods, getters, and setters for the class. Since these are not real
bindings, the spec never says to check that they are initialized. They're
always initialized as part of class setup, before they could possibly be used.
The CheckAliasedLexical instruction is, therefore, a no-op. This patch
eliminates it.

Differential Revision: https://phabricator.services.mozilla.com/D100286
2021-01-26 14:49:42 +00:00
Jason Orendorff efd2a764a4 Bug 1683746 - Part 2: Don't emit ToPropertyKey if the key is a private name. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D100285
2021-01-26 14:49:35 +00:00
Jason Orendorff 4e3a940b5f Bug 1683746 - Part 1: Eliminate redundant brand check in compound assignment to private field. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D100284
2021-01-26 14:51:43 +00:00
Jason Orendorff 50d54eeb97 Bug 1683414 - Emit private brand check after right-hand side of assignment. r=mgaudet
We've been doing the check *before* evaluating the right-hand-side, contrary to
the spec.

Since the value being assigned is then on the expression stack, we have to use
Pick/Unpick to get it out of the way temporarily. A little awkward, and it adds
a couple of bytecode instructions per private field assignment. Also affects
initializers.

Differential Revision: https://phabricator.services.mozilla.com/D100331
2021-01-26 14:47:24 +00:00
Mihai Alexandru Michis 9657ccde7f Bug 1644147 - Disable trust-token-redemption-default-feature-policy.tentative.https.sub.html and 304-update.any.js on linux tsan. r=Gankra
Differential Revision: https://phabricator.services.mozilla.com/D103029
2021-01-26 14:41:53 +00:00
Jason Orendorff 41c4b03378 Bug 1683727 - Improve error messages when private fields are not found. r=mgaudet
Previously we always said "Trying to read" even when the error occurred while
trying to write.

The use of "object" in the new messages is inaccurate when the user is trying
to set a private field on a primitive value, but this is the best I can do
without adding fields to the error message--which would have to affect
bytecode.

Differential Revision: https://phabricator.services.mozilla.com/D100258
2021-01-26 14:46:15 +00:00
smolnar ee306d7507 Backed out changeset 60746aad382b (bug 1438979) for causing dt failures in browser_webconsole_network_messages_openinnet. CLOSED TREE 2021-01-26 16:52:02 +02:00
Joel Maher 15c1170047 Bug 1682358 - add --run-failures support to mochitest. r=bhearsum
add --run-failures support to mochitest

Differential Revision: https://phabricator.services.mozilla.com/D102805
2021-01-26 14:41:46 +00:00
Lee Salzman 05b761b430 Bug 1688820 - force blend_pixels to inline more aggressively. r=jrmuizel
It appears that the slight refactoring of blend_pixels from the clip-mask
optimization in bug 1688104 caused clang-cl to inline blend_pixels more
pessimistically than it was doing before. Since this is an extremely hot
function that all alpha-pass rendering relies on, we generally just want
to inline this regardless of the slight increase in compile size since
a failure to aggressively optimize this can have noticeable performance
impacts.

Differential Revision: https://phabricator.services.mozilla.com/D103033
2021-01-26 14:17:33 +00:00
smolnar 9399e58329 Backed out 2 changesets (bug 1686989, bug 1684469) for causing mochitest failures in browser_basicAuth_multiTab. CLOSED TREE
Backed out changeset b2aa38ecfb55 (bug 1684469)
Backed out changeset d96ac6e7874e (bug 1686989)
2021-01-26 15:36:54 +02:00
Simon Giesecke 6bffb40eae Bug 1687597 - Ensure worker thread is reset before scheduling for deletion. r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D102439
2021-01-26 09:47:08 +00:00
Mihai Alexandru Michis 51b7d9634a Backed out 3 changesets (bug 1684040) for causing bustages in DNSPacket.cpp
CLOSED TREE

Backed out changeset 3c771d45563a (bug 1684040)
Backed out changeset 76e79151d53c (bug 1684040)
Backed out changeset 7a993eb7bfde (bug 1684040)
2021-01-26 16:15:12 +02:00
Nicolas Chevobbe 84cab1d99c Bug 1438979 - [devtools] Re-enable browser_webconsole_network_messages_expand.js. r=bomsy.
The test is split in two to make it easier to read.
The test was quite old and still had references to the `Params` panel, which was
renamed to `Request`.
The test was also failing when checking the stacktrace, and this was due to an
issue from the webconsole messsage reducer where we would completely replace
the `networkMessagesUpdateById` on NETWORK_MESSAGES_UPDATE, and that would lead
to the stracktrace being removed.
In the Stacktrace component, we prevent fetching the stacktrace if it's already
available.

Differential Revision: https://phabricator.services.mozilla.com/D56884
2021-01-26 13:50:15 +00:00
Alexandre Poirot 43cc7423e5 Bug 1651391 - Display remote type in the browser toolbox context selector. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D88082
2021-01-26 13:37:56 +00:00
Mark Banner e3ee71f734 Bug 1687235 - Enable ESLint rule no-setter-return for mobile/. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D102156
2021-01-26 13:44:11 +00:00
Mark Banner 07d7dc3c7a Bug 1687235 - Enable ESLint rule no-setter-return for dom. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D102155
2021-01-26 13:44:03 +00:00
Mark Banner 6f70e91a5d Bug 1687235 - Enable ESLint rule no-setter-return for devtools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D102154
2021-01-26 13:44:01 +00:00
Mark Banner 930543e681 Bug 1687235 - Enable ESLint rule no-setter-return for toolkit and services. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D102153
2021-01-26 13:43:58 +00:00
Mark Banner c4afa9e9ad Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Peter Van der Beken 8853d16553 Bug 1674464 - Stop adding entries for about:tabcrashed when SHIP is enabled. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D96383
2021-01-26 12:41:22 +00:00
Julian Descottes 1234cfd373 Bug 1688169 - [devtools] Use Cu.now to generate marker timestamps in DAMP r=ladybenko,perftest-reviewers
Using performance.now will generate incorrect markers because the timestamps are not in sync with the ones used internally by the ChromeUtils.addProfilerMarker API.

Differential Revision: https://phabricator.services.mozilla.com/D102704
2021-01-26 10:45:45 +00:00
smolnar edb1ce7144 Backed out 2 changesets (bug 1686989, bug 1684469) for causing mochitest failures in browser_basicAuth_multiTab. CLOSED TREE
Backed out changeset b2aa38ecfb55 (bug 1684469)
Backed out changeset d96ac6e7874e (bug 1686989)
2021-01-26 15:36:54 +02:00
smolnar 1a5cfb81b8 Backed out changeset c2d9108fee93 (bug 1509710) for causing mochitest failures in test_pointermove_drag_scrollbar. CLOSED TREE 2021-01-26 15:34:58 +02:00
Kershaw Chang 33da037c55 Bug 1684040 - P3: Encrypt and decrypt DNS packet r=necko-reviewers,kjacobs,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101684
2021-01-26 12:43:03 +00:00
Kershaw Chang 718348d87e Bug 1684040 - P2: Introduce DNSPacket::DecodeInternal to decode dns packet with an input buffer r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102402
2021-01-26 12:44:33 +00:00
Kershaw Chang cffa2368ca Bug 1684040 - P1: Introduce new ODoH class for sending ODoH queries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101682
2021-01-26 12:41:40 +00:00
Edgar Chen 6ef8311735 Bug 1509710 - Prevent dispatching pointermove events targeted at a slider frame to web content, if the scrollbar is being dragged; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D102935
2021-01-26 12:37:12 +00:00
Yaron Tausky 0afb6e885f Bug 1496997 - Remove child intercept code from dom/clients r=asuth,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101028
2021-01-25 22:49:49 +00:00
Mihai Alexandru Michis f13eee1faa Backed out 2 changesets (bug 1687622) for causing Bug 1688804.
Backed out changeset 4d42ff607081 (bug 1687622)
Backed out changeset f7fc57b92765 (bug 1687622)
2021-01-26 14:02:52 +02:00
Paul Zuehlcke 37ca601614 Bug 1684469 - Allow showing multiple async auth prompts at the same time. r=necko-reviewers,sfoster,agi
- Made asyncPromptAuth fully async.
- Removed auth prompt queuing from LoginManagerAuthPrompter asyncPromptAuth implementation.
- If there are multiple auth prompts with the same target in a tab, consolidate them.
- Removed unused method asyncPromptAuthBC.
- Fixed an issue with PromptTestUtils#waitForPrompt where it didn't always return
  the correct prompt.
- Added test for multi tab auth prompts.

Differential Revision: https://phabricator.services.mozilla.com/D102306
2021-01-26 10:33:59 +00:00
Paul Zuehlcke 927b0e98ca Bug 1686989 - Fixed SubDialogManager focus issues and added support for custom focus handlers. r=Gijs
- Content embedded by SubDialog can define its own focus handler which will be called on SubDialog#focus
- Updated CommonDialog to register custom focus handler
- Moved focus calls from SubDialog to SubDialogManager
- Return early after tab dialog focus on tab switch

Differential Revision: https://phabricator.services.mozilla.com/D102298
2021-01-26 10:33:51 +00:00
Dão Gottwald c9035ac944 Bug 1688220 - Rename browser-region notification. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D102764
2021-01-25 20:49:14 +00:00
Hubert Boma Manilla acacfc9462 Bug 1674116 - Check that the connection is not HTTP3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102309
2021-01-25 22:13:18 +00:00
Cameron McCormack b77842bf22 Bug 1687868 - Annotate fuzziness in reftest with the non-native theme enabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D102884
2021-01-26 10:38:14 +00:00