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

81312 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 44acc929a5 Bug 1521964 - Don't suspend the video decoder when cloning a video visually. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D20674

--HG--
extra : moz-landing-system : lando
2019-03-01 22:36:53 +00:00
Mike Conley 59c1141de6 Bug 1521964 - Add privileged HTMLVideoElement.cloneElementVisually WebIDL method. r=jya,Ehsan,smaug
Differential Revision: https://phabricator.services.mozilla.com/D20023

--HG--
extra : moz-landing-system : lando
2019-03-01 22:36:40 +00:00
Mike Conley 38db7d8e61 Bug 1521964 - Allow VideoSink to have a secondary VideoFrameContainer assigned to it. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D20022

--HG--
extra : moz-landing-system : lando
2019-03-01 22:36:33 +00:00
Mike Conley 2272f57c08 Bug 1521964 - Add clone target and source members to HTMLMediaElement and setters on HTMLVideoElement. r=jya,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D20021

--HG--
extra : moz-landing-system : lando
2019-03-01 22:36:17 +00:00
Boris Chiou 192a13d12f Bug 1526850 - Part 4: Add nsCSSPropertyIDSet::IsSubsetOf() for checking the restrictions of some arguments. r=hiro
We restrict the argument (i.e. `nsCSSPropertyIDSet`) of some functions is
the subset of other property set (e.g. transform-like properties), so
add this function for better readability.

Depends on D19629

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:13:07 +00:00
Boris Chiou a47dc39197 Bug 1526850 - Part 3: Use DisplayItemType as the input of AddTransitionsAndAnimationsToLayer. r=hiro
Transform display item may have multiple properties, so it's better to
use display item type as the input.

Also, factor some code out of AddAnimationsForProperty, so we can easier
to extend this for multiple properties.

We will pass a list of layers::Animation to the compositor thread. In
this list, the animations belonging to the same property are grouped together,
so we can easily separate the animations by property and sample the animations
for each property on the compositor thread. (Will do this in Bug 1425837.)

Depends on D19628

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:13:05 +00:00
Boris Chiou 97ae508f2d Bug 1526850 - Part 2: Let FindAnimationsForCompositor take nsCSSPropertyIDSet. r=hiro
We use DisplayItemType as the input of HasAnimationsForCompositor, and
nsCSSPropertyIDSet as the input of GetAnimationsForCompositor.

The caller of HasAnimationsForCompositor just wants to check if there is
any compositor animation for a display item, so we can replace it by the
display item, and get the properties from this display item.

However, the caller of GetAnimationsForCompositor may use a subset of
transform-like properties for getting scale factors, or use all the
transform-like properties for sending all transform animations to the
compositor thread.

Depends on D19630

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:13:03 +00:00
Boris Chiou 55287b9a0b Bug 1526850 - Part 1: Add a function which sets RunningOnCompositor by DisplayItemType. r=hiro
FrameLayerBuilder needs to clear this flag by DisplayItemType, so we add
a new function for it.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 21:13:01 +00:00
Jean-Yves Avenard 38ff00ec95 Bug 1530835 - Set frame duration to 0 when out of order frames are seen. r=bryce
WebM specify that timestamp must be monotonically increasing. Unfortunately, this is not always the case.

WebM doesn't have a concept of frame duration, the duration is calculated as being the delta between the next frame's time and the current one. So non-monotonically increasing timestamps would have caused negative duration.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 18:56:01 +00:00
Felipe Gomes f499de8e11 Bug 827976 - Don't create the hidden window in nsCCUncollectableMarker.cpp if it doesn't exist. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D21074

--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:45 +00:00
Boris Zbarsky a67e8bcc52 Bug 1531623. Fix webidl identifier conflicts involving typedefs to produce saner exceptions. r=qdot
Differential Revision: https://phabricator.services.mozilla.com/D21647

--HG--
extra : moz-landing-system : lando
2019-03-01 20:38:39 +00:00
Bryce Van Dyk 79377d1363 Bug 1504060 - Log instead of asserting that webm samples do not have timestamps > segment druation. r=alwu
We're able to hit this assertion in the wild due to bad muxers. As such, replace
the assert with a log. If a sample has a time stamp > the segment duration, use
that instead of the duration for calculating our next time stamp. Use an
explicit int64_t type in the signature for our next time stamp calculation
as the logging explicitly expects an int64_t (makes it harder to change the
types involved and footgunning by having a wrong formatter in the logs).

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

