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

707273 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 584ae5d6bb Bug 1631518 - Print hit info as hex, not decimal. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D75143
2020-05-13 19:54:22 +00:00
Imanol Fernandez cee36f038b Bug 1636456 - Implement WebXR idle deadline detection r=kip,daoshengmu,smaug,rbarker
Gecko Idle detection relies heavily on RefreshDriver. GC/CC scheduling, including when to run GC or CC slices, and the length of the slices, is mostly based on idle time. As WebXR isn't using normal RefreshDriver, the content process thinks it's idle and GC and CC get basically up to 50 ms slices.

Not having WebXR idle detection is causing stutter frames during immersive presentation. This patch implements idle deadline hint and sets the correct GC slices budgets during WebXR presentation.

Differential Revision: https://phabricator.services.mozilla.com/D74426
2020-05-13 22:10:27 +00:00
Dan Glastonbury 0f8ebacc34 Bug 1637783 - Relax SetLoadFlags hard assert to soft assert. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D75215
2020-05-13 22:49:01 +00:00
Lee Salzman f2f3dba2d9 Bug 1637152 - fix SWGL's handling of text bg-color blend-mode. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D74807
2020-05-13 22:39:32 +00:00
Daosheng Mu b3c826b17b Bug 1636921 - Calling SetCapacity for a FallibleTArray in XRInputSourceArray. r=sg,kip
Differential Revision: https://phabricator.services.mozilla.com/D74722
2020-05-13 22:13:52 +00:00
Daniel Lu 7b1e9cbfbb Bug 1541511 - Removed unused Image::sub_rect field. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D75109
2020-05-13 22:16:55 +00:00
alwu ef4977969c Bug 1633010 - part8 : rename `MediaSessionController` to `MediaStatusManager` r=chunmin
This patch will do :
- rename `MediaSessionController` to `MediaStatusManager`
- move `MediaStatusManager.*` to the folder under `mediacontrol`
- update the comment for `MediaStatusManager`

The advantage of doing so :
- increase the readability

More details :
We've extended the responsibility of `MediaSessionController` and it now handle a broader concept of media related status, not just media session related. Therefore, renaming it to precisely represent o its responsibility.

Differential Revision: https://phabricator.services.mozilla.com/D73493
2020-05-13 22:09:23 +00:00
alwu 97b23b9267 Bug 1633010 - part7 : rename variables and remove unnecessary spaces r=chunmin
This patch will do :
- rename variables and remove unnecessary spaces

The advantage of doing so :
- increase the readability

Differential Revision: https://phabricator.services.mozilla.com/D73491
2020-05-13 22:08:40 +00:00
alwu 2ae724e750 Bug 1633010 - part6 : use `IMediaController` if we only want to access control related methods r=chunmin
This patch will do :
- create an interface `IMediaController` including only control related methods

The advantage of doing so :
- It's clear to use `IMediaController` as the only surface to control media
- explictly restrict which functions are available which can avoid using control related functions on those situations

Differential Revision: https://phabricator.services.mozilla.com/D73490
2020-05-13 22:08:01 +00:00
alwu af00afa1f0 Bug 1633010 - part5 : extend `IMediaInfoUpdater`. r=chunmin
This patch will do :
- make all functions which are used to update information from the content process become a part of `IMediaInfoUpdater`

The advantage of doing so :
- It's clear to use `IMediaInfoUpdater` as the only surface to update the media related status
- explictly restrict which functions are available which can avoid using control related functions on those situations

Differential Revision: https://phabricator.services.mozilla.com/D73489
2020-05-13 22:07:44 +00:00
alwu 12e184256b Bug 1633010 - part4 : move declared and guessed playback state into `MediaSessionController`. r=chunmin
This patch will do :
- move the logic of determining `actual playback state` to `MediaSessionController`

The advantage of doing so :
- increate the cohesion of `MediaSessionController` because it should be the class to determine the final playback status, not `MediaController`

Differential Revision: https://phabricator.services.mozilla.com/D73488
2020-05-13 21:18:06 +00:00
alwu 329f82761a Bug 1633010 - part3 : move MediaPlaybackStatus to MediaSessionController. r=chunmin
This patch will do :
- move the instance of `MediaPlaybackStatus` to the `MediaSessionController` to allow `MediaSessionController` handle all media related status

