Commit Graph

713303 Commits

Author SHA1 Message Date
Andrea Marchesini
b5ce8bd6df Bug 1636823 - nsInputTransport must support blocking and async source - part 2 - implementation, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78234
2020-06-12 22:48:05 +00:00
Andrea Marchesini
6cd06a958e Bug 1636823 - nsInputTransport must support blocking and async source - part 1 - Use NS_MakeAsyncNonBlockingInputStream, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78233
2020-06-12 22:48:07 +00:00
Marco Bonardo
1896efc1b5 Bug 1645331 - Catch asyncClose exceptions and mark the database as closed. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D79447
2020-06-13 03:10:45 +00:00
Dzmitry Malyshau
1df0745ce1 Bug 1642495 - Use the same usage hint in WebRender for one-time reset r=gw
This should let the GL drivers to re-use the PBOs more aggressively,
and traverse the orphan list less.
Fwiw, it doesn't look like Angle differentiates between StreamDraw and DynamicDraw:
https://searchfox.org/mozilla-central/rev/598e50d2c3cd81cd616654f16af811adceb08f9f/gfx/angle/checkout/src/libANGLE/renderer/d3d/BufferD3D.cpp#65-66

Differential Revision: https://phabricator.services.mozilla.com/D78339
2020-06-13 01:38:10 +00:00
Karl Tomlinson
209a34c2b7 Bug 1642849 shut down MediaTrackGraph from AudioContext when window will be destroyed r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D74814
2020-06-12 03:53:34 +00:00
Neil Deakin
7e87e93b6b Bug 1644155, remove some message listeners that are no longer used, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D78692
2020-06-12 23:28:47 +00:00
caroline
8fc617e678 Bug 1640284 - CacheIR health report. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D77958
2020-06-12 20:43:33 +00:00
Edwin Takahashi
606a8388cd Bug 1632429 - bump mozhttpd version to 0.7.1 r=gbrown
Due to minor changes in D78159 and D77965 I figured it would be a good idea to release the bugfix version bump to pypi, despite our intention to discontinue using mozhttpd (Bug 1428709).

Differential Revision: https://phabricator.services.mozilla.com/D78163
2020-06-03 21:59:46 +00:00
Ting-Yu Lin
0c810869ed Bug 1640051 - Pull child's next-in-flow up after moving the child from overflow list to principal child list. r=dholbert
This is an extension to Bug 1271392 part 2.
https://hg.mozilla.org/mozilla-central/rev/98710f78e04da1294b72517b5c5d7e0841eeb326

In flex/grid container P1's NormalizeChildLists(), when pulling up a
first-in-flow frame F1 into the principal child list, we've already made
sure its next-in-flow F2 is in P1's next-in-flow P2's respective
overflow list.

However, when reflowing P2, F2's next-in-flow may still be away in any
of P2's next continuation chain, not necessary in P2's immediate
next-in-flow P3. We'd want to pull up F2's next-in-flow (if any) after
we move F2 from P2's overflow list into principal child list.

This satisfies the assertion when calling
SanityCheckChildListsBeforeReflow() on P3, i.e. any P2 children's
next-in-flow should be in P3.

Differential Revision: https://phabricator.services.mozilla.com/D78850
2020-06-12 19:14:25 +00:00
Tomislav Jovanovic
fb21526937 Bug 1587541 - Enable content scripts for OOP iframes in browser tabs r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D77941
2020-06-12 22:47:34 +00:00
Kevin Jacobs
e9ae922ddc Bug 1642687 - land NSS cbf75aedf480 UPGRADE_NSS_RELEASE, r=jcj
2020-06-12  Kevin Jacobs  <kjacobs@mozilla.com>

	* cmd/lib/secutil.c:
	Bug 1645479 - Use SECITEM_CopyItem instead of SECITEM_MakeItem in
	secutil.c. r=jcj

	This patch converts a call to `SECITEM_MakeItem` to use
	`SECITEM_CopyItem` instead. Using the former works fine in NSS CI,
	but causes build failures in mozilla-central due to differences in
	how both symbols are exported (i.e. when folding nssutil into nss).

	[cbf75aedf480] [tip]

