Commit Graph

678276 Commits

Author SHA1 Message Date
Ting-Yu Lin
2e06a9ea92 Bug 1593752 - When inserting canonical <body> element, reframe root element only if their used WritingModes are different. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D51889

--HG--
extra : moz-landing-system : lando
2019-11-06 05:50:12 +00:00
Haik Aftandilian
b13e5d4ca0 Bug 1576733 - Part 2 - Remove the Hardened Runtime AppleEvent entitlement r=spohl
Revert bug 1570581 by removing the AppleEvent entitlement from our hardened runtime configuration for both production and development.

Now that native messaging helpers are started 'disclaimed' with a new attribution chain, the entitlement is not needed.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:45:03 +00:00
Haik Aftandilian
e496f85edc Bug 1576733 - Part 1 - Launch native messaging helper applications with the "disclaim" posix_spawn attribute r=kmag
On macOS, launch native messaging helper apps with a new "Transparency, Consent, and Control" (TCC) attribution chain using the undocumented disclaim posix_spawn attribute.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:44:54 +00:00
Brindusan Cristian
56bcd62c3a Backed out 7 changesets (bug 1212237, bug 1588055) for mochitest failures at test_peerConnection_recordReceiveTrack.html.
Backed out changeset 15f2829db807 (bug 1588055)
Backed out changeset bbff556beb57 (bug 1588055)
Backed out changeset c3f52449c92c (bug 1212237)
Backed out changeset c23272ab755f (bug 1212237)
Backed out changeset 184b8485ae32 (bug 1212237)
Backed out changeset e406c203d2a9 (bug 1212237)
Backed out changeset 4adcbfd99da0 (bug 1212237)
2019-11-06 07:06:02 +02:00
Alastor Wu
67e0814f07 Bug 1592167 - part2 : using browsing content to check if the video document is in the top-level context. r=jya
Our policy is to allow video document to autoplay only when it's in the top-level window. However, `docshell::GetInProcessSameTypeRootTreeItem()` is not compatible with Fission so that we are not able to get the top-level document if we are in the remote process.

Therefore, we should use `BrowsingContext` instead, to check if the video document is in the top-level context.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 03:08:50 +00:00
alwu
016684ed90 Bug 1592167 - part1 : modify test. r=jya
Using `SpecialPowers.spawn` to replace `ContentTask.spawn` and to make sure we run `ok` and `is` under the right window scope.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 23:46:47 +00:00
Gerald Squelart
98288106ad Bug 1593112 - Store responsiveness between TimeBeforeCompactStack and CompactStack - r=gregtatum
The responsiveness was stored with periodic stack samples.
Since bug 1581049, periodic stack samples are now contained within a single
"modern" `CompactStack` entry.
When a thread is sleeping, `CompactStack`s are simply copied verbatim, including
the responsiveness, which doesn't make sense because since we're sleeping so the
responsiveness should still increase.

To avoid duplicating the responsiveness, it is now stored as a separate buffer
entry `UnresponsiveDurationMs` before the `CompactStack`; this replaces the
legacy entry `Responsiveness` that was stored at the end of the stack.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:05:33 +00:00
Gerald Squelart
f054be87a1 Bug 1593112 - Updated buffer grammar to match samples storage - r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D51553

--HG--
extra : moz-landing-system : lando
2019-11-05 03:34:36 +00:00
James Teh
fa1fd5ca07 Bug 1593892: Fire OOP iframe reorder events on all platforms, not just Windows. r=yzen
Previously, this code was unintentionally inside a Windows ifdef.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:36:45 +00:00
Dana Keeler
4c0babeb5c bug 1550686 - remove nsIBadCertListener2 r=dragana,smaug
Differential Revision: https://phabricator.services.mozilla.com/D51001

--HG--
extra : moz-landing-system : lando
2019-11-06 00:19:14 +00:00
John Lin
e2a15ca91c Bug 1592140 - enable platform encoder and HW H.264 support on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51945

