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

678715 Коммитов

Автор SHA1 Сообщение Дата
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
Andreas Tolfsen 243b658475 bug 1549708: docshell: add nsIDocShell.isForceReloading; r=bzbarsky
Exposes a new nsIDocShell API, isForceReloading, to determine if
the loaded document was force-reloaded or not.

It relies on the underlying behaviour of nsDocShell::IsForceReloading(),
which again relies on nsDocShell::IsForceReloadType(mLoadType).

The getter is used in the remote agent to test that
Page.reload({ignoreCache: true}) works as intended.

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

--HG--
extra : moz-landing-system : lando
2019-11-04 13:28:23 +00:00
thomasmo 55deef9140 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-06 14:53:08 +00:00
Thomas e1ff6f24a2 Bug 1591982 - Removed 'timestamp' property from Page.navigatedWithinDocument and Page.frameStoppedLoading r=whimboo,ato
Differential Revision: https://phabricator.services.mozilla.com/D51529

--HG--
extra : moz-landing-system : lando
2019-11-06 14:42:20 +00:00
David Major fd241bcb5a Bug 1594267 - Make OutOfLinePoisoner::poison be MOZ_NEVER_INLINE r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51960

--HG--
extra : moz-landing-system : lando
2019-11-06 14:10:15 +00:00
Rob Wood 2892b9c634 Bug 1587785 - Disable background hang monitor for raptor tests r=acreskey,stephendonner
Differential Revision: https://phabricator.services.mozilla.com/D51831

--HG--
extra : moz-landing-system : lando
2019-11-06 07:31:52 +00:00
Martin Stransky 486a8209db Bug 1592933 - [Wayland] Cache scale factor for toplevel windows, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D51253

--HG--
extra : moz-landing-system : lando
2019-11-06 13:18:55 +00:00
Martin Stransky 93728f0682 Bug 1592933 - [Wayland] Get scale factor from nsWindow::GdkScaleFactor() and set it when wl_surface/egl_window is used for rendering, r=jhorak
Remove moz_container_get_scale() and use only nsWindow::GdkScaleFactor() to get scale factor for wl_surface and wl_egl_window.
Always set the scale factor when wl_surface / wl_egl_window is queued for rendering.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 13:18:43 +00:00
Sebastian Hengst a5193f0aaa Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-11-06 15:00:06 +01:00
Jamie Nicol 7f4554b026 Bug 1594399 - Rename render_time telemetry probe to framebuild_time. r=Dexter
The probe was added to metrics.yaml in bug 1584109. Its corresponding
probe in Histograms.json was renamed from WR_RENDER_TIME to
WR_FRAMEBUILD_TIME to better describe what it is measuring. But the
rename in metrics.yaml was accidentally lost during a rebase, and it
was landed it as render_time. This renames it to framebuild_time, as
was intended.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 13:39:00 +00:00
Emilio Cobos Álvarez 3961b37711 Bug 1594401 - Enable hashtable assertions on fuzzing builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51996

--HG--
extra : moz-landing-system : lando
2019-11-06 13:37:56 +00:00
Gurzau Raul a48236e296 Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
Backed out changeset ee2ba98f5a17 (bug 1592616)
Backed out changeset 1f665fb32bff (bug 1592616)
Backed out changeset dde543f12c83 (bug 1575785)
Backed out changeset fadcc9e29ffd (bug 1582751)
Backed out changeset e86703d8db17 (bug 1592616)
2019-11-06 15:48:17 +02:00
Gurzau Raul 313e11b7ae Bug 1247260 - Fix lint issue on test_histogramtools_strict.py a=lint-fix CLOSED TREE
--HG--
extra : amend_source : f958c0b50707325e5220ef185c9f8c46f4cb5909
2019-11-06 15:33:35 +02:00
Carolina 05b1ed7daf Bug 1589883 - Fixes OCSP section.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D51715

--HG--
extra : moz-landing-system : lando
2019-11-06 12:19:42 +00:00
Beatriz Rizental e20b3d58a7 Bug 1247260 - Let enumerated and categorical histograms have 100 buckets. r=chutten,frank
Differential Revision: https://phabricator.services.mozilla.com/D50206

--HG--
extra : moz-landing-system : lando
2019-11-06 13:00:41 +00:00
Andreas Pehrson ac4828baba Bug 1588840 - Make ended return true after reaching the event loop's step 1 when playing a MediaStream. r=jib
This is especially important for media elements playing MediaStreams, since the
streams can be manipulated to end playback of the elements synchronously by
either stopping or removing their tracks.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 13:06:44 +00:00
Andreas Pehrson f1d87ed62a Bug 1588840 - Add WPT for when HTMLMediaElement with a MediaStream should report and fire ended. r=jib
This adds four test cases:
- HTMLVideoElement playing a video track, ending through the track ending.
- HTMLAudioElement playing an audio and a video track, ending through the audio
  track ending.
- HTMLVideoElement playing a video track, ending through the track being
  removed.
- HTMLAudioElement playing an audio track and a video track, ending through the
  audio track being removed.

All test cases test the timing of when the HTMLMediaElement starts reporting
true for its ended attribute, and the timing of the ended event.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 13:06:32 +00:00
Andreas Pehrson ad9fc60102 Bug 1588055 - Remove use of nsAutoPtr in MediaPipeline. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D49239

--HG--
extra : moz-landing-system : lando
2019-11-06 05:11:00 +00:00
Andreas Pehrson 28c99e5390 Bug 1588055 - Fix MediaPipeline static-analysis warnings and make RefPtr passing consistent. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D48957