2020-06-11  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/ssl_gtest/libssl_internals.c,
	gtests/ssl_gtest/ssl_resumption_unittest.cc:
	Bug 1644774 - Use ClearServerCache instead of
	SSLInt_ClearSelfEncryptKey for ticket invalidation. r=mt

	[7b2413d80ce3]

2020-06-10  Kevin Jacobs  <kjacobs@mozilla.com>

	* cmd/lib/basicutil.c, cmd/lib/secutil.c, cmd/lib/secutil.h,
	cmd/selfserv/selfserv.c, cmd/tstclnt/tstclnt.c, lib/ssl/tls13psk.c:
	Bug 1603042 - Support external PSKs in tstclnt/selfserv. r=jcj

	This patch adds support for TLS 1.3 external PSKs in tstclnt and
	selfserv with the `-z` option.

	Command examples:
	- `selfserv -D -p 4443 -d . -n localhost.localdomain -w nss -V tls1.3:
	-H 1 -z 0xAAAAAAAABBBBBBBBCCCCCCCCDDDDDDDD[:label] -m`
	- `tstclnt -h 127.0.0.1 -p 4443 -z
	0xAAAAAAAABBBBBBBBCCCCCCCCDDDDDDDD[:label] -d . -w nss`

	For OpenSSL interop:
	- `openssl s_server -nocert -port 4433 -psk
	AAAAAAAABBBBBBBBCCCCCCCCDDDDDDDD [-psk_identity label]`

	Note: If the optional label is omitted, both NSS tools and OpenSSL
	default to "Client_identity".

	[c1b1112af415]

2020-06-09  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/ssl/tls13con.c:
	Bug 1642638 - Don't assert sid ciphersuite to be defined in fuzzer
	mode. r=mt

	[238bd7912429]

2020-06-08  Kevin Jacobs  <kjacobs@mozilla.com>

	* lib/freebl/freebl.gyp, lib/freebl/freebl_base.gypi:
	Bug 1642802 - Win64 GYP builds to use HACL* curve25519.
	r=bbeurdouche

	This patch causes Windows 64-bit GYP builds to use HACL* curve25519
	rather than the 32-bit (fiat-crypto) implementation.

	For non-clang/GCC Win64 builds, we define `KRML_VERIFIED_UINT128` to
	workaround an upstream bug that breaks Win32 builds by selecting a
	64-bit `__int128` implementation (in types.h).

	For clang/GCC builds, using the compiler-provided type yields a ~5x
	speedup on Win64.

	[566fa62d6522]

2020-06-05  Jeff Walden  <jwalden@mit.edu>

	* lib/pk11wrap/pk11cert.c, lib/pk11wrap/pk11kea.c,
	lib/pk11wrap/pk11merge.c, lib/pk11wrap/pk11nobj.c,
	lib/pk11wrap/pk11obj.c, lib/pk11wrap/pk11skey.c,
	lib/pk11wrap/secmodi.h:
	Bug 1643557 - Make pk11_FindObjectByTemplate accept a size_t count
	rather than a signed type to avoid internal signed-unsigned
	comparison warnings. r=kjacobs

	Depends on D78454

	[5ee293d1a282]

	* lib/pk11wrap/pk11skey.c:
	Bug 1643557 - Make PK11_SetWrapKey explicitly handle being passed a
	negative wrap argument, to avoid a signed-unsigned comparison.
	r=kjacobs

	Depends on D78453

	[7bb3677a2ed0]

	* lib/pk11wrap/pk11akey.c, lib/pk11wrap/pk11cert.c,
	lib/pk11wrap/pk11obj.c, lib/pk11wrap/secmodi.h:
	Bug 1643557 - Change the type of the size argument to
	pk11_FindObjectsByTemplate to be size_t, consistent with the type of
	some (small) numeric values passed to it after the previous
	revision. r=kjacobs

	Depends on D78452

	[eaf223c2646a]

	* lib/pk11wrap/pk11slot.c:
	Bug 1643557 - Use size_t for various counts in pk11slot.c. r=kjacobs

	Depends on D78451

	[465a7954ce0a]

	* lib/pk11wrap/pk11priv.h, lib/pk11wrap/pk11slot.c:
	Bug 1643557 - Make pk11_MatchString accept a size_t length rather
	than an int length (consistent with all callers), and reformulate
	its internals to avoid a signed-unsigned comparison. r=kjacobs

	Depends on D78450

	[fff8c883ef7d]

	* lib/pk11wrap/pk11skey.c, lib/ssl/sslsnce.c, lib/util/secport.h:
	Bug 1643557 - Add PORT_AssertNotReached and use it instead of
	PORT_Assert(!"str"), which may warn about vacuous string literal to
	boolean conversions. r=kjacobs

	Depends on D78449

	[c0aa47eb2fdd]

	* lib/util/secoid.c:
	Bug 1643557 - Use SECOidTag as the type of a loop variable over all
	values of that type to avoid a signed-unsigned comparison warning.
	r=kjacobs

	Depends on D78448

	[d7f1e9975e67]

	* lib/util/utilpars.c:
	Bug 1643557 - Use size_t for a parameter-indexing variable to
	eliminate a signed-unsigned comparison warning. r=kjacobs

	Depends on D78447

	[5d7206908ca7]

	* lib/freebl/rsapkcs.c:
	Bug 1643557 - Used unsigned int for two for-loops upper-bounded by
	unsigned ints in rsa_FormatOneBlock. r=kjacobs

	Depends on D78446

	[ed9a1a41ca1e]

	* lib/pk11wrap/debug_module.c:
	Bug 1643557 - Use unsigned int for log level, consistent with
	PRLogModuleLevel. r=kjacobs

	[7f89fa701ce3]