--HG--
extra : moz-landing-system : lando
2019-11-05 23:58:02 +00:00
Geoff Brown
9212846e2c Bug 1594237 - Remove robocop support from 'mach test-info tests'; r=bc
A minor optimization for 'mach test-info tests'.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:29:36 +00:00
Glenn Watson
24103968ce Bug 1593615 - Bump up fuzziness on android async scrolling test r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D51948

--HG--
extra : moz-landing-system : lando
2019-11-06 00:32:43 +00:00
Michael Froman
592860d63e Bug 1593301 - pt 2 - Use expanding ShmemPool in RemoteDecoderChild like RemoteDecoderParent. r=jya
Depends on D51436

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

--HG--
extra : moz-landing-system : lando
2019-11-06 00:08:28 +00:00
Michael Froman
b1f15c2284 Bug 1593301 - pt 1 - Don't overwrite decoded audio samples in RemoteAudioDecoderParent::ProcessDecodedData. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D51436

--HG--
extra : moz-landing-system : lando
2019-11-06 00:08:00 +00:00
Narcis Beleuzu
c729ea0850 Backed out 2 changesets (bug 1590550) for wr failures on contain-paint-025.html . CLOSED TREE
Backed out changeset 6400ccbce0a2 (bug 1590550)
Backed out changeset 2248bd863a26 (bug 1590550)

--HG--
extra : histedit_source : adc37f7add91b7e38d1a6af4cb0bc34308d1501e
2019-11-06 03:52:41 +02:00
Narcis Beleuzu
88ff18d148 Backed out changeset 1adbdd45d961 (bug 1592007) for bc failures on browser_masterPassword.js UPGRADE_NSS_RELEASE. CLOSED TREE
--HG--
extra : histedit_source : 034b2747d1bffdb2c43a30d563ef4ecbf3f96e39
2019-11-06 03:16:30 +02:00
Brindusan Cristian
9a4043957e Backed out changeset c3813936e074 (bug 1589913) for mochitest assertion failures at nsGlobalWindowInner.cpp. CLOSED TREE 2019-11-06 02:42:43 +02:00
Brindusan Cristian
3eaf139d31 Backed out 4 changesets (bug 1588193) for bc failures at browser_mixedcontent_aboutblocked.js. CLOSED TREE
Backed out changeset 0bbb1f92bb47 (bug 1588193)
Backed out changeset 074bb8a6fd68 (bug 1588193)
Backed out changeset b10ec4058ec3 (bug 1588193)
Backed out changeset c90bab12f4cb (bug 1588193)
2019-11-06 02:39:32 +02:00
Brindusan Cristian
817b88aae9 Backed out 4 changesets (bug 1590965) as requested by karlt on irc. CLOSED TREE
Backed out changeset f68c212c8b2a (bug 1590965)
Backed out changeset 1ced33f66353 (bug 1590965)
Backed out changeset 22f28d146e38 (bug 1590965)
Backed out changeset 70331e97107e (bug 1590965)
2019-11-06 02:32:29 +02:00
Brindusan Cristian
7dd89e5631 Backed out 4 changesets (bug 1582751, bug 1575785, bug 1592616) for bc failures at browser_protections_UI.js. CLOSED TREE
Backed out changeset 7065a97d62f2 (bug 1592616)
Backed out changeset 5f243fa3ab1e (bug 1575785)
Backed out changeset 7870976299f2 (bug 1582751)
Backed out changeset a9b6b44f82af (bug 1592616)
2019-11-06 02:23:31 +02:00
Abdoulaye Oumar Ly
7742d38850 Bug 1590138 - Handle the case where the actor is already destroyed during fullscreen exit so that chrome UI is fully restored. r=smaug,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D51339

--HG--
extra : moz-landing-system : lando
2019-11-05 23:29:26 +00:00
Mélanie Chauvel (ariasuni)
73ebf249d6 Bug 1563380 - Fix tabs.duplicate() having a different behavior than duplicate in UI r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D48471

