Commit Graph

678413 Commits

Author SHA1 Message Date
Oana Pop Rus
d107d8f08d Backed out 2 changesets (bug 1593865) for multiple failures on asan_malloc_linux.cc on a CLOSED TREE
Backed out changeset 40de560a7cad (bug 1593865)
Backed out changeset 6fd25e6c3d1a (bug 1593865)
2019-11-06 19:41:34 +02:00
Gijs Kruitbosch
59d5116d73 Bug 1594472 - only replaceState if we're actually changing categories, so as to avoid doing so on initial load, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52033

--HG--
extra : moz-landing-system : lando
2019-11-06 16:51:39 +00:00
Matthew Gaudet
52e5f76b9d 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 23:11:50 +00:00
Vijay Budhram
b9c626a520 Bug 1590231 - Update sync preferences panel to match decouple designs r=fluent-reviewers,markh
Differential Revision: https://phabricator.services.mozilla.com/D50931

--HG--
extra : moz-landing-system : lando
2019-11-06 16:51:03 +00:00
Doug Thayer
668a7ff148 Bug 1590385 - Renew startup cache / script preloader telemetry r=mconley
These will be expiring - they're still relevant though, given recent
work on the startup cache and continued interest in startup perf.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 16:45:07 +00:00
Andrew Osmond
71ab20a0c6 Bug 1594114 - Add SurfaceFormat::OS_RGBA and OS_RGBX to define preferred format. r=jrmuizel
OS_RGBA and OS_RGBX are defined as the preferred surface format for the
platform and architecture, fixed at compile time. Today this will be
initially defined as B8G8R8A8. The future intent is that once all parts
of the system support all configurations, then we can use R8G8B8A8 on
certain platforms (e.g. Android, Linux, Mac) and invert it on big-endian
architectures.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 16:37:53 +00:00
Harry Twyford
e137687e91 Bug 1593959 - Introduce a visual gap between results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D51979

--HG--
extra : moz-landing-system : lando
2019-11-06 16:23:45 +00:00
Emilio Cobos Álvarez
03ff84e8dc Bug 1593865 - Leak shared memory for the lifetime of the process. r=heycam
Seems less gnarly than the alternatives, and we'd only free it until shutdown so
not much worse, actually.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 15:08:40 +00:00
Emilio Cobos Álvarez
2bb4b26089 Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt
The existing code wasn't sound, as CSSOM objects also needed to go away before
the shared memory goes away (as they keep references to them).

This is sound assuming no presence of reference cycles introduced by CSSOM.

We may want to live with this and rely on chrome code not writing cycles like
this with UA stylesheet DOM objects.

We could explicitly drop all potentially-static objects... That seems pretty
error prone though.

Or we could also just leak the shared memory buffer, is there any reason why we
may not want to do that?

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

--HG--
extra : moz-landing-system : lando
2019-11-06 16:17:15 +00:00
Alastor Wu
98ca9fd482 Bug 1592166 - part6 : remove test 'browser_autoplay_policy_iframe_hierarchy.js'. r=jya
This test was created for the initial version of blocking autoplay, where the user activation flag would only be propagated to the same origin frames among the frames tree. It was rewritten once we changed the way of propagating the user activation flag, where we would always propagate the flag from child to parent. Once the parent has been activated, all children frames would be allowed to autoplay.

However, this test has a lots of overlaps with the `test_autoplay_policy_activation.html`, which also test blocking autoplay in the form of a parent and a child frame.