--HG--
extra : moz-landing-system : lando
2019-11-06 05:11:02 +00:00
Andreas Pehrson 494c9c3aad Bug 1212237 - Use a content principal by default for received tracks. r=bwc
This swaps things around so that received tracks in peer connections have a
content principal instead of a null principal initially.

This puts an extra requirement on us to not output any frames under the content
principal after ALPN has been negotiated with requested privacy, but before this
private principal has been signaled to the MediaPipelines. The private principal
is signaled from the STS thread, via the main thread, whereas media is consumed
directly by MediaPipelines after being received on the STS thread.

This patch adds an extra signaling path directly from the STS thread that tells
MediaPipelines to make their PrincipalHandle private, and to ignore any data
until the private PrincipalHandle is set. It also moves the responsibility of
updating the principal of the received MediaStreamTracks from TransceiverImpl
to MediaPipeline, so it's all in the same path.

This lets all MediaStream and MediaStreamTrack APIs consume received tracks
directly after getting exposed to JS without errors. In case privacy is later
requested, consumers that have already been set up must handle this on the fly.
(They do, in specs and impls)

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

--HG--
extra : moz-landing-system : lando
2019-11-06 05:11:04 +00:00
Andreas Pehrson 8624ea2658 Bug 1212237 - s/nsIEventTarget/nsISerialEventTarget/ in media/webrtc. r=bwc
nsISerialEventTarget is more semantically accurate for these uses, as the
dispatched runnables cannot run in parallel. It also allows us to use
InvokeAsync in future patches, as that function only takes nsISerialEventTarget.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 05:10:58 +00:00
Andreas Pehrson c39989d19a Bug 1212237 - Be explicit about principals for received tracks. r=bwc
This patch fixes two things:
1) A potential threading issue in setting and reading the PrincipalHandle for
   MediaPipelineReceiveVideo.
2) Plumbs the PrincipalHandle down to the receiving MediaPipelines right from
   the start. It hasn't been necessary in the past as initially the principal
   handed to a track's constructor is trusted, but it's good form and will help
   clarify the situation for the next patch which switches the initial
   principal from always-private to mostly-non-private. In most cases this
   principal does no longer get updated after the track's been created, so it
   helps to have a PrincipalHandle that matches the track's principal.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 05:11:06 +00:00
Andreas Pehrson 8fc4484f5a Bug 1212237 - Use MediaRecorder to test peerIdentity track isolation. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D48945

--HG--
extra : moz-landing-system : lando
2019-11-06 05:11:08 +00:00
Andreas Pehrson 8efadc1da8 Bug 1212237 - Add mochitest to test that freshly received tracks are not isolated. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D48944

--HG--
extra : moz-landing-system : lando
2019-11-06 13:03:42 +00:00
Christoph Kerschbaumer 28d322dce6 Bug 1593321: Ignore XFO on channels that will be redirected. r=jkt,dragana
Differential Revision: https://phabricator.services.mozilla.com/D51988

--HG--
extra : moz-landing-system : lando
2019-11-06 12:53:46 +00:00
Emilio Cobos Álvarez 7cc5a6c96c Bug 1593366 - Check default prevented status in nsListControlFrame::KeyDown. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D51982

--HG--
extra : moz-landing-system : lando
2019-11-06 12:53:53 +00:00
Sid Vishnoi 6023989158 Bug 1575144 - Update Geolocation implementation to match latest spec r=baku,marcosc
The Geolocation API specification renamed the following interfaces and removed the [NoInterfaceObject] annotation so that these types are now exposed to script:
* Coordinates -> GeolocationCoordinates
* Position -> GeolocationPosition
* PositionError -> GeolocationPositionError

This is done in response to an effort to remove the [NoInterfaceObject]
annotation from WebIDL.

Additionally, the following interfaces are now only exposed in Secure Contexts:
* GeolocationCoordinates
* GeolocationPosition

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

--HG--
rename : dom/geolocation/PositionError.cpp => dom/geolocation/GeolocationPositionError.cpp
rename : dom/geolocation/PositionError.h => dom/geolocation/GeolocationPositionError.h
rename : dom/webidl/Coordinates.webidl => dom/webidl/GeolocationCoordinates.webidl
rename : dom/webidl/Position.webidl => dom/webidl/GeolocationPosition.webidl
rename : dom/webidl/PositionError.webidl => dom/webidl/GeolocationPositionError.webidl
extra : moz-landing-system : lando
2019-11-06 12:35:42 +00:00
sotaro e008ba8ab4 Bug 1593929 - Make invalidate_rendered_frame triggers force redraw r=nical
Invalidate_rendered_frame expects full rendering in next WR rendering. Then when invalidate_rendered_frame is requested, we need to request force redraw. Otherwise, SwapChain might skip present call during partial present.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 09:00:37 +00:00
Andrew Osmond 7243a387ca Bug 1575258 - Make text rasterize, render and snap glyphs consistently. r=lsalzman
The glyph pixel space in which we rasterized glyphs differed from how we
rendered the rasterized glyphs in the shader. They need to be in
agreement because the glyph subpixel offset selected during
rasterization depends on it. This patch should make the paths consistent
with each other.

Additionally, during animations, we now snap the reference frame
relative offset ignoring the impact of any animated transforms. This
helps with minimizing glyph wiggling during the transition.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 12:17:43 +00:00
Emilio Cobos Álvarez a5506dd31a 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-06 12:17:26 +00:00
Emilio Cobos Álvarez cb1585dec5 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-06 12:10:34 +00:00
Nihanth Subramanya 81f1026a17 Bug 1592616 - Tracking milestones: set the update interval to 0 before testing the section in the panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D51981

--HG--
extra : moz-landing-system : lando
2019-11-06 12:13:13 +00:00