87326 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
9067a09c0a Bug 1470568: Remove the rid= and pt= stuff from our simulcast parsing. Also, handle paused rids correctly. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D47658

--HG--
extra : moz-landing-system : lando
2019-10-02 20:20:07 +00:00
Olli Pettay
7770e575a0 Bug 1585606 - Make EventStateManager::GenerateDragGesture a tad more readable and rename FlushPendingEvents to hint what it actually does, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D47889

--HG--
extra : moz-landing-system : lando
2019-10-03 11:26:39 +00:00
Simon Giesecke
840f75da74 Bug 1168606 - Replaced custom for loops by range-based for or STL algorithms. r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D44988

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:57 +00:00
Simon Giesecke
cd0b6f05a1 Bug 1168606 - Use const where easily possible. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43631

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:45 +00:00
Simon Giesecke
16d87d7487 Bug 1168606 - Avoid copying keys on cursor creation. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43470

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:32 +00:00
Perry Jiang
5b28c5606d Bug 1581187 - only shutdown remote Service Workers on browser shutdown r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48044

--HG--
extra : moz-landing-system : lando
2019-10-03 09:58:46 +00:00
Tom Tung
9f89b08062 Bug 1577311 - Close the stream if there is a failure during the creation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47118

--HG--
extra : moz-landing-system : lando
2019-10-02 07:58:10 +00:00
Matthew Gregan
802e12a38b Bug 1585843 - Don't try to reject disconnected promise in AudioSink::Errored. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D48002

--HG--
extra : moz-landing-system : lando
2019-10-03 07:32:29 +00:00
Tim Nguyen
016c4ccd5b Bug 1514926 - Followup: remove now unused arrowscrollbox check from MayNeedToLoadXBLBinding. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48023

--HG--
extra : moz-landing-system : lando
2019-10-03 04:49:15 +00:00
Emilio Cobos Álvarez
c863ef674b Bug 1585819 - Somewhat dubiously appease the hazard analysis. r=bustage
It was complaining about

  "unrooted '<returnvalue>' of type 'JSObject*' live across GC call at dom/base/Element.cpp:588"

Where the GC call is:

Function '_ZN7mozilla3dom7Element10WrapObjectEP9JSContextN2JS6HandleIP8JSObjectEE$JSObject* mozilla::dom::Element::WrapObject(JSContext*, JS::Handle<JSObject*>)' has unrooted '<returnvalue>' of type 'JSObject*' live across GC call '_ZN6RefPtrI12nsXBLBindingED1Ev$RefPtr<T>::~RefPtr() [with T = nsXBLBinding]' at dom/base/Element.cpp:588
    Element.cpp:588: Assign(64,65, return := __temp_29**)
    Element.cpp:588: Call(65,66, binding.~__dt_comp ()) [[GC call]]
    Element.cpp:588: Call(66,67, principal.~__dt_comp ())
    Element.cpp:588: Call(67,68, uri.~__dt_comp ())
    Element.cpp:588: Call(68,69, style.~__dt_comp ())
    Element.cpp:588: Call(69,70, obj.~__dt_comp ())
    Element.cpp:589:  [[end of function]]
GC Function: _ZN6RefPtrI12nsXBLBindingED1Ev$RefPtr<T>::~RefPtr() [with T = nsXBLBinding]
    RefPtr<T>::~RefPtr() [with T = nsXBLBinding] [[base_dtor]]
    static void RefPtr<T>::ConstRemovingRefPtrTraits<U>::Release(U*) [with U = nsXBLBinding; T = nsXBLBinding]
    static void mozilla::RefPtrTraits<U>::Release(U*) [with U = nsXBLBinding]
    uint32 nsXBLBinding::Release()
    uint64 nsCycleCollectingAutoRefCnt::decr(void*, nsCycleCollectionParticipant*, uint8*) [with void (* suspect)(void*, nsCycleCollectionParticipant*, nsCycleCollectingAutoRefCnt*, bool*) = NS_CycleCollectorSuspect3; uintptr_t = long unsigned int]
    NS_CycleCollectorSuspect3
    nsCycleCollector.cpp:void SuspectAfterShutdown(void*, nsCycleCollectionParticipant*, nsCycleCollectingAutoRefCnt*, uint8*)
    nsCycleCollectionParticipant.DeleteCycleCollectable
    void nsIContent::cycleCollection::DeleteCycleCollectable(void*)
    nsIContent.DeleteCycleCollectable
    unresolved nsIContent.DeleteCycleCollectable

