Commit Graph

724629 Commits

Author SHA1 Message Date
Henrik Skupin
816ae777d9 Bug 1661495 - [marionette] Don't always set the current content browsing context when registering a new browser. r=marionette-reviewers,maja_zf
Since the patch on bug 1652932 landed in Firefox 80 we always
update the current content browsing context and that now only
when switching to a new window. That leads to an unexpected
change of the current window handle, and as such breaks tests.

Differential Revision: https://phabricator.services.mozilla.com/D88771
2020-08-31 15:50:16 +00:00
owlishDeveloper
fd371ef45e Bug 1654722 - Add backend support for new OnExternalResponse API in GV r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D86617
2020-08-31 17:30:57 +00:00
owlishDeveloper
8c96af737f Bug 1654722 - Change OnExternalResponse API to enable downloads in one request in GV r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D86616
2020-08-31 17:30:50 +00:00
Iain Ireland
a69d3f2397 Bug 1661352: Transpile spread calls r=jandem
The assertion in emitLoadArgumentSlot was unnecessary. Spread calls always have an argc of 1, so `hasArgumentArray` and `!addArgc` cancel each other out in GetIndexOfArgument.

Depends on D88513

Differential Revision: https://phabricator.services.mozilla.com/D88514
2020-08-28 17:24:47 +00:00
Iain Ireland
d32bc4c647 Bug 1661352: Transpile FunApplyArray r=jandem
CallInfo::ArgFormat::Array supports FunApplyArray (in this patch), SpreadCall (in the next patch), and eventually SpreadNew/SpreadSuperCall.

Depends on D88512

Differential Revision: https://phabricator.services.mozilla.com/D88513
2020-08-28 08:21:00 +00:00
Iain Ireland
79d8ceec1b Bug 1661352: Store arg format in CallInfo r=jandem
This makes transpiling nicer, and should also make inlining much easier.

Depends on D88511

Differential Revision: https://phabricator.services.mozilla.com/D88512
2020-08-28 08:11:52 +00:00
Iain Ireland
9ae99bc021 Bug 1661352: Transpile GuardArrayIsPacked r=jandem
It's a bit awkward having both MIsPackedArray and MGuardArrayIsPacked, but I didn't see a nicer approach.

Differential Revision: https://phabricator.services.mozilla.com/D88511
2020-08-28 17:46:14 +00:00
Iain Ireland
b3390ba21f Bug 1661352: Split up GuardFunApplyArray r=jandem
Prior to the NON_PACKED flag, we had to iterate over each element of the array to verify that it was packed. It made sense to fold the argc check in with that code. Now that we are using the flag, I moved the argc check inside the call op to match other argument formats.

Differential Revision: https://phabricator.services.mozilla.com/D88510
2020-08-28 08:00:35 +00:00
Ricky Stewart
7813b5eb6d Bug 1661790 - Allow configuring the name of the virtualenv used for builds r=nalexander
We don't anticipate end users will actually care to do this, but it's useful especially for unit tests. For example, after bug 1659539, Python `configure` tests will run in a new, non-`init_py3` `virtualenv`, and we'll want to target that `virtualenv` for `configure` rather than having it create a new `virtualenv` for no reason.

Differential Revision: https://phabricator.services.mozilla.com/D88661
2020-08-31 17:13:47 +00:00
Mark Striemer
11d173bee5 Bug 1661645 - Set printInColor based on printer support r=emilio,emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88624
2020-08-31 16:30:42 +00:00
Benjamin Bouvier
4b04d565e3 Bug 1661723: Add test case; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88785
2020-08-31 11:24:06 +00:00
Benjamin Bouvier
1893cc05f1 Bug 1661723; Bump Cranelift to a7f7c23bf9c37c642da962d575b7c99007918872; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88784
2020-08-31 16:34:29 +00:00
Narcis Beleuzu
eadff29860 Backed out 5 changesets (bug 1658359) for bc crashes on application crashed [@ mozilla::net::nsSocketTransport::InitiateSocket()] . CLOSED TREE
Backed out changeset 2cb2786b8e97 (bug 1658359)
Backed out changeset 859f1b00f6b0 (bug 1658359)
Backed out changeset 27b7e050768d (bug 1658359)
Backed out changeset 8d705f1fa355 (bug 1658359)
Backed out changeset 555f1ebcef60 (bug 1658359)
2020-08-31 20:27:08 +03:00
Mitchell Hentges
4f7b73a741 Bug 1651424: Bump glean version to 32.3.0 r=firefox-build-system-reviewers,rstewart
Improves glean performance.
Prior to this change, using Glean adds ~500ms to each `mach` run.
After this change, using Glean adds ~200ms to each `mach` run.