The advantage of doing so :
- encapsulate all media related status details to `MediaSessionController` and simplify the code in `MediaController`

Differential Revision: https://phabricator.services.mozilla.com/D73487
2020-05-13 20:58:02 +00:00
alwu 36c6a1d4e9 Bug 1633010 - part2 : create `MediaPlaybackStatus` to handle the tasks of determining playback related status. r=chunmin
This patch will do :
- implement a new class `MediaPlaybackStatus` to handle the detail of modifying different media status counter

The advantage of doing so :
- encapsulate the low level details to the delegate and simplify the code in `MediaController`
- help us maintain separated media status for each different context within a tab
- using `MediaPlaybackStatus` can fix the problem of not `IsAudible()` being able to represent the actual audible state of media controller

Differential Revision: https://phabricator.services.mozilla.com/D73486
2020-05-13 17:05:31 +00:00
alwu 32695cee12 Bug 1633010 - part1 : send context Id as a parameter when updating media playback and audible state. r=bryce,chunmin
This patch will do :
- make `NotifyMediaPlaybackChanged` and `NotifyMediaAudibleChanged` accept one more paramter that indicates where those update come from

The advantage of doing so :
- we would use that to maintain separated media status for each different context in the future patch.

Differential Revision: https://phabricator.services.mozilla.com/D72471
2020-05-13 20:57:23 +00:00
Hiroyuki Ikezoe 36521ffc0f Bug 1332588 - Drop explicit setting of dom.animations.mainthread-synchronization-with-geometric-animations. r=boris
Since we no longer see the "Unexpected UpdateTransformLayer hint" assertion
on those tests.

Differential Revision: https://phabricator.services.mozilla.com/D75052
2020-05-13 21:36:44 +00:00
Hiroyuki Ikezoe dbd218f070 Bug 1332588 - Drop the code to set NS_FRAME_MAY_BE_TRANSFORMED introduced in bug 1524480. r=boris
The right place to set the bit was in
nsIFrame::SetMayHaveTransformAnimations() (i.e. when we call
KeyframeEffect::UpdateEffectSet) for cases where we add transform animations.
on an nsIFrame which has been already initialized.

Depends on D75050

Differential Revision: https://phabricator.services.mozilla.com/D75051
2020-05-13 21:52:16 +00:00
Hiroyuki Ikezoe a6cd6e17ee Bug 1332588 - Drop nsChangeHint_UpdateTransformLayer on the frame that we don't support transform. r=boris
Depends on D75049

Differential Revision: https://phabricator.services.mozilla.com/D75050
2020-05-13 21:52:08 +00:00
Hiroyuki Ikezoe 0d80395dfa Bug 1332588 - Set NS_FRAME_MAY_BE_TRANSFORMED bit in nsIFrame::SetMayHaveTransformAnimation. r=boris
Without this change stacking-context-transform-changing-keyframe.html will fail
with the next change, since we will incorrectly remove
nsChangeHint_UpdateTransformLayer from the target nsIFrame if the frame doesn't
have NS_FRAME_MAY_BE_TRANSFORMED bit.

Differential Revision: https://phabricator.services.mozilla.com/D75049
2020-05-13 21:39:59 +00:00
Jeff Walden b38fe47182 Bug 1636252 - Handle JSAPI-created errors better a few places in EME code. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D74303
2020-05-12 07:58:10 +00:00
Cameron McCormack d56f82ffbf Bug 1609663 - Reflow non-display SVG text that has just been inserted. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D75034
2020-05-13 08:00:23 +00:00
Matt Woodrow 4f25f45f1f Bug 1637487 - Store mixed content security flags as a flags word on Document instead of bools. r=ckerschb
Depends on D75025

Differential Revision: https://phabricator.services.mozilla.com/D75026
2020-05-13 17:50:34 +00:00
Matt Woodrow e20645053d Bug 1637487 - Compute broken flag when we need to use it. r=ckerschb
Depends on D75024

