gecko-dev/dom
Andreas Pehrson 7800d98a51 Bug 1172394 - Refactor how DecodedStream is set up. r=padenot
This patch removes the responsibility of js-facing MediaStreamTracks from the
MediaDecoder stack, and moves the machinery for setting up DecodedStream to
higher order functions like state mirroring and watchables.

OutputStreamManager is completely gone, since it was designed to manage
MediaStreamTracks across multiple output streams for a single decoder,
on main thread. HTMLMediaElement took over its task in the previous patch.

The MediaDecoderStateMachine now has three control points for capturing:
- mOutputCaptured, which, if true, will capture all decoded data into
  mOutputTracks. If this is set, but mOutputTracks is empty, we are still
  waiting for tracks, and DecodedStream will not play any data. When tracks are
  set, a new DecodedStream is created that will play data through
  SourceMediaTracks piped into mOutputTracks.
- mOutputTracks, which is the set of tracks data is captured into, for
  forwarding to all the output tracks the media element is managing. This set of
  tracks is managed by the MediaDecoder owner, and must contain one audio track
  if the decoder is decoding audio, and one video track if the decoder is
  decoding video. It may be empty since output can be captured before metadata
  is loaded, or playback has ended.
- mOutputPrincipal, which is the principal of the decoded data. All data sent
  into SourceMediaTracks is tagged with this principal.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 22:40:07 +00:00
