gecko-dev/dom/media
Dan Minor 052a7764f8 Bug 1319489 - Allow DOMMediaStream constructor to accept a nullptr for aWindow; r=jesup
For testing purposes, it is useful to pass a null aWindow to the DOMMediaStream
constructor. This limits the amount of code that needs to be mocked to create
a mock media stream.

MozReview-Commit-ID: Jgm1m7N0FU4

--HG--
extra : rebase_source : 90ab0157bd0d75cb53190bf4a5d388971a6fdd1b
2017-06-21 12:51:33 -04:00
..
android Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
benchmark
bridge
eme Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
encoder Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
flac Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
fmp4 Bug 1374774: P4. Correct H264 telemetry reporting. r=gerald 2017-06-22 14:52:07 +02:00
gmp Bug 1375708 - Use base::Time() instead of time(0) in WidevineDecryptor::GetCurrentWallTime(). r=gerald 2017-06-23 16:02:14 +12:00
gmp-plugin Bug 1342822 - Backed out changeset 70bc7d4e8512 (bug 1338924). r=gerald 2017-02-27 13:58:27 +13:00
gmp-plugin-openh264 Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
gtest Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
hls Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
imagecapture Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
ipc Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
mediasink Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
mediasource Bug 1376227. P5 - merge CreateResource() and Load() for they are highly coupled. r=gerald 2017-06-23 15:39:57 +08:00
mp3 Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
ogg Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
platforms Bug 1374774: P1. Move H264 methods into H264 code. r=gerald 2017-06-22 14:36:11 +02:00
systemservices Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
test Bug 1373975 - Modify the testcase to meet spec. if a cue.endTime is equal to playbacktime, the cue is not an activeCue. r=rillian 2017-06-23 09:36:20 +08:00
tests Bug 1373858 - Disable dom/media/tests/mochitest/test_peerConnection_stats.html for Android failures, r=jmaher. 2017-06-21 04:57:01 -07:00
wave Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
webaudio Bug 1375387 - Reorder and section-ify GeckoProfiler.h. r=mstange. 2017-06-22 14:28:47 +10:00
webm Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
webrtc Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
webspeech Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
webvtt Bug 1360718 - Render the webvtt cues when hiding the control bar. r=alwu 2017-05-09 17:49:42 +08:00
ADTSDecoder.cpp Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
ADTSDecoder.h Bug 1374930. P3 - move Clone() down to ChannelMediaDecoder for clone is possible only for those use channel-based resource. r=cpearce 2017-06-20 18:10:27 +08:00
ADTSDemuxer.cpp Bug 1363618: Only parse blob starting with ADTS marker. r=kamidphish 2017-05-11 11:43:06 +02:00
ADTSDemuxer.h Bug 1355933: P4. Add ADTS sniffer. r=kamidphish 2017-04-13 02:39:54 +02:00
AbstractMediaDecoder.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
AudioBufferUtils.h
AudioCaptureStream.cpp
AudioCaptureStream.h
AudioChannelFormat.cpp
AudioChannelFormat.h
AudioCompactor.cpp
AudioCompactor.h Bug 1359715 - let functions in MediaData.h take TimeUnit instead of int64_t. r=kaku 2017-04-24 17:33:05 +08:00
AudioConverter.cpp
AudioConverter.h
AudioMixer.h
AudioPacketizer.h
AudioSampleFormat.h
AudioSegment.cpp
AudioSegment.h
AudioStream.cpp Bug 1365225 - Prevent overflow. r=jwwang 2017-05-24 09:22:42 -04:00
AudioStream.h
AudioStreamTrack.cpp
AudioStreamTrack.h
AudioTrack.cpp
AudioTrack.h
AudioTrackList.cpp
AudioTrackList.h
Benchmark.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Benchmark.h Bug 1374596: P7. Fix includes as per coding style. r=padenot 2017-06-20 17:56:55 +02:00
BufferMediaResource.h Bug 1369322 - MediaResource::ShouldCacheReads to indicate usefulness of caching - r=cpearce 2017-06-02 14:27:17 +12:00
CanvasCaptureMediaStream.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
CanvasCaptureMediaStream.h
ChannelMediaDecoder.cpp Bug 1376227. P5 - merge CreateResource() and Load() for they are highly coupled. r=gerald 2017-06-23 15:39:57 +08:00
ChannelMediaDecoder.h Bug 1376227. P5 - merge CreateResource() and Load() for they are highly coupled. r=gerald 2017-06-23 15:39:57 +08:00
CubebUtils.cpp Bug 1375398 - Unbreak build without Gecko Profiler after bug 1374389. r=jya 2017-06-22 07:50:52 +00:00
CubebUtils.h
DOMMediaStream.cpp Bug 1319489 - Allow DOMMediaStream constructor to accept a nullptr for aWindow; r=jesup 2017-06-21 12:51:33 -04:00
DOMMediaStream.h
DecoderDoctorDiagnostics.cpp Bug 1357297 - Restrict media decode issues that show user notification - r=jwwang 2017-04-19 09:42:45 +12:00
DecoderDoctorDiagnostics.h Bug 1343161 - DecoderDoctorDiagnostics::StoreDecodeError/Warning - r=jya 2017-02-21 14:07:23 +11:00
DecoderTraits.cpp Bug 1374930. P1 - add ChannelMediaDecoder to be the base class which uses channel-based MediaResource. r=cpearce 2017-06-19 15:50:09 +08:00
DecoderTraits.h Bug 1374930. P1 - add ChannelMediaDecoder to be the base class which uses channel-based MediaResource. r=cpearce 2017-06-19 15:50:09 +08:00
EncodedBufferCache.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
EncodedBufferCache.h
FileBlockCache.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
FileBlockCache.h Bug 1371882 - MediaBlockCacheBase::Init may be called again to re-initialize cache - r=cpearce 2017-06-15 15:55:39 +12:00
FrameStatistics.h
GetUserMediaRequest.cpp
GetUserMediaRequest.h
GraphDriver.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
GraphDriver.h Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce) 2017-06-12 20:20:08 -07:00
IdpSandbox.jsm
Intervals.h Bug 1354090: P2. Add operator+(val). r=gerald 2017-04-07 11:31:00 +02:00
Latency.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Latency.h
MediaBlockCacheBase.h Bug 1371882 - MediaBlockCacheBase::Init may be called again to re-initialize cache - r=cpearce 2017-06-15 15:55:39 +12:00
MediaCache.cpp Bug 1374441 - Backed out bug 1374173 (MediaCacheStream Seek&Read refactoring) - r=jwwang 2017-06-23 13:18:07 +12:00
MediaCache.h Bug 1374441 - Backed out bug 1374173 (MediaCacheStream Seek&Read refactoring) - r=jwwang 2017-06-23 13:18:07 +12:00
MediaContainerType.cpp
MediaContainerType.h
MediaData.cpp Backed out changeset c79b6d337d04 (bug 1223270) 2017-06-20 09:41:39 +02:00
MediaData.h Backed out changeset c79b6d337d04 (bug 1223270) 2017-06-20 09:41:39 +02:00
MediaDataDemuxer.h Bug 1343437 - MediaDataDemuxer::InitPromise resolve-value is now a MediaResult - r=jya 2017-02-28 16:24:57 +11:00
MediaDecoder.cpp Bug 1376227. P3 - move Load() down the class hierarchy. r=gerald 2017-06-23 14:12:41 +08:00
MediaDecoder.h Bug 1376227. P3 - move Load() down the class hierarchy. r=gerald 2017-06-23 14:12:41 +08:00
MediaDecoderOwner.h Bug 1344357 P1 - move the MediaDecoder::mSeekDOMPromise to HTMLMediaElement; r=jwwang 2017-04-17 18:25:26 +08:00
MediaDecoderReader.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaDecoderReader.h Bug 1371188 P2 - remove MediaDecoderReader::RequestVideoData()'s aSkipToNextKeyframe parameter; r=jya 2017-06-12 16:06:11 +08:00
MediaDecoderReaderWrapper.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaDecoderReaderWrapper.h Bug 1374138 - Let MediaDecoderReaderWrapper::RequestVideoData() have a const media::TimeUnit& parameter; r=jya 2017-06-19 10:45:55 +08:00
MediaDecoderStateMachine.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaDecoderStateMachine.h Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaDeviceInfo.cpp
MediaDeviceInfo.h
MediaDevices.cpp
MediaDevices.h
MediaEventSource.h Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaFormatReader.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaFormatReader.h Bug 1371188 P2 - remove MediaDecoderReader::RequestVideoData()'s aSkipToNextKeyframe parameter; r=jya 2017-06-12 16:06:11 +08:00
MediaInfo.cpp Bug 1343152 - Move TrackTypeToStr(TrackInfo::TrackType) to MediaInfo.h/cpp - r=jya 2017-02-27 17:15:36 +11:00
MediaInfo.h Bug 1355745 - Change the type of TrackInfo::mMediaTime to TimeUnit. r=jya 2017-04-12 16:53:09 +08:00
MediaMIMETypes.cpp
MediaMIMETypes.h Backed out 4 changesets (bug 1345756) for failures in test_SeekToLastFrame_mp4.html a=backout 2017-03-09 11:06:41 -08:00
MediaManager.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaManager.h Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaMetadataManager.h
MediaPrefs.cpp
MediaPrefs.h Bug 1370175 - enable rust mp4 parser on other platforms and fallback to stagefright if rust parser fails. r=kinetik 2017-06-14 11:29:10 +08:00
MediaQueue.h Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku 2017-04-14 17:13:36 +08:00
MediaRecorder.cpp Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
MediaRecorder.h
MediaResource.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaResource.h Bug 1374180 - MediaResourceIndex won't use ReadFromCache, to keep MediaCache more consistent - r=cpearce 2017-06-21 11:35:00 +12:00
MediaResourceCallback.h Bug 1373595. P1 - merge MediaResourceCallback::NotifyDataArrived and NotifyBytesDownloaded. r=gerald 2017-06-16 18:35:12 +08:00
MediaResult.h Bug 1341452 - Write nsresult name in MediaResult::Description() - r=jya 2017-02-21 16:30:44 +11:00
MediaSegment.h Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm 2017-06-14 09:27:17 +08:00
MediaShutdownManager.cpp Bug 1373914. P3 - dump sInitPhase when sInstance is null in Instance() to help debugging. r=gerald 2017-06-19 17:14:06 +08:00
MediaShutdownManager.h Bug 1373914. P2 - remove unused members. r=gerald 2017-06-19 17:10:41 +08:00
MediaStatistics.h
MediaStreamError.cpp
MediaStreamError.h
MediaStreamGraph.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaStreamGraph.h Bug 1374596: P7. Fix includes as per coding style. r=padenot 2017-06-20 17:56:55 +02:00
MediaStreamGraphImpl.h
MediaStreamListener.cpp
MediaStreamListener.h Bug 1374596: P1. Fix MediaStream* headers. r=padenot 2017-06-20 17:18:53 +02:00
MediaStreamTrack.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaStreamTrack.h Bug 1374596: P7. Fix includes as per coding style. r=padenot 2017-06-20 17:56:55 +02:00
MediaStreamTypes.h Bug 1374596: P1. Fix MediaStream* headers. r=padenot 2017-06-20 17:18:53 +02:00
MediaStreamVideoSink.cpp
MediaStreamVideoSink.h
MediaTimer.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
MediaTimer.h Bug 1374596: P7. Fix includes as per coding style. r=padenot 2017-06-20 17:56:55 +02:00
MediaTrack.cpp
MediaTrack.h
MediaTrackList.cpp
MediaTrackList.h
MemoryBlockCache.cpp Bug 1371882 - MemoryBlockCache claims extra buffer capacity if any - r=cpearce 2017-06-15 18:38:52 +12:00
MemoryBlockCache.h Bug 1371882 - MediaBlockCacheBase::Init may be called again to re-initialize cache - r=cpearce 2017-06-15 15:55:39 +12:00
PeerConnection.js Bug 1361139 - pt 1 - remove mozSelectSsrc Chrome-only API for test-related ssrc filtering. r=qdot 2017-05-05 16:52:33 -05:00
PeerConnection.manifest
PeerConnectionIdp.jsm
PrincipalChangeObserver.h
QueueObject.cpp
QueueObject.h
RTCStatsReport.jsm Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug 2017-04-26 04:27:13 -07:00
SeekJob.cpp
SeekJob.h Bug 1367701 P1 - add a virtual Transit() method and remove SeekJob:mTransition; r=jwwang 2017-05-25 15:09:10 +08:00
SeekTarget.h Bug 1366362: P1. Fix style. r=gerald 2017-05-22 09:33:18 +02:00
SelfRef.h
SharedBuffer.h
SimpleImageBuffer.cpp
SimpleImageBuffer.h
StreamTracks.cpp
StreamTracks.h
TextTrack.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
TextTrack.h Bug 1334112 - part1: Add IsLoaded functions for TextTrack, TextTrackList, TextTrackManager. r=rillian 2017-02-20 15:27:06 +08:00
TextTrackCue.cpp Bug 1344604 - part2: Return empty DocumentFragment if the ConvertCueToDOMTree() return null. r=alwu 2017-03-16 15:25:56 +08:00
TextTrackCue.h
TextTrackCueList.cpp Bug 1368489 - Fixing TimeMarchesOn step 13, sort the tasks by "text track cue order". r=rillian. 2017-06-13 09:52:27 +08:00
TextTrackCueList.h Bug 1368489 - Fixing TimeMarchesOn step 13, sort the tasks by "text track cue order". r=rillian. 2017-06-13 09:52:27 +08:00
TextTrackList.cpp Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
TextTrackList.h Bug 1368489 - Fixing TimeMarchesOn step 13, sort the tasks by "text track cue order". r=rillian. 2017-06-13 09:52:27 +08:00
TextTrackRegion.cpp
TextTrackRegion.h
ThreadPoolCOMListener.cpp
ThreadPoolCOMListener.h Bug 1370192: P1. Remove usage of DirectShowDecoder. r=cpearce 2017-06-05 12:59:46 +02:00
TimeUnits.h Bug 1357983 - remove media::Microseconds. r=gerald 2017-04-17 14:34:36 +08:00
TrackUnionStream.cpp Bug 1332845 - Remove direct listeners before ending track in TrackUnionStream. r=jesup 2017-04-07 17:35:26 +02:00
TrackUnionStream.h
VideoFrameContainer.cpp Bug 1366640 - add a telemetry probe to debug main thread hang in VideoFrameContainer. r=cpearce,francois 2017-05-19 12:37:37 +08:00
VideoFrameContainer.h Bug 1343458 - Label runnables in dom/media/VideoFrameContainer.cpp. r=cpearce 2017-03-01 14:49:37 +08:00
VideoLimits.h Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald 2017-05-01 16:12:27 +12:00
VideoPlaybackQuality.cpp
VideoPlaybackQuality.h
VideoSegment.cpp Bug 1348381 - Handle VideoFrame::CreateBlackImage returning nullptr. r=jesup 2017-04-28 13:58:22 +02:00
VideoSegment.h
VideoStreamTrack.cpp
VideoStreamTrack.h
VideoTrack.cpp
VideoTrack.h
VideoTrackList.cpp
VideoTrackList.h
VideoUtils.cpp Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj. 2017-06-20 19:19:52 +10:00
VideoUtils.h Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
VorbisUtils.h
WebMSample.h
WebVTTListener.cpp
WebVTTListener.h
XiphExtradata.cpp
XiphExtradata.h
moz.build Bug 1374930. P1 - add ChannelMediaDecoder to be the base class which uses channel-based MediaResource. r=cpearce 2017-06-19 15:50:09 +08:00
nsIDOMNavigatorUserMedia.idl
nsIDocumentActivity.h
nsIMediaManager.idl