--HG--
extra : moz-landing-system : lando
2019-11-05 23:41:56 +00:00
Jim Blandy
d1a85a3c74 Bug 1593393: Fix SpiderMonkey gdb JSObject pretty-printer. r=sfink
The pretty-printer expects to find the value of the `NON_NATIVE` flag in
`js::Class`, which doesn't exist any more. That flag is now a static const
member of `JSClass`.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:36:59 +00:00
Nicholas Nethercote
af281df032 Bug 1587176 - Fix UBSAN complaints about nsCOMArray. r=erahm
nsCOMArray currently casts a function that takes two `void` pointers into a
function that takes two `nsISupports` pointers. UBSAN doesn't like this.

This commit introduces an extra level of casting machinery. As a result, each
comparison done while sorting goes through an extra level, to get from `(T*,
T*)` comparisons to `(nsISupports*, nsISupports*)` comparisons to `(void*,
void*)` comparisons, as required by `NS_QuickSort()`. It's a bit annoying but I
can't see how else to solve this within the constraint imposed by the existing
`nsCOMArray_base`/`nsCOMArray` split.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 00:14:10 +00:00
Nicholas Nethercote
aa1586413a Bug 1587176 - Rename some nsCOMArray internal stuff. r=erahm
This makes the subsequent commit easier to understand.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 00:12:06 +00:00
Jeff Walden
84be73074c Bug 1593888 - Fix bootlegging errors in jsrtfuzzing.cpp. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D51750

--HG--
extra : moz-landing-system : lando
2019-11-05 12:32:44 +00:00
Bryce Seager van Dyk
3624dea67c Bug 1592826 - Expand Qualcom driver blacklist to cover new versions. r=mattwoodrow
Recent Qualcom drivers are exhibiting the same issues as seen in previous
versions when decoding video. Notably:
- Crashes.
- Green frames.

This patch expands our black list to avoid these problems.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 08:31:42 +00:00
Kashav Madan
eeeeb803c4 Bug 1588193 - Fix broken tests, r=mccr8
Most of these tests relied on assumptions that were broken by the new content
event utils (timing, being in a ContentTask, etc).

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:52:43 +00:00
Kashav Madan
18d9cf260f Bug 1588193 - Fix BrowserTestUtils.waitForContentEvent with Fission, r=mccr8
This also changes BrowserTestUtils.addContentEventListener to use browsing
contexts to track added listeners and their associated targets.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:52:36 +00:00
Kashav Madan
9e963221bc Bug 1588193 - Register the ContentEventListener actor for every browsing context, r=mconley
Various BrowserTestUtils.waitForContentEvent call sites expect to see an event
on a browser element that was open before the call was made. For this reason,
each of the browsers need to also have a ContentEventListener actor.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:52:23 +00:00
Kashav Madan
ea829b2fb5 Bug 1588193 - Don't dispatch AboutNetErrorLoad until we're completely setup, r=johannh
BrowserTestUtils.waitForErrorPage may resolve slightly earlier than it did
before, so we may arrive at an about:neterror page that hasn't been completely
initialized. We should only dispatch the AboutNetErrorLoad event when we're done
making changes to the page.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:52:14 +00:00
James Willcox
fbc8a04d5f Bug 1555337 - Add LoadRequest#hasUserGesture r=geckoview-reviewers,rbarker,agi
This uses `Document.hasValidTransientUserGestureActivation` to expose
gesture for use in the `onLoadRequest()` delegate method in GeckoView,
allowing apps to know if a load was initiated by a user.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:53:30 +00:00
Emilio Cobos Álvarez
6d3de99aa9 Bug 1593690 - Fix some races caused by bug 1591717, and add some debugging code. r=mak
These were unveiled by the coming patch.

We didn't use to call run_next_test for the links that expected no visits before
bug 1591717.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:30:26 +00:00
Kashav Madan
56606d9195 Bug 1592596 - Make browser_domainPolicy.js Fission-compatible, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51154

--HG--
extra : moz-landing-system : lando
2019-11-05 20:53:47 +00:00
Stephen Donner
59ec80a211 Bug 1594219: [browsertime] HTTPError: 404: file not found for ImageMagick-x86_64-apple-darwin18.7.0.tar.gz in browsertime --setup on macOS/OSX. r=acreskey
Differential Revision: https://phabricator.services.mozilla.com/D51931