Differential Revision: https://phabricator.services.mozilla.com/D88691
2020-08-31 16:06:18 +00:00
Jon Coppeard
1733507c90 Bug 1661718 - Simplify optimised marking for TypeObject trace lists r=sfink
Put the optimised marking path inside the trace hook so that we simplify
calling the trace hook from the marking code.

Differential Revision: https://phabricator.services.mozilla.com/D88632
2020-08-30 17:40:03 +00:00
Andreas Pehrson
a709257918 Bug 1661649 - Allow re-setting the default output device for a key on AudioStreamTrack. r=padenot
Depends on D88825

Differential Revision: https://phabricator.services.mozilla.com/D88826
2020-08-31 15:39:59 +00:00
Andreas Pehrson
c58d3681ed Bug 1661649 - Add mochitest. r=padenot
Depends on D88823

Differential Revision: https://phabricator.services.mozilla.com/D88825
2020-08-31 15:40:07 +00:00
Andreas Pehrson
060c683649 Bug 1661649 - Minor test_setSinkId.html fixes. r=padenot
Depends on D88822

Differential Revision: https://phabricator.services.mozilla.com/D88823
2020-08-31 15:36:01 +00:00
Andreas Pehrson
cf3a11ca42 Bug 1661668 - Clarify MediaInputPort threading model. r=padenot
Depends on D88821

Differential Revision: https://phabricator.services.mozilla.com/D88822
2020-08-31 15:34:42 +00:00
Andreas Pehrson
222394b14b Bug 1661668 - Capture this in HTMLMediaElement::SetSinkId captures, for readability. r=padenot
Depends on D88820

Differential Revision: https://phabricator.services.mozilla.com/D88821
2020-08-31 15:34:09 +00:00
Andreas Pehrson
408f7e4600 Bug 1661668 - Don't let CrossGraphTransmitter masquerade as a ForwardedInputTrack. r=padenot
We've been working to reduce the depth of the class hierarchy, so let's not add
more. Broadening it is simple enough. This patch makes CrossGraphTransmitter a
sub class of ProcessedMediaTrack instead. As such it doesn't need a `mSegment`
member, among other things.

Depends on D88819

Differential Revision: https://phabricator.services.mozilla.com/D88820
2020-08-31 15:20:02 +00:00
Andreas Pehrson
d456b44ba5 Bug 1661668 - Remove unnecessary "explicit" keyword from CrossGraphReceiver. r=padenot
Depends on D88818

Differential Revision: https://phabricator.services.mozilla.com/D88819
2020-08-31 15:16:10 +00:00
Andreas Pehrson
1dee1bfe7e Bug 1661668 - Remove unnecessary "virtual" keywords from CrossGraphPort.h. r=padenot
Depends on D88817

Differential Revision: https://phabricator.services.mozilla.com/D88818
2020-08-31 15:16:03 +00:00
Andreas Pehrson
7f222c93bb Bug 1661668 - Avoid returning raw pointers from CrossGraphPort::Connect because of the leak risk. r=padenot
Depends on D88816

Differential Revision: https://phabricator.services.mozilla.com/D88817
2020-08-31 15:15:55 +00:00
Andreas Pehrson
f326327b11 Bug 1661668 - Make CrossGraphTransmitter::mReceiver const. r=padenot
Depends on D88815

Differential Revision: https://phabricator.services.mozilla.com/D88816
2020-08-31 15:15:27 +00:00
Andreas Pehrson
c663145fb1 Bug 1661668 - Clarify ownership of transmitter and receiver in CrossGraphPort. r=padenot
Depends on D88814

Differential Revision: https://phabricator.services.mozilla.com/D88815
2020-08-31 14:52:25 +00:00
Andreas Pehrson
e3c8004608 Bug 1661668 - Make CrossGraphPort::mSourcePort const. r=padenot
Depends on D88813

Differential Revision: https://phabricator.services.mozilla.com/D88814
2020-08-31 14:49:53 +00:00
Andreas Pehrson
a1c35f4ae7 Bug 1661668 - Avoid a RefPtr copy when creating a CrossGraphPort. r=padenot
Depends on D88812

Differential Revision: https://phabricator.services.mozilla.com/D88813
2020-08-31 14:49:51 +00:00
Andreas Pehrson
71be872132 Bug 1661668 - Rename CrossGraphManager to CrossGraphPort. r=padenot
"Manager" is vague, and it seems to mostly keep some members around rather than
managing them. Port is analogue to MediaInputPort in that it acts as a link
between two tracks. Neither type of port does very much heavy lifting -- they
are similarly dumb.