--HG--
extra : moz-landing-system : lando
2019-03-01 18:20:00 +00:00
Josef Citrine dde7723c68 Bug 1485264 - Removed dom.event.highrestimestamp.enabled pref r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D21580

--HG--
extra : moz-landing-system : lando
2019-03-01 18:49:44 +00:00
John Dai 12e61efb81 Bug 1526406 - Part 2: Add tests for observers on JS Window Actor Protocols. r=nika
Depends on D21364

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

--HG--
extra : moz-landing-system : lando
2019-03-01 18:24:58 +00:00
John Dai 834792ab94 Bug 1526406 - Part 1: Add support for observers to JS Window Actor Protocols. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21364

--HG--
extra : moz-landing-system : lando
2019-03-01 18:24:55 +00:00
Ryan Hunt 12efcac84c Bug 1527960 - Rename 'browser.fission.oopif.attribute' to 'fission.oopif.attribute'. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D21716

--HG--
extra : moz-landing-system : lando
2019-03-01 16:54:39 +00:00
Csoregi Natalia 9d67bf069c Backed out changeset 45c838c4137d (bug 1473469) for various dom/worklet/ failures. CLOSED TREE 2019-03-01 19:39:32 +02:00
Marcos Cáceres fb14c1d8fb Bug 1531605 - css animation events must fire even if an element is disabled. r=smaug
Same as transitions.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 09:00:17 +00:00
Gurzau Raul a218f01445 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-01 15:14:00 +02:00
Gurzau Raul cdf9392948 Merge inbound to mozilla-central. a=merge 2019-03-01 15:01:31 +02:00
Andreas Pehrson 1b78f72fe7 Bug 1473469 - Make MediaStreamGraph run on a single thread with AudioWorklets enabled. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D20828

--HG--
extra : moz-landing-system : lando
2019-03-01 10:11:16 +00:00
Gurzau Raul 6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
Narcis Beleuzu 0c931fcc3d Backed out changeset b6ac1853674e (bug 1528661) for build bustages on GMPChild.cpp . CLOSED TREE 2019-03-01 04:43:56 +02:00
Chris Pearce 56e963918f Bug 1528661 - Pass paths to i686 xul and plugin-container binaries to CDM in host verification paths. r=bryce
On Windows on ARM64 we will run the x86 Widevine DLL in an x86
plugin-container.exe with an x86 xul.dll. We therefore should also pass the
paths to these binaries to the CDM in the host files instead of the aarch64
plugin-container.exe. We should still pass the aarch64 xul.dll to the CDM,
as that's in use by the aarch64 firefox.exe.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 22:34:45 +00:00
Andrea Marchesini f8bd8ea10e Bug 1531263 - Wrong prototype for Compare() function in ServiceWorkerScriptCache, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D21501

--HG--
extra : moz-landing-system : lando
2019-02-28 18:57:46 +00:00
Alex Gaynor f789c68941 Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8
Also contains a small amount of unrelated devirtualization of IPC methods.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 21:20:40 +00:00
Chris Pearce 883206cfcc Bug 1529738 - Add profiler markers for video frames dropped due to slow video decode. r=jya,mstange
Differential Revision: https://phabricator.services.mozilla.com/D20760

--HG--
extra : moz-landing-system : lando
2019-02-28 20:10:17 +00:00
Mike Conley ca728851ca Bug 1530862 - Add an Init() method to HTMLMediaElement to be called right after construction to do any AddRef / Release-ing. r=jya,mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D21400

--HG--
extra : moz-landing-system : lando
2019-02-28 19:02:55 +00:00
Ehsan Akhgari 5acea8e4bf Bug 1529616 - Add an assertion on mBoundFrame right before dereferencing it inside nsTextEditorState::SetSelectionRange in the hopes of convincing Coverity that there are no bugs here to be found; r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D21438

--HG--
extra : moz-landing-system : lando
2019-02-28 18:40:34 +00:00
Jean-Yves Avenard 51e5ab32af Bug 1531500 - Fix HE-AAC with WMF decoder. r=cpearce
The rate changes after decoding the first sample to what was indicated in the container. The code to handle that case was incorrectly removed in bug  1530234

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

--HG--
extra : moz-landing-system : lando
2019-03-01 00:54:32 +00:00
sotaro 5542810b9b Bug 1530579 - Wait that video element becomes visible before loading the test video r=jya
Append a video element to document with loading the test video triggered 'mozentervideosuspend' event. It caused the test failure.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 23:38:20 +00:00
Lee Salzman a330f87601 Bug 1530471 - remove Moz2D/thebes SkiaGL glue r=jrmuizel
Depends on D21052

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