Differential Revision: https://phabricator.services.mozilla.com/D75025
2020-05-13 17:50:01 +00:00
Matt Woodrow 7701a47ec5 Bug 1637487 - Factor out calls to log changes to mixed content security state. r=ckerschb
Depends on D75023

Differential Revision: https://phabricator.services.mozilla.com/D75024
2020-05-13 17:49:41 +00:00
Matt Woodrow c29977cc47 Bug 1637487 - Factor out updating root Document security flags. r=ckerschb
Depends on D75022

Differential Revision: https://phabricator.services.mozilla.com/D75023
2020-05-13 17:49:02 +00:00
Matt Woodrow 4cd51b2599 Bug 1637487 - Factor out setting of the broken security state flags. r=ckerschb
Factor out broken flag clearing

Depends on D75021

Differential Revision: https://phabricator.services.mozilla.com/D75022
2020-05-13 17:48:09 +00:00
Matt Woodrow d724ad70cf Bug 1637487 - Fold the branches for each pref together, since they do the same thing. r=ckerschb
Depends on D75020

Differential Revision: https://phabricator.services.mozilla.com/D75021
2020-05-13 17:47:36 +00:00
Matt Woodrow ebf31467af Bug 1637487 - Flatten the mixed content event runner into the calling code, so it's no longer needed. r=ckerschb
This looks like it was necessary a long time ago, but now just runs the same calls as the calling code, so unnecessarily splits the logic into two.

Depends on D75019

Differential Revision: https://phabricator.services.mozilla.com/D75020
2020-05-13 17:46:44 +00:00
Matt Woodrow fb1d15c15e Bug 1637487 - Refactor calls to OnSecurityChange to all be a single call at the end of ShouldLoad. r=ckerschb
Depends on D75018

Differential Revision: https://phabricator.services.mozilla.com/D75019
2020-05-13 17:46:05 +00:00
Matt Woodrow 6de805897c Bug 1637487 - GetState is infallible, so rely on the result. r=ckerschb
We previously were checking the nsresult inconsistently.

Differential Revision: https://phabricator.services.mozilla.com/D75018
2020-05-13 17:45:52 +00:00
Narcis Beleuzu abc58ec081 Backed out changeset 4123014cf744 (bug 1633101) for Linting failure on runtests.py . CLOSED TREE 2020-05-14 02:14:18 +03:00
egao e29bcc19ec Bug 1633101 - consolidate pulseaudio initialization process on linux and migrate to x64 fontconfig package r=jmaher
Changes:

While the ubuntu1804 migration work was taking place, `pulseaudio` related pieces of code were sprinkled across a wide variety of modules.

Now that things have settled down, remove and streamline `pulseaudio` initialization so that there are less places for this to go wrong.

Differential Revision: https://phabricator.services.mozilla.com/D74809
2020-05-13 21:46:55 +00:00
Bryce Seager van Dyk e6bee7789f Bug 1637753 - Fix check for ChromiumCDMParent in GMPService. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D75199
2020-05-13 21:25:57 +00:00
aditi c910b6b9eb Bug 1636408 - Replaced checks for malloc failures in RLBox ported components to use MOZ_RELEASE_ASSERT instead of MOZ_ASSERT. r=deian,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74902
2020-05-13 20:02:12 +00:00
Tom Schuster ca78549a10 Bug 1637704 - Remove unused bailoutKind parameter from MGuardShape. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D75167
2020-05-13 19:25:27 +00:00
Glenn Watson 99ed67fccb Bug 1635610 - Part 1 - Improve situations where subpixel AA is enabled. r=nical
Previously, any time a text run was encountered that was outside the
detected opaque backdrop of a picture cache, all subpixel AA would
get disabled for that surface.

Recently, we added support for conditional subpixel mode, where a
list of excluded rects can be provided (compositor surfaces) that
require a text run to disable subpixel AA.

This patch extends that, adding an inclusion rect to the conditional
subpixel mode. This allows subpixel AA to be enabled on any text
runs that are within the bounds of the detected opaque backdrop
for a picture cache.

Differential Revision: https://phabricator.services.mozilla.com/D75027
2020-05-13 08:31:02 +00:00
Neil Deakin e11f8b01e0 Bug 1594752, use WindowGlobalParent's documentTitle to update tab titles rather than sending messages and events between processes, r=Gijs
Fix up the browser_tab_label_during_restore.js test to wait for the right number of tab title changes, since the timing of the tab title updating has now changed.