I don't think the analysis is right since the Rooted<> thing will go out of the
scope after the RefPtr.

MANUAL PUSH: Bustage fix for broken (I think) analysis
2019-10-03 06:38:22 +02:00
Emilio Cobos Álvarez
d4d8e98bd6 Bug 1585819 - Restrict loading XBL bindings from WrapObject to the little amount of XUL elements that remain with bindings. r=bzbarsky
People keep shooting themselves in the feet because of this codepath and writing
slow code.

There are just a few elements with bindings left, so just check those.

Also simplify a bit the code. The XUL element + tagname check should be pretty
fast now, and ComputedStyle objects no longer keep weak pointers to pres
contexts and such, so can be safely kept on a RefPtr across an style flush.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 02:31:16 +00:00
Emilio Cobos Álvarez
c09aa065ce Bug 1585818 - Don't check for <html:object> or <html:embed> in MayNeedXBLBinding. r=bzbarsky
They no longer load bindings since quite a while ago.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 02:34:30 +00:00
Dorel Luca
46491fb5f0 Backed out changeset 62b78793d12e (bug 1583867) for WPT failures in webrtc/RTCRtpReceiver-getSynchronizationSources.https.html 2019-10-03 02:43:28 +03:00
Nico Grunbaum
6722b1c2c1 Bug 1583867 - add rtpTimestamp field to RTP sync/contrib sources; r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D47096

--HG--
extra : moz-landing-system : lando
2019-10-02 21:55:33 +00:00
Sebastian Streich
1aa0b1244d Bug 1583871 Refactor ThirdpartyUtil.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47099

--HG--
extra : moz-landing-system : lando
2019-10-02 15:10:40 +00:00
Jon Coppeard
54bb6cf850 Bug 1585697 - Refactor nsJSContext::EndCycleCollectionCallback to split out telemetry and logging code into CycleCollectorStats methods r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D47922

--HG--
extra : moz-landing-system : lando
2019-10-02 17:19:24 +00:00
Jon Coppeard
0485aa7053 Bug 1585697 - Move forget skippable stats into CycleCollectorStats class r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D47920

--HG--
extra : moz-landing-system : lando
2019-10-02 17:19:09 +00:00
Jon Coppeard
53ac617cd2 Bug 1585697 - Make CycleCollectorStats instance static for consistency with other globals r=mccr8
I'm not sure what if there's a preference either way, but all the other globals in nsJSEnvironement.cpp are static so I made the CycleCollectorStats global static too.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 17:19:00 +00:00
Jon Coppeard
acce9ba546 Bug 1585697 - Move CycleCollectorStats definition to the top of the file r=mccr8
This needs to be defined before FireForgetSkippable for the subsequnt patches.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 17:18:44 +00:00
Dzmitry Malyshau
b91906eeac Bug 1581710 - Update WebGPU IDL bindings r=jgilbert,bzbarsky
This mostly updates the bindings to the current state.
No actual logic backing them yet.

*Note*: the IDL does *not* need to be checked for matching the upstream spec precisely at this stage. The upstream is evolving, we just need to update in order to start integrating the implementation. What needs to be checked is - how C++ represents the IDL, esp with regards to derived classes, events, and hierarchies.

The trickiest points, arguably, are:
  - WebGPU -> GPU prefix change
  - the goop for interfaces that are not final

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