Differential Revision: https://phabricator.services.mozilla.com/D88812
2020-08-31 16:08:21 +00:00
Andreas Pehrson
40fae2f4e1 Bug 1661710 - Keep a direct reference to the transmitter in CrossGraphManager. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D88810
2020-08-31 16:08:10 +00:00
Michal Novotny
f67509ab41 Bug 1662012 - Remove filesystem reporting from the cache, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88740
2020-08-31 15:16:07 +00:00
Kevin Jacobs
ddc8978d1f Bug 1660509 - land NSS c100e11991f6 UPGRADE_NSS_RELEASE, r=jcj
2020-08-21  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.57 Beta
	[783f49ae6126]

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

	* gtests/ssl_gtest/ssl_auth_unittest.cc, lib/ssl/dtls13con.c,
	lib/ssl/dtlscon.c, lib/ssl/ssl3con.c, lib/ssl/sslimpl.h,
	lib/ssl/sslnonce.c:
	Bug 1653641 - Cleanup inaccurate DTLS comments, code review fixes.
	r=mt

	[0e1b5c711cb9]

2020-08-24  Robert Relyea  <rrelyea@redhat.com>

	* lib/freebl/fipsfreebl.c, lib/softoken/fipstest.c,
	lib/softoken/kbkdf.c, lib/softoken/lowpbe.c, lib/softoken/lowpbe.h,
	lib/softoken/pkcs11c.c, lib/softoken/pkcs11i.h,
	lib/softoken/sftkhmac.c, lib/softoken/sftkike.c:
	Bug 1660304 New FIPS IG requires self-tests for approved kdfs.
	r=ueno comments=kjacobs

	FIPS guidance now requires self-tests for our kdfs. It also requires
	self-tests for cmac which we didn't have in the cmac patch.

	Currently only one test per kdf is necessary. Specifially for
	SP-800-108, only one of the three flavors are needed (counter,
	feedback, or pipeline). This patch includes more complete testing
	but it has been turned off the currently extraneous tests under the
	assumption that NIST guidance may require them in the future. HKDF
	is currently not included in FIPS, but is on track to be included,
	so hkdf have been included in this patch.

	Because the test vectors are const strings, the patch pushes some
	const definitions that were missing in existing private interfaces.

	There are three flavors of self-tests: Function implemented in
	freebl are added to the freebl/fipsfreebl.c Functions implemented in
	pkcs11c.c have selftests completely implemented in
	softoken/fipstest.c Functions implemented in their own .c file have
	their selftest function implemented in that .c file and called by
	fipstests.c These are consistant with the previous choices for
	selftests.

	Some private interfaces that took in keys from pkcs #11 structures
	or outputted keys to pkcs #11 structures were modified to optionally
	take keys in by bytes and output keys as bytes so the self-tests can
	work in just bytes.

	[5dca54fe61c2]

2020-08-25  Daiki Ueno  <dueno@redhat.com>

	* lib/softoken/manifest.mn:
	Bug 1659252, disable building libnssdbm3.so if NSS_DISABLE_DBM=1,
	r=rrelyea

	Reviewers: rrelyea

	Reviewed By: rrelyea

	Bug #: 1659252

	[4d55d36ca6ef]

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

	* lib/pk11wrap/pk11cxt.c, lib/softoken/pkcs11c.c, lib/softoken/sdb.c,
	lib/softoken/sftkpwd.c:
	Bug 1651834 - Fix various static analyzer warnings. r=rrelyea

	[ab04fd73fd6d]

2020-08-28  Mike Hommey  <mh@glandium.org>

	* lib/freebl/blapii.h:
	Bug 1661810 - Define pre_align/post_align based on the compiler.
	r=jcj

	Things worked fine before we upgraded to clang 11 presumably because
	the stack was always 16-bytes aligned in the first place, or
	something akin to that, and the lack of pre_align/post_align doing
	anything didn't matter. The runtime misalignment of the stack may
	well be a clang > 9 bug, but keeping pre_align/post_align tied to
	the x86/x64 is a footgun anyways.

	[c100e11991f6] [tip]

Differential Revision: https://phabricator.services.mozilla.com/D88876
2020-08-31 15:56:19 +00:00
Chris H-C
81516dfff3 Bug 1658359 - Don't let about:glean crash if Glean isn't init r=janerik
Some fog control APIs want to be able to not explode if the Global Glean isn't
available yet. Let's make that possible.