--HG--
extra : moz-landing-system : lando
2019-11-05 22:03:38 +00:00
Emilio Cobos Álvarez
0d3b6b9453 Bug 1590550 - Don't do the "simple display list" optimization when we have overflow clips. r=mattwoodrow
The previous code tried to do it, but it did it wrongly, as the overflow clip
comes from the parent, not the child.

Thus when we change a style that influences it, we weren't invalidating the
SIMPLE_DISPLAY_LIST bit, and such.

Make the reftest that caught this fail more reliable.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:55:40 +00:00
Emilio Cobos Álvarez
4606deed10 Bug 1590550 - Don't apply contain: paint inappropriately. r=mattwoodrow
This fixes css/css-contain/contain-paint-{002,012,024}.html when not using the
fast path (i.e., with the following patch).

Also invert the check in IsStackingContext as IsFrameOfType is a virtual method,
and IsContain* is just a bitflag.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:26:38 +00:00
thomasmo
3ebc22a35d Bug 1589913 - Update FxR Desktop default home page r=kip,bzbarsky
This change updates the home page to webxr.today for Firefox Realty on Desktop. Further, since WebVR is not supported yet, this change includes a way to disable WebVR specifically for FxR windows without impacting Desktop Fx.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:45:38 +00:00
J.C. Jones
07491e58b7 Bug 1592007 - land NSS dc9552c2aa77 UPGRADE_NSS_RELEASE, r=kjacobs
2019-11-04  Marcus Burghardt  <mburghardt@mozilla.com>

	* lib/pk11wrap/pk11cert.c:
	Bug 1590495 - Crash in PK11_MakeCertFromHandle->pk11_fastCert. r=jcj

	Fixed controls to avoid crashes caused by slots possibly without a
	token in pk11_fastCert. Also, improved arguments controls in
	PK11_MakeCertFromHandle.

	[dc9552c2aa77] [tip]

2019-11-01  Franziskus Kiefer  <franziskuskiefer@gmail.com>

	* gtests/pk11_gtest/manifest.mn,
	gtests/pk11_gtest/pk11_des_unittest.cc,
	gtests/pk11_gtest/pk11_gtest.gyp, lib/softoken/pkcs11c.c:
	Bug 1591742 - check des iv length and add test for it, r=jcj,kjacobs

	Summary: Let's make sure the DES IV has the length we expect it to
	have.

	Bug #: 1591742

	[35857ae98190]

2019-11-01  Dana Keeler  <dkeeler@mozilla.com>

	* gtests/mozpkix_gtest/pkixcheck_CheckKeyUsage_tests.cpp, lib/mozpkix
	/test-lib/pkixtestnss.cpp, tests/gtests/gtests.sh:
	Bug 1588567 - enable mozilla::pkix gtests in NSS r=jcj

	[27a29997f598]

2019-11-01  Deian Stefan  <deian@cs.ucsd.edu>

	* lib/softoken/pkcs11c.c:
	Bug 1591315 - Update NSC_Decrypt length in constant time r=kjacobs

	Update NSC_Decrypt length in constant time

	[7f578a829b29]

2019-11-01  Kai Engert  <kaie@kuix.de>

	* automation/taskcluster/graph/src/queue.js:
	Bug 1562671 - Limit Master Password KDF iterations for NSS
	continuous integration tests. r=mt
	[c8b490583b86]

	* lib/softoken/lgglue.c, lib/softoken/sftkdb.c, lib/softoken/sftkdb.h,
	lib/softoken/sftkdbti.h, lib/softoken/sftkpwd.c:
	Bug 1562671 - Add environment variables to control Master Password
	KDF iteration count. Disable iteration count for legacy DBM storage
	by default. r=rrelyea
	[ced91a705aa3]

2019-11-01  Bob Relyea  <rrelyea@redhat.com>

	* lib/softoken/legacydb/keydb.c, lib/softoken/lgglue.c,
	lib/softoken/pkcs11.c, lib/softoken/sftkdb.c, lib/softoken/sftkdb.h,
	lib/softoken/sftkdbti.h, lib/softoken/sftkpwd.c:
	Bug 1562671 - Support higher iteration count for Master Password
	KDF. Bob Relyea's base patch. Requires the follow-up patch. r=kaie
	[6619bb43d746]