--HG--
rename : dom/webgpu/InputState.cpp => dom/webgpu/DeviceLostInfo.cpp
rename : dom/webgpu/Fence.h => dom/webgpu/DeviceLostInfo.h
rename : dom/webgpu/BlendState.cpp => dom/webgpu/OutOfMemoryError.cpp
rename : dom/webgpu/LogEntry.h => dom/webgpu/OutOfMemoryError.h
rename : dom/webgpu/BindGroup.h => dom/webgpu/ProgrammablePassEncoder.cpp
rename : dom/webgpu/BlendState.cpp => dom/webgpu/RenderBundle.cpp
rename : dom/webgpu/BlendState.h => dom/webgpu/RenderBundle.h
rename : dom/webgpu/AttachmentState.cpp => dom/webgpu/ValidationError.cpp
rename : dom/webgpu/AttachmentState.h => dom/webgpu/ValidationError.h
extra : moz-landing-system : lando
2019-10-02 16:46:03 +00:00
Boris Zbarsky
232603d16a Bug 1584009 part 2. Move some WebRTC dictionaries back into the file they should have lived in originally. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47196

--HG--
extra : moz-landing-system : lando
2019-10-02 14:26:37 +00:00
Boris Zbarsky
a1e9012980 Bug 1584009 part 1. Loosen up the check for dictionary-containing-union-containing-dictionary. r=peterv
Since unions can now end up a in binding header, it's only a problem when the
two dictionaries are in one header and the union is in a different one.  If all
three are in the same header, for example, there is no issue.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 14:16:34 +00:00
Gurzau Raul
1a47fa0d8f Backed out 2 changesets (bug 1584009) for build bustages at MediaTrackConstraints.h on a CLOSED TREE.
Backed out changeset 1693187dbddf (bug 1584009)
Backed out changeset 0932a7fdb46b (bug 1584009)
2019-10-02 17:12:33 +03:00
Boris Zbarsky
07bb8857ba Bug 1584009 part 2. Move some WebRTC dictionaries back into the file they should have lived in originally. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D47196

--HG--
extra : moz-landing-system : lando
2019-10-01 22:40:32 +00:00
Boris Zbarsky
860640c3fc Bug 1584009 part 1. Loosen up the check for dictionary-containing-union-containing-dictionary. r=peterv
Since unions can now end up a in binding header, it's only a problem when the
two dictionaries are in one header and the union is in a different one.  If all
three are in the same header, for example, there is no issue.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 13:10:34 +00:00
Andrew Swan
ad1e134202 Bug 1580816 Part 2: Expose document.l10n to privileged extensions r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45665

--HG--
extra : moz-landing-system : lando
2019-09-28 19:42:10 +00:00
Byron Campen [:bwc]
d17eabb595 Bug 1581898: Add test-case that moves payload type 101 to the front. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D46829

--HG--
extra : moz-landing-system : lando
2019-10-02 07:58:22 +00:00
Paul Adenot
841322b2c4 Bug 1584523 - Add tracing statements to AudioStream.cpp to diagnose real-time safety issues. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D47431

--HG--
extra : moz-landing-system : lando
2019-10-02 12:16:24 +00:00
Paul Adenot
bc71a97b2f Bug 1584522 - Change the audio callback trace logger to be more ergonomic. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D47430

--HG--
extra : moz-landing-system : lando
2019-10-02 12:16:22 +00:00
Sebastian Streich
e73c676976 Bug 1585297- Use Principal->SchemeIs in nsGeolocation.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47750

--HG--
extra : moz-landing-system : lando
2019-10-01 12:54:56 +00:00
Bogdan Tara
e2c099719a Backed out changeset daecd36223c9 (bug 1584007) for ClientManagerService.cpp failures CLOSED TREE 2019-10-02 14:36:27 +03:00
Tom Tung
6a0e551480 Bug 1584986 - P3 - Correct the function in the test to fix the try failure; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47747

--HG--
extra : moz-landing-system : lando
2019-10-02 07:57:53 +00:00
Tom Tung
c0f0ba97a7 Bug 1584986 - P2 - Rename listInitializedOrigins to listOrigins; r=asuth,johannh
Differential Revision: https://phabricator.services.mozilla.com/D47741

--HG--
rename : dom/quota/test/unit/test_listInitializedOrigins.js => dom/quota/test/unit/test_listOrigins.js
extra : moz-landing-system : lando
2019-10-02 07:57:52 +00:00
Tom Tung
1acaad7116 Bug 1584986 - P1 - Remove the early return for listInitializedOrigins; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47740