--HG--
extra : moz-landing-system : lando
2019-02-28 14:59:16 +00:00
Lee Salzman f5b37f6034 Bug 1530471 - remove SkiaGL Canvas2D functionality r=jrmuizel
Depends on D21050

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

--HG--
extra : moz-landing-system : lando
2019-02-28 14:58:19 +00:00
Peter Van der Beken f13ee34fd0 Bug 1518202 - Make RemoteObjectProxies add the edge to the native object to the CC. r=bzbarsky
Depends on D15848

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

--HG--
extra : moz-landing-system : lando
2019-02-28 19:34:02 +00:00
Peter Van der Beken 41fde75dc8 Bug 1518202 - Add cross-process proxies for Location. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D15848

--HG--
extra : moz-landing-system : lando
2019-02-28 18:23:15 +00:00
Nika Layzell f68959bc07 Bug 1507991 - Part 3: Serialize nsIPrincipal using PrincipalInfo, r=baku
Depends on D20854

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

--HG--
extra : moz-landing-system : lando
2019-02-28 16:50:31 +00:00
Nika Layzell 516741b393 Bug 1507991 - Part 2: Serialize domain in ContentPrincipalInfo, r=baku
This is needed to maintain full feature parity with the existing
nsIPrincipal serializer while switching to using the PrincipalInfo-based
one.

Depends on D14434

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

--HG--
extra : moz-landing-system : lando
2019-02-28 16:50:28 +00:00
Nika Layzell 3381cba2a1 Bug 1507991 - Part 1: Use IPDLParamTraits for nsIPrincipal, r=mccr8
This is needed to use the IPDLParamTraits implementation for nsIURI which is
used in part 2 of this patch series.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 16:50:21 +00:00
Alphan Chen 6d33e62c06 Bug 1497147 - Rewrite "mapFrameTree" implementation to C++ r=peterv
Get rid of mapFrameTree() implementation

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

--HG--
extra : moz-landing-system : lando
2019-02-28 13:09:54 +00:00
Marcos Cáceres 7efbbb9563 Bug 1530239 - css transition events must fire even if an element is disabled. r=smaug
CSS Transitions were not firing when elements were disabled.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 13:54:59 +00:00
Cosmin Sabou 48fed2590e Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 7b6922917d1ee0d20fd7127648e1fe5e422a1bd9
2019-02-28 16:33:22 +02:00
Jean-Yves Avenard 85e13542f9 Bug 1531286 - Temporarily make an error a strong assertion to determine the root cause of various crashes. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21513

--HG--
extra : moz-landing-system : lando
2019-02-28 11:18:18 +00:00
Jean-Yves Avenard 3a64b72b50 Bug 1531241 - Ignore samples with no duration in buffered range index. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21512

--HG--
extra : moz-landing-system : lando
2019-02-28 11:18:40 +00:00
Cosmin Sabou 00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Tarek Ziadé f79af75337 Bug 1530642 - Added more doc on ProcType and GetProcInfo - r=jesup
Added more docs for type synchronization, and about GetProcInfo

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

--HG--
extra : moz-landing-system : lando
2019-02-28 06:30:05 +00:00
Ciure Andrei 14dcb83669 Backed out changeset 28bc841f06fc (bug 1530862) for failing HTMLMediaElement CLOSED TREE 2019-02-28 07:52:37 +02:00
Mike Conley 55a5944b50 Bug 1530862 - Add an Init() method to HTMLMediaElement to be called right after construction to do any AddRef / Release-ing. r=jya,mccr8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D21400

--HG--
extra : moz-landing-system : lando
2019-02-27 23:40:00 +00:00
Jean-Yves Avenard fc260afed4 Bug 1531201 - Don't assume all frames' time is greater than 0. r=gerald
We now allow frames to have a negative time (so that they can be decoded and trimmed).

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

--HG--
extra : moz-landing-system : lando
2019-02-28 02:34:04 +00:00
Boris Zbarsky 8c2602c9e5 Bug 1520831. Fix handling of Symbol-named properties on objects with named setters. r=qdot
Per spec these should just go directly to the expando object; we were ignoring them instead.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 19:08:32 +00:00
Andrew McCreight 89fa512aad Bug 1531086 - Remove some null checks in Element.h and Attr.cpp. r=qdot
|new| is infallible, so these checks are not needed.

I also modernized the ref pointers in these macros a bit.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 01:37:49 +00:00