The only two parts, which aren't covered in that test, are (1) activating child frame could also activate parent frame (it's added in patch5) (2) testing more than 2 hierarchies frames, but it's not necessary, because what we care is whether the frame is cross-origin or not, no matter how many hierarchies we have. So the 2 hierarchies tests in `test_autoplay_policy_activation.html` should be enough.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:49:02 +00:00
Alastor Wu
42e315964f Bug 1592166 - part5 : add test case to check that activating child's frame would also activate parent's frame. r=jya
Increase test cases of activating child frame would also activate its parent frame, no matter the child frame is cross-origin or not.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:49:00 +00:00
Alastor Wu
9f6063e401 Bug 1592166 - part4 : add '->' to indicate the result clearly. r=jya
That makes us easily know the result of each test case.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:47:54 +00:00
Alastor Wu
0cb0c8e54f Bug 1592166 - part3 : reduce the 'activated_child' and 'activated_parent' to one descriptor 'activated_from'. r=jya
That makes us clearly know which frame is the activated one.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:47:05 +00:00
Alastor Wu
1db1a4b993 Bug 1592166 - part2 : wrap all necessary infomation to test info. r=jya
In order to reduce the parameters count we send to functions, which can improve readability, we wrap all testing related information to `testInfo`, so that we only need to pass it among different functions.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:46:48 +00:00
Alastor Wu
324c006c0e Bug 1592166 - part1 : always create iframe and explicitly specify which frame autoplay would start from. r=jya
In order to create the flexibility of test cases, I separate the creation of iframe and starting media from iframe, and use `play_from` to indicate which frame is the autoplay starts from.

That allows us to to create a test case which contains an iframe but the media is actually played from the parent frame.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 04:44:24 +00:00
Alastor Wu
ff7ec7ba03 Bug 1593834 - remove unnecessary .orig file r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D51732

--HG--
extra : moz-landing-system : lando
2019-11-06 09:39:38 +00:00
Brian Hackett
0a64c17efd Bug 1594452 - Gathering pause data should be low priority, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D52018

--HG--
extra : moz-landing-system : lando
2019-11-06 15:56:08 +00:00
Gabriele Svelto
96c0bb0ae5 Bug 1593972 - Make the update-breakpad.sh script work with python3 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51802

--HG--
extra : moz-landing-system : lando
2019-11-06 15:56:27 +00:00
Nika Layzell
63cd4eca5f Bug 1594236 - Use real result principal for DocumentChannel process selection, r=mattwoodrow
Currently the logic for process selection extracts a URI from the principal, and
uses that URI to perform process selection. This patch adds a codepath for
passing the result principal through the remote type selection logic and using
it directly.

This should ideally improve the behaviour of URIs with less obvious origins,
such as those which inherit their origin.

Unfortunately, OriginAttributes are still ignored by process selection, due to
some code using the fallback logic which is unaware of OAs. This should be fixed
in the future.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 02:30:38 +00:00
octavian.negru
e03da57b4a Bug 1590035 - Provide browsertime unit test coverage in raptor.py r=igoldan,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D50171

--HG--
extra : moz-landing-system : lando
2019-11-06 15:51:48 +00:00
Kashav Madan
a7396dd033 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-06 15:35:19 +00:00
Kashav Madan
9ee8eab423 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-06 15:35:18 +00:00
Kashav Madan
6a79513ba4 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-06 15:35:18 +00:00
Kashav Madan
1e0fa9099f 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-06 15:35:18 +00:00
Mihai Alexandru Michis
06c1b2f33f Bug 1582610 - Disable test_popup_button.xul and test_popup_attribute.xul for frequent failures on mac debug. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51990

--HG--
extra : moz-landing-system : lando
2019-11-06 15:39:42 +00:00
Andreas Tolfsen
452bd6cbca bug 1549708: remote: implement Page.reload's ignoreCache argument; r=remote-protocol-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D50805

--HG--
extra : moz-landing-system : lando
2019-11-06 15:32:55 +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
Sebastian Hengst
401f1ce710 Merge mozilla-inbound to mozilla-central. a=merge 2019-11-06 14:54:44 +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
Sebastian Hengst
80da66f898 Backed out 5 changesets (bug 1554499) for frequent crashes, at least on OS X (bug 1594381). a=backout
Backed out changeset 3a49bec95338 (bug 1554499)
Backed out changeset c802ab8cc730 (bug 1554499)
Backed out changeset f60fee484460 (bug 1554499)
Backed out changeset a49d1c9e8b14 (bug 1554499)
Backed out changeset 133cddb65f59 (bug 1554499)
2019-11-06 14:29:12 +01: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
Mihai Alexandru Michis
d061ba55ac Backed out changeset 1f116128f81b (bug 1592140) for causing multiple mda2 Android 8.0 failures. CLOSED TREE 2019-11-06 09:37:11 +02:00
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
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