Differential Revision: https://phabricator.services.mozilla.com/D79566
2020-06-12 23:42:37 +00:00
Narcis Beleuzu
e8980a61ec Backed out changeset edfbe6020f30 (bug 1640441) for wpt failure on inferred-mrow-baseline.html . CLOSED TREE 2020-06-13 01:44:30 +03:00
Narcis Beleuzu
f5fcf19b63 Backed out 4 changesets (bug 1636823) for bustages on TestReadStreamToString.cpp . CLOSED TREE
Backed out changeset 13ab343d2c45 (bug 1636823)
Backed out changeset 50dd67f96214 (bug 1636823)
Backed out changeset 9cdc2e31ee04 (bug 1636823)
Backed out changeset 7d220fd9ac49 (bug 1636823)
2020-06-13 01:13:40 +03:00
Brindusan Cristian
692fccc5dd Backed out changeset 99ea9e6229cb (bug 1286250) for wpt failures at AES-CBC.https.any.html. CLOSED TREE 2020-06-13 00:57:51 +03:00
Tom Schuster
382dd5cc4c Bug 1645515 - Tiny getTemplateObjectForScripted cleanup. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D79557
2020-06-12 21:26:45 +00:00
Peter Major
7375852318 Bug 1606439 - [geckodriver] Add sameSite cookie support. r=whimboo,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62500
2020-06-12 21:11:44 +00:00
Peter Major
79f7ca9e8b Bug 1606439 - [marionette] Add sameSite cookie support. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D62499
2020-06-12 21:11:21 +00:00
Ting-Yu Lin
883f8f5f85 Bug 1405813 - Move prev-in-flow's EOC list to this container frame's OC list in NormalizeChildLists(). r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D78848
2020-06-12 19:03:49 +00:00
Jason Laster
13a9ca307f Bug 1644808 - Remove references to wasmBinarySource. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D79165
2020-06-12 20:28:44 +00:00
Andrea Marchesini
4d26a02b74 Bug 1636823 - nsInputTransport must support blocking and async source - part 4 - gtest for inputStreamTransport, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78236
2020-06-12 20:22:07 +00:00
Andrea Marchesini
d7b59f05bc Bug 1636823 - nsInputTransport must support blocking and async source - part 3 - move gtests, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78235
2020-06-12 15:51:42 +00:00
Andrea Marchesini
62f91f5b57 Bug 1636823 - nsInputTransport must support blocking and async source - part 2 - implementation, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78234
2020-06-12 15:51:35 +00:00
Andrea Marchesini
3b2a995725 Bug 1636823 - nsInputTransport must support blocking and async source - part 1 - Use NS_MakeAsyncNonBlockingInputStream, r=smaug,necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78233
2020-06-12 15:51:38 +00:00
Jeff Muizelaar
680ba797ec Bug 1645428 - Let gen6 and gen7 ride into early beta. r=aosmond
No known problems. Let's get more coverage.