Differential Revision: https://phabricator.services.mozilla.com/D72562
2020-05-13 19:26:10 +00:00
Neil Deakin c0e5a6c003 Bug 1594752, expose WindowGlobalParent's document title attribute to script, and fire a pagetitlechanged event on the frame/browser when it changes, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D72561
2020-05-13 19:25:45 +00:00
Neil Deakin b8f7ac9956 Bug 1591469, move reader mode to use JSWindowActor instead of message managers, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71452
2020-05-13 19:22:20 +00:00
Andrew Osmond 0e6a86ab1c Bug 1625474 - Always show gfx decision log in about:support, even if just the default. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D75095
2020-05-13 17:05:39 +00:00
Edouard Oger 6e8ef040d3 Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D75150
2020-05-13 18:36:56 +00:00
David Teller 9eb843fe55 Bug 1637212 - Simplify actorCreated test;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75076
2020-05-13 18:09:09 +00:00
Matt Woodrow 3a20271225 Bug 1570243 - Support checking IsSecureContext on OOP ancestors. r=kmag,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D73998
2020-05-13 21:52:39 +00:00
Joel Maher 98bdf71728 Bug 1634357 - move convertToBlob tests to backlog (tier-2). r=jgilbert
move convertToBlob tests to backlog (tier-2).

Differential Revision: https://phabricator.services.mozilla.com/D75060
2020-05-13 21:03:59 +00:00
Mike Hommey ea50a36e82 Bug 1637140 - Upgrade hashbrown to 0.7.2. r=emilio
The upgrade of mp4parse pulled some code that previously was eliminated as
dead code in libxul. That code was unfortunately unreproducible as it
was generating a random seed at compile time. This was due to hashbrown
enabling the ahash feature that does that, but that was changed in 0.7.2.

Differential Revision: https://phabricator.services.mozilla.com/D75033
2020-05-13 15:41:13 +00:00
Scott dbf8c7dd0d Bug 1637689 - Await for enableAppmenuButton in init in ToolbarPanelHub.jsm r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D75160
2020-05-13 20:02:30 +00:00
Emilio Cobos Álvarez 7a14870e23 Bug 1636998 - Only suppress auto-style outlines for widgets that paint their own focus indicator. r=jfkthame
Turns out we did have a hook for this already! But it is used to draw or
not inner button styles, so not quite equivalent.

I had to expand the amount of things it applies to because buttons and
such do paint focus indicators in all widgets. This patch could cause
some undesired outlines in some widgets. I hope not (I tried to audit to
the best of my knowledge), but in that case they'd be just more values
to add to the list.

Differential Revision: https://phabricator.services.mozilla.com/D74733
2020-05-13 20:38:26 +00:00
Imanol Fernandez 5f933b0485 Bug 1637380 - Update WebXR input sources before dispatching RAF r=daoshengmu,kip
WebVR and WebXR gamepad pose data is updated after the RAF and not before. This adds a extra frame of latency for the input because JavaScript will not use the latest value.

Differential Revision: https://phabricator.services.mozilla.com/D74924
2020-05-13 20:39:50 +00:00
Brindusan Cristian 1b5de135bc acked out 4 changesets (bug 1632489) for android crashes at test_peerConnection_maxFsConstraint.html. CLOSED TREE
Backed out changeset 22ef19e55421 (bug 1632489)
Backed out changeset 8e0260c41854 (bug 1632489)
Backed out changeset cc52615f7682 (bug 1632489)
Backed out changeset 45ad6b848a8f (bug 1632489)
2020-05-14 00:15:50 +03:00
Brindusan Cristian f6e0d86cb5 Backed out changeset 1c4b489b6aa0 (bug 1309824) for dt failures at browser_tableWidget_basic.js. CLOSED TREE 2020-05-14 00:14:16 +03:00
Narcis Beleuzu 23b4220599 Backed out changeset f5546bfc9604 (bug 1636998) for reftest failures on 1174332-1.html . CLOSED TREE 2020-05-13 23:22:56 +03:00