2019-10-28  Martin Thomson  <mt@lowentropy.net>

	* coreconf/Linux.mk, coreconf/WIN32.mk, coreconf/command.mk,
	coreconf/config.gypi, coreconf/rules.mk, lib/freebl/aes-armv8.c,
	lib/freebl/aes-x86.c, lib/freebl/config.mk, lib/freebl/freebl.gyp,
	lib/freebl/intel-aes.h, lib/freebl/intel-gcm-wrap.c,
	lib/freebl/rijndael.c, lib/freebl/rijndael.h, lib/ssl/config.mk,
	lib/ssl/ssl.gyp:
	Bug 1590972 - Use -std=c99 for all C code, r=jcj

	This switches to using -std=c99 for compiling all C code.
	Previously, we only enabled this option for lib/freebl and lib/ssl.

	For Linux, this means we need to define _DEFAULT_SOURCE to access
	some of the functions we use. On glibc 2.12 (our oldest supported
	version), we also need to define _BSD_SOURCE to access these
	functions.

	The only tricky part is dealing with partial C99 implementation in
	gcc 4.4. From what I've seen, the only problem is that - in that
	mode - it doesn't support nesting of unnamed fields:
	https://gcc.gnu.org/onlinedocs/gcc-4.4.7/gcc/Unnamed-Fields.html

	This also switches from -std=c++0x to -std=c++11 as the 0x variant,
	though identical in meaning, is deprecated.

	[dbba7db4b79d]

2019-10-30  Giulio Benetti  <giulio.benetti@benettiengineering.com>

	* lib/freebl/aes-armv8.c, lib/freebl/rijndael.c:
	Bug 1590676 - Fix build if arm doesn't support NEON r=kjacobs

	At the moment NSS assumes that ARM supports NEON extension but this
	is not true and leads to build failure on ARM without NEON
	extension. Add check to assure USE_HW_AES is not defined if ARM
	without NEON extension is used.
	[58f2471ace3b]

2019-10-30  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/tls_agent.cc:
	Bug 1575411 - Disable EMS for tests, a=bustage
	[6e5f69781137]

2019-10-29  J.C. Jones  <jjones@mozilla.com>

	* gtests/ssl_gtest/tls_esni_unittest.cc:
	Bug 1590970 - Fix clang-format from
	e7956ee3ba1b6d05e3175bbcd795583fde867720 r=me
	[d1e43cb9f227]

2019-10-29  Giulio Benetti  <giulio.benetti@benettiengineering.com>

	* lib/ssl/tls13esni.c:
	Bug 1590678 - Remove -Wmaybe-uninitialized warning in tls13esni.c
	r=jcj
	[df5e9021809a]

2019-10-29  Martin Thomson  <martin.thomson@gmail.com>

	* lib/ssl/ssl.h, lib/ssl/sslsock.c:
	Bug 1575411 - Enable extended master secret by default,
	r=jcj,kjacobs

	See the bug for discussion about the implications of this.

	[d1c68498610d]

2019-10-29  Martin Thomson  <mt@lowentropy.net>

	* gtests/ssl_gtest/tls_esni_unittest.cc, lib/ssl/sslexp.h:
	Bug 1590970 - Stop using time() for ESNI tests, r=kjacobs

	Summary: The ESNI tests were using time() rather than PR_Now(), so
	they slipped the net when I went looking for bad time functions. Now
	they do the right thing again.

	What we were probably seeing in the intermittents was the case where
	we set the time for most of the SSL functions to PR_Now(), and that
	was just before a second rollover. Then, when time() was called, it
	returned t+1 so the ESNI keys that were being generated in the ESNI
	tests were given a notBefore time that was in the future relative to
	the time being given to the TLS stack. Had the ESNI keys generation
	been given time() - 1 for notBefore, as I have done here, this would
	never have turned up.

	Reviewers: kjacobs

	Tags: #secure-revision

	Bug #: 1590970

	[e7956ee3ba1b]

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

