gecko-dev/dom/media
Gerald Squelart 814db309fc Bug 1329568 - Restrict MediaMIMEType to IsMediaMIMEType-checked strings - r=jya
Use IsMediaMIMEType to refuse MIME types that cannot possibly be media-related.

MozReview-Commit-ID: JXhf1biL4L0

--HG--
extra : rebase_source : 130847e58e0a1b2cb510d7c62b6dea7180bf180a
2017-01-03 22:07:11 +11:00
..
android Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj 2016-12-21 11:43:50 +01:00
benchmark
bridge
directshow Backed out changeset 3cfdc09bf851 (bug 1319992) 2016-12-19 12:38:32 +01:00
eme Bug 1329857 - Remove NS_METHOD and NS_CALLBACK. r=froydnj. 2017-01-10 14:08:43 +11:00
encoder Bug 1322745 - Rewrite VP8TrackEncoder::GetSourceSurface and make it self contained. r=mchiang 2016-12-09 10:46:01 -10:00
flac Bug 1323081: P1. Add native BitReader class. r=gerald 2016-12-14 15:27:48 +11:00
fmp4 Bug 1324183 - Part 1: Remove some Windows Vista and 7 version checks in dom/media/. r=gerald 2016-12-17 16:59:52 -08:00
gmp Bug 1329547 - Remove EME checks for Vista. r=cpearce 2017-01-08 00:56:45 -08:00
gmp-plugin Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku 2016-11-15 13:09:07 +02:00
gmp-plugin-openh264 Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku 2016-11-15 13:09:07 +02:00
gtest Bug 1322964 - MozPromise.Then() taking only one resolve+reject function - r=jwwang 2017-01-03 16:15:14 +11:00
imagecapture Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly 2016-10-04 20:16:28 +02:00
ipc Backed out changeset 94e48b834d82 (bug 1329386) for bustage on a CLOSED TREE. 2017-01-11 21:49:18 -05:00
mediasink Bug 1322679 - call MarkSentToCompositor() when VideoSink::Redraw() processing queued frame. r=jwwang 2016-12-09 19:57:12 +08:00
mediasource Bug 1329561 - MediaContentType is always valid - r=jya 2016-12-01 12:56:11 +11:00
ogg Bug 1322958: Check for null early. r=gerald 2016-12-12 17:28:05 +11:00
platforms Bug 1328038: Refuse to play High 4:4:4 Predictive Profile. r=JamesCheng 2017-01-03 06:58:09 +11:00
standalone Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly 2016-10-04 20:16:28 +02:00
systemservices Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc 2016-12-27 19:41:02 -05:00
test Backed out changeset f69ae549623a (bug 1321198) for being a totally unacceptable thing to have landed on an integration branch 2017-01-11 21:41:57 -08:00
tests Bug 1313155 - Remove dom/settings and related code. r=Ehsan 2016-12-29 11:26:49 -08:00
wave Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
webaudio Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz 2017-01-12 12:23:37 +11:00
webm Bug 1320705: P6. Fix codec mimetypes. r=gerald 2016-12-02 12:23:23 +11:00
webrtc Bug 1329562 - Part 1: Remove WebRTC checks for Vista. r=jesup 2017-01-08 00:18:22 -08:00
webspeech Bug 1318137 - Added charLength to speech synth boundary events. r=m_kato,smaug 2016-11-16 17:22:36 -08:00
webvtt Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout 2016-11-15 10:50:59 -08:00
AbstractMediaDecoder.h Bug 1317822 - Move GMPCrashHelper into its own file. r=gerald 2016-11-16 11:35:36 +13:00
ADTSDecoder.cpp Bug 1195723: [adts] P4. Add extra mimetype for adts/aac. r=kamidphish 2016-08-17 15:25:02 +10:00
ADTSDecoder.h Bug 1195723: [adts] P4. Add extra mimetype for adts/aac. r=kamidphish 2016-08-17 15:25:02 +10:00
ADTSDemuxer.cpp Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
ADTSDemuxer.h Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
AudioBufferUtils.h Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
AudioCaptureStream.cpp Bug 1292917 - Ended tracks should still keep the AudioCaptureStream going. r=padenot 2016-11-02 16:15:56 +01:00
AudioCaptureStream.h
AudioChannelFormat.cpp
AudioChannelFormat.h
AudioCompactor.cpp
AudioCompactor.h Bug 1305826: P2. Ensure the buffer size is of the right size. r=gerald 2016-10-01 18:56:21 +10:00
AudioConverter.cpp
AudioConverter.h Bug 1305826: P1. Fix move constructor. r=gerald 2016-10-01 12:02:46 +10:00
AudioMixer.h
AudioPacketizer.h
AudioSampleFormat.h Bug 1270016: P2. Make the FFVPX PDM work with FLAC. r=kentuckyfriedtakahe 2016-08-02 22:54:26 +10:00
AudioSegment.cpp
AudioSegment.h Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
AudioStream.cpp merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
AudioStream.h Bug 1303083 - Make CubebUtils::PreferredSampleRate handle InitPreferredSampleRate failures. r=padenot 2016-09-18 16:32:22 +12:00
AudioStreamTrack.cpp
AudioStreamTrack.h
AudioTrack.cpp
AudioTrack.h
AudioTrackList.cpp
AudioTrackList.h
Benchmark.cpp Bug 1319277: P2. Bump VP9 benchmark version to force a new run. r=gerald 2016-11-22 17:26:57 +11:00
Benchmark.h Bug 1299072: P4. Return extended failure details to reader. r=gerald 2016-09-10 09:56:53 +10:00
BufferMediaResource.h Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
CanvasCaptureMediaStream.cpp Bug 1301675 - Implement CanvasCaptureTrackSource that allows stopping canvas capture. r=jib 2016-09-12 18:00:14 +02:00
CanvasCaptureMediaStream.h Bug 1301675 - Implement CanvasCaptureTrackSource that allows stopping canvas capture. r=jib 2016-09-12 18:00:14 +02:00
CubebUtils.cpp Bug 1314085 - Change cubeb log level to Error. r=padenot 2016-11-07 12:25:16 +02:00
CubebUtils.h Bug 1301648 - Add a pref to be able to control the AudioCallbackDriver requested latency. r=kinetik 2016-09-09 15:21:50 +02:00
DecoderDoctorDiagnostics.cpp Bug 1324183 - Part 2: Remove MediaUnsupportedBeforeWindowsVista console message. r=gerald 2016-12-17 13:13:11 -08:00
DecoderDoctorDiagnostics.h Bug 1305670 - Fix typo from SetA/VFormatNotSupport to SetA/V NotSupported r=gerald 2016-09-27 17:37:13 +08:00
DecoderTraits.cpp Bug 1329561 - MediaContentType is always valid - r=jya 2016-12-01 12:56:11 +11:00
DecoderTraits.h Bug 1176218 - p3. Add DecoderTraits::CanHandleContentType - r=jya 2016-09-26 16:43:16 +10:00
DOMMediaStream.cpp Bug 1317501 - Don't notify dom objects synchronously from MSG runnables in DOMMediaStream. r=padenot 2016-12-07 08:56:14 +01:00
DOMMediaStream.h Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
EncodedBufferCache.cpp
EncodedBufferCache.h
FileBlockCache.cpp Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj 2016-12-21 11:43:50 +01:00
FileBlockCache.h
FrameStatistics.h Bug 1289668 - Record inter-keyframe statistics - r=kamidphish 2016-07-26 09:36:55 +10:00
GetUserMediaRequest.cpp
GetUserMediaRequest.h
GraphDriver.cpp Bug 1277037 - Make AudioCallbackDriver::StartStream fallible. r=jesup 2017-01-11 11:51:23 -08:00
GraphDriver.h Bug 1277037 - Make AudioCallbackDriver::StartStream fallible. r=jesup 2017-01-11 11:51:23 -08:00
IdpSandbox.jsm Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Intervals.h Bug 1298606: P3. Fix coding style. r=gerald 2016-08-29 16:59:17 +10:00
Latency.cpp Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm. 2016-08-08 12:18:10 +10:00
Latency.h
MediaCache.cpp Bug 1322087. Part 3 - allow MediaResoure::Tell() to be called on the main thread. r=cpearce 2016-12-07 03:22:32 -10:00
MediaCache.h
MediaContentType.cpp Bug 1329568 - MediaExtendedMIMEType - r=jya 2016-12-01 13:05:45 +11:00
MediaContentType.h Bug 1329568 - MediaMIMEType - r=jya 2016-12-01 16:57:31 +11:00
MediaData.cpp Bug 1321076 - New overloaded CreateAndCopy method that takes alpha plane and returns VideoData with SharedRGBImage, in the case of alpha. r=jya 2016-12-21 15:19:46 +13:00
MediaData.h Bug 1321076 - New overloaded CreateAndCopy method that takes alpha plane and returns VideoData with SharedRGBImage, in the case of alpha. r=jya 2016-12-21 15:19:46 +13:00
MediaDataDemuxer.h Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
MediaDecoder.cpp Bug 1328836 - Remove MDSM::DispatchMinimizePrerollUntilPlaybackStarts. r=kaku 2017-01-05 17:59:19 +08:00
MediaDecoder.h Bug 1328836 - Remove MDSM::DispatchMinimizePrerollUntilPlaybackStarts. r=kaku 2017-01-05 17:59:19 +08:00
MediaDecoderOwner.h Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug 2016-09-08 18:06:20 +08:00
MediaDecoderReader.cpp Bug 1313635 part 1 - don't go through MediaDecoderReaderWrapper to set start time; r=jwwang,jya 2016-11-25 16:47:02 +08:00
MediaDecoderReader.h Bug 1324357 - Remove MediaDecoderReader::ForceZeroStartTime(); r=jya 2016-12-21 14:58:38 +08:00
MediaDecoderReaderWrapper.cpp Bug 1325905. Part 2 - move IsWaitForDataSupported() assertions into MediaDecoderReaderWrapper. r=kaku 2016-12-21 17:37:56 +08:00
MediaDecoderReaderWrapper.h Bug 1325905. Part 2 - move IsWaitForDataSupported() assertions into MediaDecoderReaderWrapper. r=kaku 2016-12-21 17:37:56 +08:00
MediaDecoderStateMachine.cpp Bug 1330254. Part 4 - let Handle{Audio,Video}Canceled and Handle{Audio,Video}Waited call Request{Audio,Video}Data instead. r=kikuo 2017-01-09 22:25:20 +08:00
MediaDecoderStateMachine.h Bug 1330254. Part 2 - move NeedToSkipToNextKeyframe() into DecodingState and remove some checks for mState. r=kikuo 2017-01-09 21:39:22 +08:00
MediaDeviceInfo.cpp
MediaDeviceInfo.h
MediaDevices.cpp Bug 1317670 - call MediaManager::RemoveDeviceChangeCallback() in MediaDevices dtor; r=jib 2016-11-21 14:59:51 +08:00
MediaDevices.h Bug 1317670 - call MediaManager::RemoveDeviceChangeCallback() in MediaDevices dtor; r=jib 2016-11-21 14:59:51 +08:00
MediaEventSource.h Bug 1316145 - pass DontAssertDispatchSuccess when dispatching events because it is hard to enforce notification happens before AbstractThread shutdown. r=jya 2016-11-18 17:50:27 +08:00
MediaFormatReader.cpp Bug 1324357 - Remove MediaDecoderReader::ForceZeroStartTime(); r=jya 2016-12-21 14:58:38 +08:00
MediaFormatReader.h Bug 1324357 - Remove MediaDecoderReader::ForceZeroStartTime(); r=jya 2016-12-21 14:58:38 +08:00
MediaInfo.cpp
MediaInfo.h Bug 1316573 - Reset the information in EncryptionInfo to make MediaElement reusable from encrypted content to plain content. r=jya 2017-01-12 11:33:55 +08:00
MediaManager.cpp Bug 1329562 - Part 2: Remove gUM screensharing.allow_on_old_platforms check for XP. r=jesup 2017-01-08 12:12:03 -08:00
MediaManager.h Bug 1317927 - Media caching needs to use origin attributes, r=cpearce, r=jesup 2016-12-07 07:07:09 -10:00
MediaMetadataManager.h
MediaMIMETypes.cpp Bug 1329568 - Restrict MediaMIMEType to IsMediaMIMEType-checked strings - r=jya 2017-01-03 22:07:11 +11:00
MediaMIMETypes.h Bug 1329568 - MediaMIMEType - r=jya 2016-12-01 16:57:31 +11:00
MediaPrefs.cpp
MediaPrefs.h Bug 1299105 - Part 2: Make Part 1 works behind a pref. r=jya 2016-11-29 15:03:14 +08:00
MediaQueue.h Bug 1326330. Part 2 - add assertions and checks. r=JamesCheng 2016-12-23 19:19:04 +08:00
MediaRecorder.cpp Bug 1326311: Avoid races in destroying MediaRecorder sessions - destroy on MainThread r=jib 2017-01-08 22:08:09 -05:00
MediaRecorder.h Bug 1317805, ensure to update MediaRecorder when document's activity state changes, r=bechen 2016-11-18 13:29:13 +02:00
MediaResource.cpp Bug 1322087. Part 3 - allow MediaResoure::Tell() to be called on the main thread. r=cpearce 2016-12-07 03:22:32 -10:00
MediaResource.h Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
MediaResourceCallback.h Bug 1314527 - Remove unused MediaResourceCallback::SetMediaSeekable. r=bechen 2016-11-02 14:29:54 +08:00
MediaResult.h Bug 1303673: P1. Add RESULT_DETAIL convenience macro. r=cpearce 2016-09-20 15:50:31 +10:00
MediaSegment.h Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/media/ r=jya,pehrsons 2016-11-14 23:15:53 +01:00
MediaShutdownManager.cpp Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
MediaShutdownManager.h
MediaStatistics.h
MediaStreamError.cpp
MediaStreamError.h
MediaStreamGraph.cpp Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-21 10:52:50 +01:00
MediaStreamGraph.h Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly 2016-10-04 20:16:28 +02:00
MediaStreamGraphImpl.h Bug 1255737: Move MSG shutdown max-timeout from just only cubeb shutdown to the entire graph r=padenot 2016-10-02 13:51:40 -04:00
MediaStreamListener.cpp Bug 1259788 - Implement disabled track modes for direct track listeners. r=jesup 2016-08-23 18:05:51 +02:00
MediaStreamListener.h Bug 1329568 - Add missing #include in MediaStreamListener.h - r=jya 2016-11-28 09:47:46 +11:00
MediaStreamTrack.cpp Backed out changeset 0593feead369 (bug 1294605) 2016-10-20 20:03:16 +02:00
MediaStreamTrack.h Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj 2016-12-12 09:27:58 -05:00
MediaStreamVideoSink.cpp Backed out changeset b531c8bff6e9 (bug 1201363) for timeout in GTest VP8VideoTrackEncoder.FrameEncode. r=backout 2016-08-03 19:33:55 +02:00
MediaStreamVideoSink.h Backed out changeset b531c8bff6e9 (bug 1201363) for timeout in GTest VP8VideoTrackEncoder.FrameEncode. r=backout 2016-08-03 19:33:55 +02:00
MediaTimer.cpp
MediaTimer.h
MediaTrack.cpp
MediaTrack.h
MediaTrackList.cpp
MediaTrackList.h
moz.build Bug 1329568 - MediaExtendedMIMEType - r=jya 2016-12-01 13:05:45 +11:00
MP3Decoder.cpp
MP3Decoder.h
MP3Demuxer.cpp Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
MP3Demuxer.h Bug 1313497 - Pass TimeUnit by const& in MediaDataDemuxer - r=jya 2016-11-13 15:13:51 +11:00
MP3FrameParser.cpp
MP3FrameParser.h
nsIDocumentActivity.h
nsIDOMNavigatorUserMedia.idl Bug 1284910 - Add scary boolean to mediaDeviceInfo. r=jesup 2016-09-29 15:37:25 -04:00
nsIMediaManager.idl Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
PeerConnection.js merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
PeerConnection.manifest Backed out changeset 50497f2cdd28 (bug 1291715) 2016-10-05 17:03:02 +02:00
PeerConnectionIdp.jsm
PrincipalChangeObserver.h
QueueObject.cpp
QueueObject.h
RTCStatsReport.jsm
SeekJob.cpp Bug 1324335. Part 2 - Make SeekJob::mTarget a Maybe<>. r=gerald 2016-12-19 12:25:14 +08:00
SeekJob.h Bug 1324335. Part 2 - Make SeekJob::mTarget a Maybe<>. r=gerald 2016-12-19 12:25:14 +08:00
SeekTarget.h Bug 1314884. Part 6 - remove SeekTarget::mEventVisibility. r=kaku 2016-11-03 15:34:11 +08:00
SelfRef.h
SharedBuffer.h
SimpleImageBuffer.cpp
SimpleImageBuffer.h
StreamTracks.cpp
StreamTracks.h
TextTrack.cpp Bug 1319486 - Remove the old relation when adding cue to a new TextTrack. r=rillian 2016-11-24 15:30:52 +08:00
TextTrack.h Backed out changeset 5c7dda18ec02 (bug 1285897) 2016-07-21 08:03:10 +02:00
TextTrackCue.cpp Bug 1318479 part 5. Remove nsIDOMNode::AppendChild from TextTrackCue. r=ehsan 2016-11-18 16:38:29 -05:00
TextTrackCue.h Bug 1308868 - Add ignore-initialization-check annotation to mPosition and mLine from TextTrackCue. r=giles 2016-10-18 15:52:54 +03:00
TextTrackCueList.cpp
TextTrackCueList.h
TextTrackList.cpp Bug 1309484 - initialise mPendingTextTrackChange in all constructors of TextTrackList. r=cpearce 2016-10-12 10:40:48 +03:00
TextTrackList.h Bug 1309484 - initialise mPendingTextTrackChange in all constructors of TextTrackList. r=cpearce 2016-10-12 10:40:48 +03:00
TextTrackRegion.cpp
TextTrackRegion.h Bug 1300805 - Remove media.webvtt.enabled pref. r=kinetik,smaug 2016-09-15 14:10:17 -07:00
ThreadPoolCOMListener.cpp
ThreadPoolCOMListener.h
TimeUnits.h
TrackUnionStream.cpp Bug 1322390 - Iterate over a copy of mOwnedDirectListeners when removing them, r=pehrsons 2016-12-08 15:54:46 -10:00
TrackUnionStream.h Bug 1259788 - Add a new disabled mode for MSG tracks. r=jesup 2016-08-15 14:19:42 +02:00
VideoFrameContainer.cpp Bug 1273314 - Fix VideoFrameContainer logging. r=jesup 2016-10-06 11:37:47 +02:00
VideoFrameContainer.h Bug 1299415 - Clear ImageContainer cached resources When VideoSink pause playing r=jwwang 2016-09-04 23:38:43 -07:00
VideoPlaybackQuality.cpp
VideoPlaybackQuality.h Bug 1289668 - VideoPlaybackQuality style - r=kamidphish 2016-07-15 16:48:26 +10:00
VideoSegment.cpp Backed out changeset 4111e388bd90 (bug 1201363) 2016-08-03 19:33:25 +02:00
VideoSegment.h Bug 1273314 - Let mPrincipalHandle decide uniqueness of a VideoFrame. r=jesup 2016-10-06 11:39:50 +02:00
VideoStreamTrack.cpp Backed out changeset 0744bfe6854f (bug 1201363) 2016-08-03 19:33:25 +02:00
VideoStreamTrack.h Backed out changeset 0744bfe6854f (bug 1201363) 2016-08-03 19:33:25 +02:00
VideoTrack.cpp
VideoTrack.h
VideoTrackList.cpp Backed out changeset 0744bfe6854f (bug 1201363) 2016-08-03 19:33:25 +02:00
VideoTrackList.h Backed out changeset 0744bfe6854f (bug 1201363) 2016-08-03 19:33:25 +02:00
VideoUtils.cpp Bug 1320752 - remove mozilla/Function.h; r=gerald 2016-11-28 11:03:53 -05:00
VideoUtils.h Bug 1329568 - Simple IsMediaMIMEType checker for strings - r=jya 2017-01-01 08:46:34 +11:00
VorbisUtils.h
WebMSample.h
WebVTTListener.cpp Merge m-c to autoland, a=merge 2016-09-16 14:35:31 -07:00
WebVTTListener.h Bug 1323942 - fix build error; r=jwwang 2016-12-16 16:19:02 +08:00
XiphExtradata.cpp
XiphExtradata.h