--HG--
extra : moz-landing-system : lando
2019-10-02 07:57:57 +00:00
Jonathan Kingston
e7760ef29c Bug 1585604 - Remove telemetry for mixed object subrequst counting. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47888

--HG--
extra : moz-landing-system : lando
2019-10-02 11:17:28 +00:00
Tom Tung
3058858e69 Bug 1581067 - P6 - Change the test due to P5; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47874

--HG--
extra : moz-landing-system : lando
2019-10-02 10:38:55 +00:00
Tom Tung
9e63838884 Bug 1581067 - P5 - Only remove the temporary body files & body directories when it's in the initializing stage; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47770

--HG--
extra : moz-landing-system : lando
2019-10-02 10:38:55 +00:00
Tom Tung
30f7de3114 Bug 1581067 - P4 - Add a test to verify the result; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47452

--HG--
extra : moz-landing-system : lando
2019-10-01 13:08:15 +00:00
Tom Tung
f77e1ddedb Bug 1581067 - P3 - Suppress the error reuslt for open stream; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47451

--HG--
extra : moz-landing-system : lando
2019-09-30 21:13:11 +00:00
Andreas Pehrson
1bdb34c6ec Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug
This renames the following (in alphabetical order, non-exhaustive):

AudioCaptureStream -> AudioCaptureTrack
AudioNodeStream -> AudioNodeTrack
AudioNodeExternalInputStream -> AudioNodeExternalInputTrack
DirectMediaStreamTrackListener -> DirectMediaTrackListener
MediaStream -> MediaTrack
  - Note that there's also dom::MediaTrack. Namespaces differentiate them.
MediaStreamGraph -> MediaTrackGraph
MediaStreamTrackListener -> MediaTrackListener
MSG -> MTG (in comments)
ProcessedMediaStream -> ProcessedMediaTrack
SharedDummyStream -> SharedDummyTrack
SourceMediaStream -> SourceMediaTrack
StreamTime -> TrackTime
TrackUnionStream -> ForwardedInputTrack
  - Because this no longer takes a union of anything, but only a single track
    as input.

Other minor classes, members and comments have been updated to reflect these
name changes.

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

--HG--
rename : dom/media/AudioCaptureStream.cpp => dom/media/AudioCaptureTrack.cpp
rename : dom/media/AudioCaptureStream.h => dom/media/AudioCaptureTrack.h
rename : dom/media/TrackUnionStream.cpp => dom/media/ForwardedInputTrack.cpp
rename : dom/media/TrackUnionStream.h => dom/media/ForwardedInputTrack.h
rename : dom/media/MediaStreamGraph.cpp => dom/media/MediaTrackGraph.cpp
rename : dom/media/MediaStreamGraph.h => dom/media/MediaTrackGraph.h
rename : dom/media/MediaStreamGraphImpl.h => dom/media/MediaTrackGraphImpl.h
rename : dom/media/MediaStreamListener.cpp => dom/media/MediaTrackListener.cpp
rename : dom/media/MediaStreamListener.h => dom/media/MediaTrackListener.h
rename : dom/media/webaudio/AudioNodeExternalInputStream.cpp => dom/media/webaudio/AudioNodeExternalInputTrack.cpp
rename : dom/media/webaudio/AudioNodeExternalInputStream.h => dom/media/webaudio/AudioNodeExternalInputTrack.h
rename : dom/media/webaudio/AudioNodeStream.cpp => dom/media/webaudio/AudioNodeTrack.cpp
rename : dom/media/webaudio/AudioNodeStream.h => dom/media/webaudio/AudioNodeTrack.h
extra : moz-landing-system : lando
2019-10-02 10:23:02 +00:00
Andreas Pehrson
0ef0cab288 Bug 1454998 - Remove AudioNodeStream::SampleRate(). r=karlt
AudioNodeStream is a subclass of MediaStream, which now exposes a
public const mSampleRate member.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:22:55 +00:00
Andreas Pehrson
8028758d0e Bug 1454998 - Remove the notion of streams from MediaStreamGraph. r=padenot,karlt
This change mainly removes the `mTracks` member from MediaStream and moves all
associated members up a level, so that a MediaStream in practice represents a
single track.