Differential Revision: https://phabricator.services.mozilla.com/D79478
2020-06-12 14:52:07 +00:00
Adam Roach [:abr]
156bc67f75 Bug 1645487: Update Form Autofill Preferences "Learn More" link for Credit Cards r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D79535
2020-06-12 19:43:08 +00:00
Kris Maglione
e4f51c32b7 Bug 1645237: Lazily load JSONView components via static registration. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D79385
2020-06-12 18:48:47 +00:00
Kenrick
1a31e18a9e Bug 1626215 - Enlarge focus ring area of Apple AppStore to have same height with Google Play's r=MattN
Another way to fix is to crop the transparent area out of the Google Play assets, but it would be annoying when new locales are added

Differential Revision: https://phabricator.services.mozilla.com/D79286
2020-06-12 19:39:58 +00:00
Olli Pettay
3b7865f462 Bug 1644119 - Pass loadingEntry to the docshell also when load is similar origin, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D78814
2020-06-12 20:53:11 +00:00
Matt Woodrow
20d25fdc03 Bug 1644945 - Implement a wrapper nsIParentChannel for ParentProcessDocumentChannel so that we can use the same code in DocumentLoadListener. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D79241
2020-06-12 21:03:06 +00:00
Narcis Beleuzu
010f052da8 Bug 1594467 - Fix lint. a=jlast . CLOSED TREE 2020-06-13 00:00:01 +03:00
Kris Maglione
391fb42766 Bug 1644439: Don't force frame loader initialization during reflow from focus manager. r=hsivonen
When trying to get the current focused element during reflow, when the current
focused element in the document is a frame which has yet to be initialized,
attempting to walk through that frame's BrowsingContext causes immediate frame
loader initialization. Since frame loader initialization often requires running
scripts, that's unsafe, which is why we defer initialization until the end of
any in-progress reflow or document update.

This patch fixes the focus manager code to ignore any uninitialized frame
loaders it comes across, since by definition they cannot have any
currently-focused element until their subdocuments have been created.

Differential Revision: https://phabricator.services.mozilla.com/D79392
2020-06-12 10:22:56 +00:00
M. Sirringhaus
97e194bc86 Bug 1644412 - Deactivate peephole optimization on big endian. r=iain
Peephole optimizations are not supported by upstream on big endian and deactivated there as well.
Fixes segfault on startup on s390x.

Differential Revision: https://phabricator.services.mozilla.com/D79039
2020-06-10 12:49:18 +00:00
Emilio Cobos Álvarez
2ecda03866 Bug 1640441 - Don't do fancy floating point precision shenanigans on DOMRect::SetLayoutRect. r=dholbert
There are some issues with this code. It's using doubles, but SetRect
only takes floats, so we lose precision there already. Instead of
getting fancy, use the same conversion that the rest of Gecko uses, so
that pages that compute style values out of getBoundingClientRect values
don't get minor floating point changes.

Differential Revision: https://phabricator.services.mozilla.com/D79326
2020-06-12 18:57:15 +00:00
Marco Zehe
1b32b90556 Bug 1644669 part 2 - Make the flex container view more accessible to screen reader users, r=yzen
This patch does the following:

1. Both the flex-direction and flex-wrap badges are being treated as illustrations, not generic containers, so screen readers immediately pick up the full meaning from the title.
2. Turns the flex item list sub heading into an actual heading for screen readers. It is level 3 because the accordeon headings are all level 2.

Differential Revision: https://phabricator.services.mozilla.com/D79129
2020-06-12 17:39:44 +00:00
Marco Zehe
760479ff25 Bug 1644669 Part 1 - Label the button to return to the flex container view for screen readers, r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D79128
2020-06-12 14:50:30 +00:00
Stepan Stava
7b50798bc1 Bug 1594467 - Add 'Restart frame' r=loganfsmyth
Adds 'Restart frame' context menu item to the Call stack