..
abort
animation Bug 1576946 - Remove nsStackFrame platform code. r=mats 2019-11-12 19:50:19 +00:00
audiochannel Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
base Bug 1596391 - Remove Get/SetXBLInsertionPoint. r=smaug 2019-11-14 12:56:44 +00:00
battery Backed out changeset f065877ca676 (bug 1441976) for wpt failures at battery-status/battery-interface-idlharness.https.window.html on a CLOSED TREE 2019-09-27 00:24:29 +03:00
bindings Bug 1595890 part 3. Remove xpc::IsContentXBLCompartment and its various callsites. r=bholley 2019-11-14 05:20:18 +00:00
broadcastchannel Bug 1447586 Disable test_broadcastchannel_close2.html on Android, Linux64 and Mac r=gbrown 2019-10-29 14:07:57 +00:00
browser-element Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod 2019-10-31 08:28:35 +00:00
cache Bug 1591491. Add more use of FakeString::ShareOrDependUpon. r=froydnj 2019-10-28 20:41:59 +00:00
canvas Bug 1593860 - Correct error reporting when createImageBitmap() fails, r=smaug 2019-11-12 17:08:17 +00:00
chrome-webidl Bug 1593487 - tighten up registerWindowActor's handling of nonsensical actor specifications and remove cruft, r=nika,mconley 2019-11-08 11:59:37 +00:00
clients Bug 1583859 - ExecutionReadyPromise should not be exclusive. r=perry 2019-10-23 17:55:38 +00:00
commandhandler Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk 2019-11-08 12:17:57 +00:00
console Bug 1582892. Expose the number of strings in a Web IDL enum in a nice way. r=edgar 2019-10-23 03:54:39 +00:00
credentialmanagement
crypto Bug 1410403 - Use id-ecPublicKey for ECDH key export from WebCrypto r=keeler 2019-11-11 21:25:40 +00:00
debugger
docs Bug 1595048 - move JSWindowActor notes into Fission.rst document, r=mconley 2019-11-08 19:42:02 +00:00
encoding Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal 2019-10-07 21:15:19 +00:00
events Bug 1594874, remove xbl.properties and instances r=zbraniecki 2019-11-11 19:31:08 +00:00
fetch Bug 1593162 - Remove the expired telemetry probes added in bug 1127552; r=edgar 2019-11-01 13:43:15 +00:00
file Bug 1593560 - Make sure IPCBlobInputStream::ReadSegments is always supported, regardless of which inner async stream type gets created. r=baku 2019-11-07 19:02:21 +00:00
filehandle
filesystem Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug 2019-10-21 05:33:33 +00:00
flex Bug 1563163 Part 1: Make Flex::Flex gracefully handle frames without FlexContainerInfo structures. r=mats 2019-08-30 23:16:09 +00:00
gamepad Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
geolocation Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc 2019-11-14 04:18:04 +00:00
grid Bug 1581106 part 3 - [css-grid-2] Implement 'repeat(auto-fill, <line-names>)' in subgridded axis. r=emilio 2019-09-30 17:32:52 +00:00
html Bug 1172394 - Make dom::MediaTrack lifetime spec compliant. r=bryce 2019-11-13 22:40:12 +00:00
imptests Bug 1194860 - Remove dom/imptests; r=jgraham 2019-10-15 08:22:15 +00:00
indexedDB Bug 1593596 - Fix thread-safety issue in destruction of Database. r=ttung,asuth 2019-11-11 10:16:49 +00:00
interfaces Bug 1586144 - Factor dynamic toolbar max height into layout metrics. r=emilio,botond 2019-11-14 06:00:05 +00:00
ipc Bug 1586144 - Factor dynamic toolbar max height into layout metrics. r=emilio,botond 2019-11-14 06:00:05 +00:00
jsurl Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
l10n Bug 1593475 - Ensure FluentDOM does not localize elements in template. r=bgrins 2019-11-06 18:18:14 +00:00
locales Bug 1594874, remove xbl.properties and instances r=zbraniecki 2019-11-11 19:31:08 +00:00
localstorage Bug 1594981 - update Core::DOM* and Core::Storage* bugzilla product and component meta data in moz.build files after reorganization in bug 1594717. r=annevk 2019-11-08 12:17:57 +00:00
manifest Bug 1562642 - add missing license in dom/manifest r=sebastian 2019-11-13 08:26:32 +00:00
mathml Bug 1575870. Remove support for XLink on MathML elements. r=emilio 2019-10-05 21:47:38 +00:00
media Bug 1172394 - Refactor how DecodedStream is set up. r=padenot 2019-11-13 22:40:07 +00:00
messagechannel Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika 2019-09-20 10:18:15 -07:00
midi
network Bug 927610 part 1. Stop using NS_ERROR_TYPE_ERR in UDPSocket. r=smaug 2019-09-24 16:53:44 +00:00
notification Bug 1592959 - Warn about non-user interaction Notification requests. r=Ehsan 2019-11-01 09:55:06 +00:00
offline Bug 1575934 - Create the channels used to download and verify appcache entries with the cookie settings belonging to the document which created the appcache; r=baku 2019-10-15 17:32:54 +00:00
payments Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm 2019-11-01 02:57:20 +00:00
performance Bug 1571219 - Refactor PerformanceMeasure to avoid double-reducing timestamps r=baku 2019-10-23 11:42:10 +00:00
permission Bug 1583142 - Remove third-party "persistent-storage" prompting support r=baku 2019-11-07 14:29:02 +00:00
plugins Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
power Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
presentation Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
prio Bug 1582196 part 4. Get rid of NS_ERROR_RANGE_ERR. r=peterv 2019-09-23 19:14:33 +00:00
promise Bug 1592230 - Remove unused variable 'gIDGenerator' r=edgar 2019-10-29 12:40:15 +00:00
prototype Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky 2019-11-07 00:35:32 +00:00
push Bug 1592699 - Fix test_serviceworker_lifetime.html r=asuth 2019-10-30 17:23:53 +00:00
quota Bug 1592204 - P2 - Ignore the unknown files in repositories; r=janv 2019-11-12 07:52:14 +00:00
reporting Bug 1585119 - Re-enable many more mochitests on Android; r=geckoview-reviewers,snorp 2019-10-18 14:35:20 +00:00
res
script Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku 2019-10-19 04:30:24 +00:00
security Bug 1595762: Make type object loads subject to CSP frame ancestors. r=jkt,annevk 2019-11-13 14:52:55 +00:00
serviceworkers Bug 1595284 - enable document channel for response process selection, r=valentin 2019-11-11 20:26:39 +00:00
simpledb
smil Bug 1587142 - Remove most XBL tests in dom/ r=bzbarsky 2019-10-25 22:38:08 +00:00
storage Bug 1558420 - Part 5: Remove an invalid assertion; r=baku 2019-11-12 15:40:16 +00:00
svg Bug 1593119 - Remove dom/xbl and the MOZ_XBL build option r=bzbarsky 2019-11-07 00:35:32 +00:00
system Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc 2019-11-14 04:18:04 +00:00
tests Bug 1594306 - Rename nsGeo* files to match the WebIDL interfaces r=marcosc 2019-11-14 04:18:04 +00:00
u2f Bug 1577746 - Enable ESLint rule object-shorthand for dom/. r=baku 2019-09-02 11:22:27 +00:00
url Bug 824857: Support IDL stringifier attributes r=bzbarsky 2019-10-23 04:55:54 +00:00
vr Bug 1592713 - Avoid to update VR HMD sensor states when pages are not in the presenting mode. r=kip 2019-10-31 22:10:43 +00:00
webauthn Bug 1582892. Expose the number of strings in a Web IDL enum in a nice way. r=edgar 2019-10-23 03:54:39 +00:00
webbrowserpersist Bug 1591891 - Make the fix for bug 1536468 work with session history in the parent turned off. r=annyG 2019-10-28 09:46:50 +01:00
webgpu Bug 1575008 - WebGPU implementation basis r=baku,bzbarsky 2019-11-14 04:59:56 +00:00
webidl Bug 1575008 - WebGPU implementation basis r=baku,bzbarsky 2019-11-14 04:59:56 +00:00
websocket Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE 2019-11-11 12:11:36 +02:00
workers Bug 1594015: Ensure that threads with odd ProcessNextEvent loops get correct event delays r=froydnj 2019-11-08 21:07:52 +00:00
worklet Bug 1593766 relax assertion to handle case of no CycleCollectedJSContext created r=baku 2019-11-06 12:36:41 +00:00
xhr Bug 1594147 - prevent possible null dereference in MaybeDispatchPrematureAbortEvents, r=smaug 2019-11-08 22:28:07 +00:00
xml Bug 1593222: part 12) Rename "nsNodeUtils.*" to "MutationObservers.*". r=smaug 2019-11-06 09:08:06 +00:00
xslt Bug 1594122 - convert XBL bindings to custom elements in test_bug319374.xhtml r=bzbarsky 2019-11-12 17:28:51 +00:00
xul Bug 1596199 - Devirtualize GetBindingParent. r=bzbarsky 2019-11-13 20:35:15 +00:00
jar.mn
moz.build Bug 1594907 - Fix some duplicate URL segments in firefox-source-docs, r=sylvestre 2019-11-07 23:07:20 +00:00