Classes will be renamed in a future patch to reflect this.

Other changes include:

The new `mEnded` member of MediaStream changes meaning to only become true when
all data in the stream has been processed. It stems from
StreamTracks::Track::mEnded which used to become true as soon as the last bit of
data had been added to a track, and there could still be data in the track that
would get processed in future iterations. We are moving towards not having any
future data in tracks, which is why this change is ok to make -- keeping the old
behavior will soon not make sense.

TrackUnionStream is changed to no longer take a list of streams as input and
forward the union of their tracks to itself. Instead it's limited to having one
track as input at a time.

The autofinishing functionality that TrackUnionStream had before has been
transformed into an autoending functionality to allow it to defer ending until
its been told that it's ok to end through the control API. This lets a single
TrackUnionStream span the lifetime of multiple inputs, which will be useful for
making DecodedStream spec compliant with HTMLMediaElement::CaptureStream(), and
for implementing the currently discussed MediaRecorder::ReplaceTrack(), to name
a few potential use cases.

AudioNodeStreams used to only have a track (and thus an AudioSegment) if the
EXTERNAL_OUTPUT flag was enabled on them. With all MediaStreams now representing
a track, AudioNodeStreams inherently have an AudioSegment as a member. It is
however only used with data if the EXTERNAL_OUTPUT flag is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:22:53 +00:00
Andreas Pehrson
b65bd286d2 Bug 1454998 - Remove calls to SetStreamOrderDirty() after affecting MediaStreams' finished state. r=karlt
The stream order does not depend on streams' finished state, so these calls are
unnecessary.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:22:51 +00:00
Andreas Pehrson
a639f42a0e Bug 1454998 - Remove track blocking from MediaInputPort. r=karlt
This functionality is not used since we moved to only having a single track per
MediaStream (bug 1493613).

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:22:49 +00:00
Andreas Pehrson
3b58432d88 Bug 1454998 - Break out PrincipalHandle into its own file. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D46764

--HG--
rename : dom/media/MediaSegment.h => dom/media/PrincipalHandle.h
extra : moz-landing-system : lando
2019-10-02 10:22:48 +00:00
Andreas Pehrson
9ed4e1aa58 Bug 1454998 - Move TrackInfo::mTrackId away from TrackID as they're independent. r=karlt
TrackID has been used to denote tracks that are part of MediaStreams in the
MediaStreamGraph. The TrackInfo::mTrackId IDs are no longer used in the
MediaStream APIs and as such it's not necessary that they have the type TrackID.

This patch changes TrackInfo::mTrackId to be of type uint32_t instead, as that
is the type of Mp4parseTrackInfo::track_id, which is assigned to
TrackInfo::mTrackId as the sole remaining non-static user.

Other users set a static trackId of `1` or `2`, and as such remain supported by
this change.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:22:46 +00:00
Perry Jiang
4a333d538b Bug 1584007 - avoid race in ClientManagerService::FindSource r=asuth
This patch introduces the concept of a "future ClientSource" to the
ClientManagerService. A "future ClientSource" is registered/removed
from the ClientManagerService by
ClientManager::{Register,Forget}FutureClientSource and is required
when a ClientInfo is initially created without a backing ClientSource.

As a result, the ClientManagerService can distinguish between a
ClientSourceParent* that has yet to register itself with the
ClientManagerService and a ClientSourceParent* that has already
both registered and removed itself from the ClientManagerService.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:13:26 +00:00
John Dai
c6d5ba5ba0 Bug 1575980 - Implement StaticRange constructor; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D47793

--HG--
extra : moz-landing-system : lando
2019-10-01 17:51:32 +00:00
Gurzau Raul
40dae37e00 Backed out 7 changesets (bug 1454998) for build bustages at MediaTrackGraph.h on a CLOSED TREE.
Backed out changeset 80417bdfa721 (bug 1454998)
Backed out changeset 8ff03f2f4ca2 (bug 1454998)
Backed out changeset ae6056b748d1 (bug 1454998)
Backed out changeset ab721cb2066b (bug 1454998)
Backed out changeset d0e8d413cd1c (bug 1454998)
Backed out changeset 3ce4dc7e9ae2 (bug 1454998)
Backed out changeset 6105a4176729 (bug 1454998)