Differential Revision: https://phabricator.services.mozilla.com/D75620
2020-06-12 18:26:40 +00:00
Mitchell Hentges
bc40ce6513 Bug 1645228: Support topdir in test _populate_context mock r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D79380
2020-06-12 20:09:41 +00:00
Jonathan Kew
4a4f4331c2 Bug 1645482 - Don't leak dwrite font table references after reading font names. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D79534
2020-06-12 19:50:07 +00:00
Mitchell Hentges
d92816473f Bug 1645047: Recommend adding cinnabar to path if not exists r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D79393
2020-06-12 19:43:38 +00:00
Mike Conley
fa1e81542c Bug 1643503 - Make the WebRTC indicator's drag-ability more obvious, and update button styles. r=pbz
This also splits out the indicator theme-ing into an include file, with
platform-specific CSS files that import it. This allows us to do
platform-specific tweaks, such as changing the ordering of the window
controls and drag indicator, which we do on macOS.

Differential Revision: https://phabricator.services.mozilla.com/D79344
2020-06-12 19:09:20 +00:00
Mike Conley
7b3f111c7f Bug 1643503 - Offset the initial vertical position of the WebRTC indicator by 80px. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79343
2020-06-12 18:59:59 +00:00
Mike Conley
09a22f3ca2 Bug 1643503 - Compact the WebRTC global indicator to a height of 32px. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D79342
2020-06-12 19:00:02 +00:00
Mike Conley
5b3d01aad0 Bug 1643503 - Reduce minimum window dimensions for non-popup windows to 32x32 on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D79341
2020-06-12 19:00:04 +00:00
R. Martinho Fernandes
96975d5c9b Bug 1286250 - return correct error code for bad AES key length r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D79455
2020-06-12 20:25:35 +00:00
Narcis Beleuzu
a8dde16e58 Backed out 10 changesets (bug 1508306, bug 1640019) for bc failures on browser_autoOpen.js . CLOSED TREE
Backed out changeset 8844170ff408 (bug 1508306)
Backed out changeset b750f1d873cf (bug 1508306)
Backed out changeset c7170e76e676 (bug 1640019)
Backed out changeset 5905995e4815 (bug 1640019)
Backed out changeset 7bf86513348e (bug 1640019)
Backed out changeset f7d0605295f7 (bug 1640019)
Backed out changeset 521b4d5a9a89 (bug 1640019)
Backed out changeset 8542edc564bc (bug 1640019)
Backed out changeset 4f6a03152526 (bug 1640019)
Backed out changeset 30d2bf04719b (bug 1640019)
2020-06-12 22:47:50 +03:00
Narcis Beleuzu
fa98afc362 Backed out 4 changesets (bug 1643503) for bc failures on browser_parsable_css.js . CLOSED TREE
Backed out changeset a890be633ec3 (bug 1643503)
Backed out changeset 1f8dcaafb864 (bug 1643503)
Backed out changeset b28d0c018553 (bug 1643503)
Backed out changeset 1bcaedf06fb9 (bug 1643503)
2020-06-12 21:56:16 +03:00
Jason Laster
d213ae4f61 Bug 1644813 - Remove references to autoBlackbox. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79167
2020-06-12 18:06:42 +00:00
Olli Pettay
4aaccd7b6e Bug 1645109 - handle the case when contentlist is modified while iterating it, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D79523
2020-06-12 18:04:16 +00:00
Nika Layzell
9c5d47c53f Bug 1508306 - Part 2: Fix Large-Allocation tests for new changes, r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D78999
2020-06-12 16:52:15 +00:00
Nika Layzell
47c0aeb539 Bug 1508306 - Part 1: Migate the Large-Allocation handler to DocumentLoadListener, r=mattwoodrow,necko-reviewers,geckoview-reviewers,agi,valentin
This removes the diagnostic warnings which used to be logged when the
Large-Allocation header was present, but failed to switch into a
Large-Allocation process. Due to the low adoption of the header, this shouldn't
be too large of a problem, but we can look into re-adding the diagnostics if
needed in the future.

The new codepath no longer performs multiple network requests for
Large-Allocation resources, and now relies on the battle-tested
DocumentLoadListener codepath for process switching.

Differential Revision: https://phabricator.services.mozilla.com/D78998
2020-06-12 16:52:13 +00:00