--HG--
extra : moz-landing-system : lando
2019-11-05 20:29:59 +00:00
Glenn Watson
780c7f0f16 Bug 1593901 - Support debug / profiler overlays in native compositor mode. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D51753

--HG--
extra : moz-landing-system : lando
2019-11-05 22:57:22 +00:00
Brindusan Cristian
b65cb68eb7 Backed out changeset 1548ffd8f48c (bug 1522054) for mochitest failures at test_lookup_system_principal.html. CLOSED TREE 2019-11-06 01:11:51 +02:00
Brindusan Cristian
4448c0ef94 Backed out changeset 302c71978ca7 (bug 1580338) for build bustages on ParseNode.h. CLOSED TREE 2019-11-06 00:27:50 +02:00
Narcis Beleuzu
e4b2faa491 Backed out changeset 7703531b8600 (bug 1593084) for Linting opt. CLOSED TREE 2019-11-06 00:13:52 +02:00
Nathan Froyd
892767cef9 Bug 1593802 - don't drop dispatch flags in TaskQueue's EventTargetWrapper; r=erahm
`TaskQueue` wraps an `nsIEventTarget` to provide "one runnable at a
time" execution policies regardless of the underlying implementation of
the wrapped `nsIEventTarget` (e.g. a thread pool).  `TaskQueue` also
provides a `nsISerialEventTarget` wrapper, `EventTargetWrapper`, around
itself (!) for consumers who want to continue to provide a more
XPCOM-ish API.

One would think that dispatching tasks to `EventTargetWrapper` with a
given set of flags would pass that set of flags through, unchanged, to
the underlying event target of the wrapped `TaskQueue`.

This pass-through is not the case.  `TaskQueue` supports a "tail
dispatch" mode of operation that is somewhat underdocumented.  Roughly,
tail dispatch to a `TaskQueue` says (with several other conditions) that
dispatched tasks are held separately and not passed through to the
underlying event target.  If a given `TaskQueue` supports tail dispatch
and the dispatcher also supports tail dispatch, any tasks dispatched to
said `TaskQueue` are silently converted to tail dispatched tasks.  Since
tail dispatched tasks can't meaningfully have flags associated with
them, the current implementation simply drops any passed flags on the floor.

These flags, however, might be meaningful, and we should attempt to
honor them in the cases we're not doing tail dispatch.  (And when we are
doing tail dispatch, we can verify that the requested flags are not
asking for peculiar things.)

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

--HG--
extra : moz-landing-system : lando
2019-11-05 16:59:30 +00:00
Thom Chiovoloni
0aee355709 Bug 1582263 - Move devices list to top level of sync ping. r=markh
Move devices list to top level of sync ping

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

--HG--
extra : moz-landing-system : lando
2019-11-05 17:21:12 +00:00
Matthew Gaudet
ef839e75fc Bug 1580338 - Defer RegExp allocation until after parse r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D46349

--HG--
extra : moz-landing-system : lando
2019-11-05 21:45:29 +00:00
Nathan Froyd
f64f04d6ef Bug 1593803 - rename NS_DispatchToBackgroundThread to NS_DispatchBackgroundTask; r=KrisWright
The current API name is bad: we want it to be read "some background
thread", but it could just as easily be read "a singular background
thread", which would lead people to assume that for:

```
NS_DispatchToBackgroundThread(...);
NS_DispatchToBackgroundThread(...);
```

the dispatched tasks will necessarily run in the order they are
dispatched, which is not the case.

Let's try to head off that interpretation by renaming this function.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 21:19:18 +00:00
Nihanth Subramanya
783f01f341 Bug 1592616 - Ensure we wait for site not working link to be updated before checking visibility. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D51920

--HG--
extra : moz-landing-system : lando
2019-11-05 21:33:06 +00:00
Johann Hofmann
7e88d46593 Bug 1575785 - Show a confirmation hint when a user successfully submitted a breakage report. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51383

--HG--
extra : moz-landing-system : lando
2019-11-05 21:33:06 +00:00