--HG--
rename : dom/media/AudioCaptureTrack.cpp => dom/media/AudioCaptureStream.cpp
rename : dom/media/AudioCaptureTrack.h => dom/media/AudioCaptureStream.h
rename : dom/media/MediaTrackGraph.cpp => dom/media/MediaStreamGraph.cpp
rename : dom/media/MediaTrackGraph.h => dom/media/MediaStreamGraph.h
rename : dom/media/MediaTrackGraphImpl.h => dom/media/MediaStreamGraphImpl.h
rename : dom/media/MediaTrackListener.cpp => dom/media/MediaStreamListener.cpp
rename : dom/media/MediaTrackListener.h => dom/media/MediaStreamListener.h
rename : dom/media/ForwardedInputTrack.cpp => dom/media/TrackUnionStream.cpp
rename : dom/media/ForwardedInputTrack.h => dom/media/TrackUnionStream.h
rename : dom/media/webaudio/AudioNodeExternalInputTrack.cpp => dom/media/webaudio/AudioNodeExternalInputStream.cpp
rename : dom/media/webaudio/AudioNodeExternalInputTrack.h => dom/media/webaudio/AudioNodeExternalInputStream.h
rename : dom/media/webaudio/AudioNodeTrack.cpp => dom/media/webaudio/AudioNodeStream.cpp
rename : dom/media/webaudio/AudioNodeTrack.h => dom/media/webaudio/AudioNodeStream.h
2019-10-02 11:46:23 +03:00
Andreas Pehrson
36d89d91c8 Bug 1454998 - Rename streams to tracks. r=padenot,karlt,smaug
This renames the following (in alphabetical order, non-exhaustive):

AudioCaptureStream -> AudioCaptureTrack
AudioNodeStream -> AudioNodeTrack
AudioNodeExternalInputStream -> AudioNodeExternalInputTrack
DirectMediaStreamTrackListener -> DirectMediaTrackListener
MediaStream -> MediaTrack
  - Note that there's also dom::MediaTrack. Namespaces differentiate them.
MediaStreamGraph -> MediaTrackGraph
MediaStreamTrackListener -> MediaTrackListener
MSG -> MTG (in comments)
ProcessedMediaStream -> ProcessedMediaTrack
SharedDummyStream -> SharedDummyTrack
SourceMediaStream -> SourceMediaTrack
StreamTime -> TrackTime
TrackUnionStream -> ForwardedInputTrack
  - Because this no longer takes a union of anything, but only a single track
    as input.

Other minor classes, members and comments have been updated to reflect these
name changes.

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

--HG--
rename : dom/media/AudioCaptureStream.cpp => dom/media/AudioCaptureTrack.cpp
rename : dom/media/AudioCaptureStream.h => dom/media/AudioCaptureTrack.h
rename : dom/media/TrackUnionStream.cpp => dom/media/ForwardedInputTrack.cpp
rename : dom/media/TrackUnionStream.h => dom/media/ForwardedInputTrack.h
rename : dom/media/MediaStreamGraph.cpp => dom/media/MediaTrackGraph.cpp
rename : dom/media/MediaStreamGraph.h => dom/media/MediaTrackGraph.h
rename : dom/media/MediaStreamGraphImpl.h => dom/media/MediaTrackGraphImpl.h
rename : dom/media/MediaStreamListener.cpp => dom/media/MediaTrackListener.cpp
rename : dom/media/MediaStreamListener.h => dom/media/MediaTrackListener.h
rename : dom/media/webaudio/AudioNodeExternalInputStream.cpp => dom/media/webaudio/AudioNodeExternalInputTrack.cpp
rename : dom/media/webaudio/AudioNodeExternalInputStream.h => dom/media/webaudio/AudioNodeExternalInputTrack.h
rename : dom/media/webaudio/AudioNodeStream.cpp => dom/media/webaudio/AudioNodeTrack.cpp
rename : dom/media/webaudio/AudioNodeStream.h => dom/media/webaudio/AudioNodeTrack.h
extra : moz-landing-system : lando
2019-10-02 08:18:16 +00:00