Differential Revision: https://phabricator.services.mozilla.com/D87279
2020-08-31 15:22:57 +00:00
Chris H-C
9cb61dddef Bug 1658359 - Update logging documentation r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D87278
2020-08-31 15:22:49 +00:00
Chris H-C
2872682e95 Bug 1658359 - Initialize FOG during startup idle. r=janerik
This makes FOG self-contained and no longer reliant on Telemetry for init.

We may need to adjust the timeout of the startup idle task to init earlier,
or adjust the pre-init buffer to allow us to init later.

For now of course all of this is moot because no one's using this for anything.

Differential Revision: https://phabricator.services.mozilla.com/D87276
2020-08-31 15:22:47 +00:00
Chris H-C
1ade5f2767 Bug 1658359 - Move FOG client info to Rust r=janerik
We can now get everything fog_init needs from xpcom in Rust without having to
pass anything from C++.

Differential Revision: https://phabricator.services.mozilla.com/D87275
2020-08-31 15:22:39 +00:00
Chris H-C
9f9562ab3e Bug 1658359 - Rename nsIAboutGlean and friends to nsIFOG r=janerik
We'll need this interface for more general operations than just powering
about:glean.

Differential Revision: https://phabricator.services.mozilla.com/D87274
2020-08-31 15:22:32 +00:00
Cosmin Sabou
1ee0d6dbc9 Bug 1661699 - Update expectations on release or beta for reporting-subresource-corp.https.html | destination: script. r=jstutte DONTBUILD DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88707
2020-08-31 12:22:17 +00:00
Bryce Seager van Dyk
6abb6fb449 Bug 1661524 - Make sure EncryptedMedia actors only run in tabbed browsers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D88451
2020-08-28 14:29:46 +00:00
Sebastian Hengst
f71176686e Bug 1661602 - set scroll-to-text-fragment/idlharness.window.html to fail. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88788
2020-08-31 14:53:00 +00:00
Sebastian Hengst
3418e55f48 Bug 1662026 - update expectations for navigation-reporting tests on Linux. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88805
2020-08-31 14:51:57 +00:00
Michal Novotny
fe4555c51f Bug 1662011 - Remove hash stats code from the cache, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D88739
2020-08-31 06:53:06 +00:00
Dzmitry Malyshau
313ddf80c5 Bug 1661505 - Blocklist WR on mac Intel HD3000 r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D88672
2020-08-29 02:58:56 +00:00
Matthew Gaudet
d231c48c00 Bug 1658070 - Save and restore expando slot on proxies during JSObject::swap r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D88673
2020-08-31 15:00:09 +00:00
Bob Owen
c2d5cc215c Bug 1660686: Add telemetry for time taken in print background tasks. r=jwatt, dr=tdsmith
Differential Revision: https://phabricator.services.mozilla.com/D88302
2020-08-31 14:36:45 +00:00
ffxbld
ef863a6fcc No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D88854
2020-08-31 14:18:05 +00:00
amedyne
636d2fceb9 Bug 1643448 Add ACCESS_WIFI_STATE permission to TestRunnerActivity. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D88852
2020-08-31 14:17:16 +00:00
Mihai Alexandru Michis
79a31b4702 Backed out changeset a2f86092c968 (bug 1661174) for causing wpt failures in share-url-invalid.https.html
CLOSED TREE
2020-08-31 17:12:24 +03:00
André Bargull
2e43581c73 Bug 1645373 - Part 3: Transpile LoadInstanceOfObjectResult. r=jandem
Transpile `LoadInstanceOfObjectResult` through the existing `MInstanceOf` op.
In contrast to the CacheIR implementation, `MInstanceOf` can also handle
proxy objects in the prototype chain via a VM call, whereas the CacheIR
implementation always bails out in that case.

Depends on D88574

Differential Revision: https://phabricator.services.mozilla.com/D88575
2020-08-31 13:34:25 +00:00
André Bargull
0c00fa4b44 Bug 1645373 - Part 2: Change MInstanceOf to use MDefinition for the prototype. r=jandem
Change `MInstanceOf` to use `MDefinition` for the prototype in preparation for
part 3. Lowering uses `useRegisterOrConstant()` to ensure we still bake in the
prototype for constant objects, which is the default in both Ion and Warp.


Drive-by change:
Remove bogus `LInstanceOfV::lhs()` and `LInstanceOfCache::lhs()` methods. The
left-hand side is a boxed operand, so it can't be accessed through `getOperand`.

Depends on D88573

Differential Revision: https://phabricator.services.mozilla.com/D88574
2020-08-31 10:01:00 +00:00