Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jean-Yves Avenard
dc75044746
Bug 1229256: P2. Use buffered range to determine next frame availability. r=jwwang
...
To avoid potential regression with some of our tests expecting our old particular behaviour, we only use the buffered range to determine the next frame status if the old method determined that the next frame was unavailable due to the MediaDecodeStateMachine not having decoded the next frame yet.
2015-12-03 12:38:10 +11:00
Robert O'Callahan
6f11ea45c0
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 9SdyuwXVlRD
extra : rebase_source : 7143bc6c346bf1c1259a83321d26a653adb70705
2015-11-17 16:34:28 +13:00
Alastor Wu
026c271021
Bug 1224475 - Start agent after seeking. r=baku
...
--HG--
extra : rebase_source : 70fe070940ffa16cb4638df0f1ec5d62830c9a32
2015-11-23 14:52:28 +08:00
sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Andrea Marchesini
f44bf80ff9
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
2015-11-23 11:35:14 +00:00
Carsten "Tomcat" Book
694a81aba1
Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE
2015-11-23 09:48:56 +01:00
Robert O'Callahan
f537754554
Bug 1223696. Don't destroy VideoFrameContainer when we reach MetadataLoaded without a video track. r=jwwang
...
--HG--
extra : commitid : 1b7GXS454NK
extra : rebase_source : cd2e35e1dc3be39945d00bfd2648f104258955c8
2015-11-17 16:34:28 +13:00
Wes Kocher
30cc866544
Backed out changeset 24c0074052e6 (bug 1224936) for incoming mulet bustage
...
--HG--
extra : commitid : CTB4L0oz2Q5
2015-11-20 17:09:44 -08:00
Andrea Marchesini
78387921a4
Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc
2015-11-21 01:04:24 +00:00
Andrea Marchesini
c1df69ea87
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-21 01:03:20 +00:00
Boris Zbarsky
1fec018fcb
Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv
2015-11-20 16:29:41 -05:00
Jean-Yves Avenard
b4a62f49f9
Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang
2015-11-20 19:43:38 +11:00
JW Wang
666cb757aa
Bug 1221881 - HTMLMediaElement::NetworkError() should clear mDecoder. See bug 1221881 comment 2 for the root cause. r=cpearce.
2015-11-11 15:18:11 +08:00
James Cheng
436307225a
Bug 1224991 - Log format string mismatch the number of parameters. r=cpearce.
2015-11-16 19:11:00 +01:00
Phil Ringnalda
a0dfb7b514
Back out changeset a9ca2bcc8633 (bug 1224936) for Mulet Gij bustage in Player_test.js
...
CLOSED TREE
2015-11-16 19:33:26 -08:00
Andrea Marchesini
96905fb6e8
Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc
2015-11-17 01:28:07 +00:00
JW Wang
c87926273d
Bug 1221009. Part 1 - add a class to forward notifications from MediaResource to MediaDecoder. r=roc.
2015-11-16 07:50:55 +08:00
Chris Pearce
0b254631ce
Bug 1224080 - Ensure attaching MediaKeys before MediaSource doesn't cause load failure. r=gerald
2015-11-14 08:57:52 +13:00
Jean-Yves Avenard
dd6214577c
Bug 1188887: P3. Never throw an exception when seeking. r=jwwang
...
Per spec, no exception can ever be thrown when seeking.
Only leaving cases indicating a failure in one of the component (which other than a second to usec conversion overflow will never happen anyway).
2015-10-28 10:46:01 +11:00
Jean-Yves Avenard
fb6bbafe09
Bug 1188887: P1. Allow seeking when readyState is HAVE_NOTHING. r=jwwang
2015-10-28 10:45:58 +11:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Bobby Holley
5e5b7d3713
Bug 1216308 - Followup for incomplete fix. r=me
2015-10-26 11:22:29 -07:00
Jean-Yves Avenard
4b03031ba2
Bug 1217304: P2. Do not transition to HAVE_ENOUGH_DATA readyState until we do have data. r=jwwang
...
We must have at least a decoded frame available to transition to HAVE_ENOUGH_DATA, as otherwise canplay/canplaythrough will always be fired even if the data was invalid so long that it was small.
2015-10-23 23:34:05 +11:00
Jean-Yves Avenard
38486b8704
Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
...
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Alastor Wu
5a7dd93588
Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc.
...
--HG--
extra : transplant_source : f94M3%13%FA%B1%C3t%94%3B%E29%9A%19%07%FC%F4%3E
2015-10-22 11:37:16 +08:00
Guang-De Lin
5fc8c948b4
Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
...
--HG--
extra : rebase_source : ffacfcb39b567a6cd034b081f4330d88aacb98f4
2015-10-19 14:10:47 +08:00
Carsten "Tomcat" Book
43610824f0
Backed out changeset 780061f96448 (bug 1213154)
...
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini
ca59daf031
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Bobby Holley
3b14342481
Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz
2015-10-19 17:54:46 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book
5207756269
Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures
...
--HG--
extra : rebase_source : 5989b1677b925c6503290637e4c0fd4597d6f4e9
2015-10-16 12:03:40 +02:00
Andrea Marchesini
bc1b4affc1
Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
...
--HG--
extra : rebase_source : c75b227254aa5701eb728afef09a803e2698e600
2015-10-15 05:00:00 +02:00
Andrea Marchesini
d92668f3a0
Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc
2015-10-15 00:59:00 +02:00
JW Wang
5147e1f0af
Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald.
2015-10-15 11:39:45 +08:00
JW Wang
e868f91ff6
Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald.
2015-10-15 11:37:47 +08:00
JW Wang
1cc6677a90
Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik.
2015-10-14 11:46:27 +08:00
Nigel Babu
a2f3106ede
Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE
...
--HG--
extra : amend_source : 2ba50d75927848525041bea8ab3bbf371c72342d
2015-10-14 13:29:03 +05:30
Andrea Marchesini
94c0ba5263
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
extra : histedit_source : 194f9f7d34be735e8359d0e769dd4783d46b304c
2015-10-14 11:32:23 +05:30
Andrea Marchesini
c53e405b13
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Wes Kocher
27c21e540a
Backed out changeset 4f43cdaedec3 (bug 1207546) for webgl-capturestream-test.html failures
...
--HG--
extra : rebase_source : c009c44dd54148ee19769f470987b786e14a8b53
2015-10-01 10:10:47 -07:00
Andrea Marchesini
022d787457
Bug 1207546 - Integrate WebRTC with audio channels, r=roc
...
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-10-01 16:22:25 +03:00
Andreas Pehrson
f8854279f0
Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
...
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 5f0de2f5babfd762ec81ecaf2cf060f93d616326
2015-09-30 09:32:06 +08:00
Andreas Pehrson
eb480b5acd
Bug 1103188 - Break out MediaTrackListListener to an interface. r=roc
...
Other modules than MediaTrackLists may want to receive updates on a
DOMMediaStream's track set. This moves the MediaTrackListListener out of
the MediaTrackList class into DOMMediaStream as a general interface.
The logic for adding MediaTracks to the MediaTrackList when
MediaStreamTracks are added or removed from a DOMMediaStream is moved to
HTMLMediaElement as this fits the model better - HTMLMediaElement is the
owner of the MediaTrackLists.
--HG--
extra : commitid : 3I8mAeBB3oL
extra : rebase_source : 66b8ffcfb5343811c181e4169f295b08494f2ee0
2015-09-30 09:32:06 +08:00
Andreas Pehrson
2415aa80a7
Bug 1170958 - Don't create owned MediaStreamTracks in MetadataLoaded. r=roc
...
When play()ing a media element after it has ended, MediaDecoder will
again call MetadataLoaded(). When capturing the media to a
DOMMediaStream, that will attempt to create new MediaStreamTracks in the
stream with the original TrackIDs. That won't work, since the original
tracks with the same TrackIDs have already ended.
We solve it by only explicitly creating MediaStreamTracks in the stream
in captureStream(), and only if they're already known. Otherwise the
tracks will be created asynchronously when available in the underlying
stream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 3ba4a6fc7cc46a8bedf1799c4c6aa25585361269
2015-09-30 09:31:54 +08:00
Andreas Pehrson
5b79fead9f
Bug 1170958 - Improve logging of MediaStreams and playback. r=roc
...
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 7463915dc8f14e6f9dde2e934e55b9c68d4148d6
2015-09-30 09:31:54 +08:00
Andreas Pehrson
937747498a
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : fba22e96c6c65a74e012509f3da67a4d7df7a244
2015-09-30 09:31:54 +08:00
Andreas Pehrson
2802ee3e88
Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
...
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
--HG--
extra : commitid : GPSNwBVyD4j
extra : rebase_source : 4bed5dffe66b71b7ad23f4c02531d84af25cd316
2015-09-30 09:31:53 +08:00
Wes Kocher
03a1803261
Backed out 9 changesets (bug 1170958) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
...
Backed out changeset 277c1f8098d1 (bug 1170958)
Backed out changeset aa86bb9eea95 (bug 1170958)
Backed out changeset 8af8b85a4b26 (bug 1170958)
Backed out changeset ec1bf225e9cb (bug 1170958)
Backed out changeset 4a04ddca2b6b (bug 1170958)
Backed out changeset e85c9977a311 (bug 1170958)
Backed out changeset 16b40ff04e8f (bug 1170958)
Backed out changeset ad206925c84a (bug 1170958)
Backed out changeset 2106eccec79b (bug 1170958)
2015-09-25 13:08:55 -07:00
Wes Kocher
b4a25c9f58
Backed out 7 changesets (bug 1103188) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
...
Backed out changeset f0f33a8ef14c (bug 1103188)
Backed out changeset dbe0ebdebad5 (bug 1103188)
Backed out changeset bb656022a1a7 (bug 1103188)
Backed out changeset cc6b5f5ba444 (bug 1103188)
Backed out changeset ca97d52bf144 (bug 1103188)
Backed out changeset de8cc967f8eb (bug 1103188)
Backed out changeset 6da8f4905060 (bug 1103188)
2015-09-25 13:08:44 -07:00
Andreas Pehrson
35220b1c7c
Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
...
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson
9d10fc1441
Bug 1103188 - Break out MediaTrackListListener to an interface. r=roc
...
Other modules than MediaTrackLists may want to receive updates on a
DOMMediaStream's track set. This moves the MediaTrackListListener out of
the MediaTrackList class into DOMMediaStream as a general interface.
The logic for adding MediaTracks to the MediaTrackList when
MediaStreamTracks are added or removed from a DOMMediaStream is moved to
HTMLMediaElement as this fits the model better - HTMLMediaElement is the
owner of the MediaTrackLists.
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson
8a2adce7e2
Bug 1170958 - Don't create owned MediaStreamTracks in MetadataLoaded. r=roc
...
When play()ing a media element after it has ended, MediaDecoder will
again call MetadataLoaded(). When capturing the media to a
DOMMediaStream, that will attempt to create new MediaStreamTracks in the
stream with the original TrackIDs. That won't work, since the original
tracks with the same TrackIDs have already ended.
We solve it by only explicitly creating MediaStreamTracks in the stream
in captureStream(), and only if they're already known. Otherwise the
tracks will be created asynchronously when available in the underlying
stream.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
3c0c283fea
Bug 1170958 - Improve logging of MediaStreams and playback. r=roc
...
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
eacfc2cf0e
Bug 1170958 - Refactor DOMMediaStream to contain a 3-stage track chain. r=roc
...
This lets us separate tracks by ownership like so:
* Input - Owned by the producer of the DOMMediaStream (gUM etc.)
* Owned - Contains Input tracks (per above) or tracks cloned tracks
if this DOMMediaStream is a clone.
* Playback - Contains Owned tracks plus tracks addTrack()ed to this
DOMMediaStream minus tracks removeTrack()ed from this
DOMMediaStream.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:18 +08:00
Andreas Pehrson
7aca9eb1fd
Bug 1170958 - Add input stream and track as args to NotifyQueuedTrackChanges. r=roc
...
This allows for tracking the input track of an added track (for
ProcessedMediaStream tracks; SourceMediaStream tracks don't have input
tracks) directly in the NotifyQueuedTrackChanges handler, which will be
necessary for locking MediaInputPorts to specific tracks.
--HG--
extra : commitid : Kvj9RrN9MgP
2015-09-25 23:23:17 +08:00
Nicholas Nethercote
842dd1cf5a
Bug 1207741 - Remove gfxIntSize. r=nical.
...
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.
--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Randall Barker
b1c0d79c4e
Bug 1166961 - Show click to play button on Fennec when autoplay is blocked. r=mfinkle
...
--HG--
extra : rebase_source : c2e78e8c5720e14cdcab1be8f12c92b60055a996
2015-09-16 16:22:00 +02:00
Nicholas Nethercote
f429eae6a5
Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj.
2015-09-10 00:50:51 -07:00
Robert O'Callahan
95ebfe3aa1
Bug 1189506. Don't bother blocking captured media-element MediaStreams while we're not decoding. r=jwwang
...
They should just run in realtime since we're getting rid of blocking.
--HG--
extra : commitid : K0MeENZ5JAa
extra : rebase_source : ed3cd908faa96fd4dab2f178836449774f085d27
2015-09-04 00:46:33 +12:00
Ehsan Akhgari
a4ac3ec0b4
Bug 1199049 - Part 1: Move nsCORSListenerProxy.* to necko; r=jduell
...
--HG--
rename : dom/security/nsCORSListenerProxy.cpp => netwerk/protocol/http/nsCORSListenerProxy.cpp
rename : dom/security/nsCORSListenerProxy.h => netwerk/protocol/http/nsCORSListenerProxy.h
2015-09-12 19:20:52 -04:00
Gerald Squelart
f31596e5a6
Bug 1198435 - Call RemoveMediaElementFromURITable before modifying mLoadingSrc, so that a future LookupMediaElementURITable won't access this element anymore. r=rillian
...
--HG--
extra : rebase_source : 9702e206ed2bfaa0d32449e4f8798348ed307b63
2015-09-10 09:01:44 +02:00
Gerald Squelart
7c02d61a29
Bug 1198435 - MediaElementTableCount now checks that the element is not present for URIs other than the expected one. r=rillian
...
--HG--
extra : rebase_source : 642fee057d7f65a88bfca349b660fe91dccbf4d8
2015-09-10 09:00:15 +02:00
Alastor Wu
fe229da440
Bug 1201969 - pause element only when start playing. r=baku
...
--HG--
extra : transplant_source : %F8%A7%11%0D%F2%E6-%C6%8F%2C%D2%01e.%FE%AC%DF%85%11%FD
2015-09-09 10:41:33 +08:00
Robert O'Callahan
6abd4c751d
Bug 1200099. Stop using a distinct mPlaybackStream to play a media stream through an HTMLMediaElement. r=jwwang
...
--HG--
extra : commitid : 3xsVxxZxINX
extra : rebase_source : 7c51fb071f9f303919ece13ff44d7a9a4cc438a9
2015-08-31 23:33:53 +12:00
Ehsan Akhgari
3586ffc05f
Bug 1200673 - Try to create the audio channel agent in the constructor for AutoNotifyAudioChannelAgent too; r=baku
...
Landed on a CLOSED TREE
2015-09-01 12:10:46 -04:00
Ehsan Akhgari
3bdf742e41
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 20:44:23 -04:00
Ehsan Akhgari
b2e0a0c784
Backout bug 1200208 for build bustage on a CLOSED TREE
2015-08-31 16:49:27 -04:00
Ehsan Akhgari
8809ddec9b
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 16:24:51 -04:00
Ryan VanderMeulen
851115d952
Backed out changeset 6b264cf230a0 (bug 1200208) for Windows bustage.
...
CLOSED TREE
2015-08-31 14:11:58 -04:00
Ehsan Akhgari
1fd49e2d20
Bug 1200208 - Send the audio-playback notification when the page calls HTMLMediaElement::Play() before the metadata has been fully loaded; r=baku
2015-08-31 13:44:55 -04:00
Paul Adenot
d0ba0d8c85
Bug 1190676 - Part 12 - Fix mozCaptureStream. r=pehrsons
...
--HG--
extra : rebase_source : 7c65617a6a668df64672aadcda9269ae15d5d813
2015-08-27 16:13:56 +02:00
Paul Adenot
1d89543d08
Bug 1190676 - Part 9 - Fix consumers: AudioCapture. r=roc
...
--HG--
extra : rebase_source : b099a3682e305c3ebe02600a08b68c9f547991f0
2015-08-25 10:29:51 +02:00
Paul Adenot
25b51c89e7
Bug 1190676 - Part 1 - Use the right MediaStreamGraph when setting a MediaStream as mozSrcStream on an HTMLMediaElement. r=roc
...
--HG--
extra : rebase_source : 450f8351390e0c9461cae90e21c9a1b135e03d67
2015-08-25 10:16:41 +02:00
Andrea Marchesini
813316efe8
Bug 1184292 - Remove some Wakelock warning messages when unlocking. r=smaug
...
CLOSED TREE
2015-08-26 09:21:00 -04:00
Ehsan Akhgari
e5b36bb128
Bug 1188754 - Do not notify the audio channel agent on Firefox OS when the document activity change callback detects that the element is muted by the audio channel; r=baku
2015-08-21 12:29:24 -04:00
Wes Kocher
d8fffe1765
Merge inbound to central, a=merge
2015-08-20 12:42:21 -07:00
Ehsan Akhgari
f9752f535c
Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
...
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Alastor Wu
f66ecbff3f
Bug 1191207 - cancel chrome checking
2015-08-06 14:54:01 +08:00
Karl Tomlinson
6de7f1f2d4
bug 962719 update NextFrameStatus() on finished notification r=roc
...
This provides HAVE_CURRENT_DATA readyState.
--HG--
extra : rebase_source : d18abe878bc97b6165474f58ef550d1936fe2494
2015-08-04 17:43:46 +12:00
Ehsan Akhgari
4db099dbd2
Bug 1191491 - Do not dispatch an audio-playback notification when swapping browsers; r=smaug
...
We send a pagehide event during swapping docshell frame loaders, and
before this patch we would not be able to differentiate this event with
the one that we send when navigating away from a page, so we would
incorrectly dispatch an audio-playback notification indicating that
audio playback has stopped. This patch adds a flag to the root docshell
when the frame loader swapping is in progress and disables the above
behavior when that flag is set.
2015-08-07 12:18:24 -04:00
Ryan VanderMeulen
568c3a360e
Merge b2g-inbound to m-c. a=merge
2015-08-06 15:37:49 -04:00
Ehsan Akhgari
f22dea9a72
Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot
2015-08-06 10:26:27 -04:00
Ehsan Akhgari
41ec611711
Bug 1190040 - Part 1: Do not dispatch media-playback notifications for media elements that do not have an audio track; r=cpearce
2015-08-06 10:25:38 -04:00
Daosheng Mu
c611da3596
Bug 1178725 - Fix create videoFrameContainer crash on B2G desktop. r=roc
2015-08-05 20:02:00 +02:00
Ehsan Akhgari
94250b165e
Backout bug 1190040 for test failures
2015-08-05 01:12:05 -04:00
Ehsan Akhgari
672483ef08
Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce
2015-08-04 20:07:41 -04:00
Ehsan Akhgari
9e8a849881
Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku
2015-08-04 19:38:51 -04:00
Birunthan Mohanathas
7315345693
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
JW Wang
d1c5eb9e63
Bug 1189204 - activate autoplay when playing a media source. r=jya.
2015-08-04 11:17:03 +08:00
Jan-Ivar Bruaroey
f01e4a40fe
Bug 1175523 - Add HTMLMediaElement.srcObject alias to .mozSrcObject. r=roc, r=smaug
...
--HG--
extra : rebase_source : 3fa835114a9157f872bd52e585f5c7c9c84e7e2f
2015-07-14 00:04:14 -04:00
Ehsan Akhgari
03f8195321
Bug 1188095 - Don't pause media elements on 'graphene'; r=baku
...
Note that MOZ_GRAPHENE currently only exists on the larch project branch,
but this is so simple that it seems worth taking.
2015-07-28 08:53:23 -04:00
Randall Barker
40f480f76d
Bug 1178858 - Video would not playback after seek seekbar first if media.autoplay.enabled = false. r=cpearce
...
When autoplay is disabled, the media element was not detecting user
initiated seeking so when a script attempted to play after seeking,
playing would be blocked.
2015-07-24 15:56:00 +02:00
Birunthan Mohanathas
1813cfd1dd
Bug 1186806 - Part 3: Replace nsBaseHashtable::EnumerateRead() with iterators in HTMLMediaElement. r=khuey
2015-07-27 18:45:12 -07:00
Paul Adenot
f7bb3fd5bd
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
2ab300ac7b
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
6187533e7d
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Chris Pearce
e220da3249
Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin
2015-07-27 11:52:19 +12:00
Wes Kocher
83b4188234
Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
...
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot
62ea7fce4b
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
b195db60a7
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
7c02310414
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Carsten "Tomcat" Book
2b73aa4f63
Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
...
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot
27a91916bf
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Paul Adenot
c1a9ba0ab9
Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc
2015-07-24 14:28:17 +02:00
Paul Adenot
bae1e652bf
Bug 1156472 - Part 1 - Allow to capture all HTMLMediaElements and AudioContexts for a document. r=baku,padenot
...
This is built on top of the AudioChannel infrastructure. This patch does not
actually implement the capture, it just does the plumbing to be able to notify
all HTMLMediaElement/AudioContext for a document.
2015-07-09 16:40:08 +02:00
Benjamin Chen
3dc8ab47ea
Bug 1183394 - Remove the assertion message when shutdown. r=jwwang
2015-07-21 18:01:00 +08:00
Andrea Marchesini
5509be2d98
Bug 1185303 - HTMLMediaElement should not be paused when visibility changed and when muted by the AudioChannel policy, r=ehsan
2015-07-22 00:04:57 +01:00
Christoph Kerschbaumer
d794b42650
Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - media element changes (r=sicking,tanvi)
2015-07-19 19:13:28 -07:00
Jean-Yves Avenard
79cb7273cb
Bug 1182444: Show audio as enabled when an audio track is present in stream. r=jesup
2015-07-17 14:50:51 +10:00
Andrea Marchesini
4d18f7a4df
Bug 1183700 - Don't prevent playback of media elements in a muted tab on desktop, r=ehsan
...
--HG--
rename : toolkit/content/tests/browser/browser_mediaPlayback.js => toolkit/content/tests/browser/browser_mediaPlayback_mute.js
rename : toolkit/content/tests/browser/browser_mute.js => toolkit/content/tests/browser/browser_mute2.js
rename : toolkit/content/tests/browser/file_mediaPlayback.html => toolkit/content/tests/browser/file_mediaPlayback2.html
rename : toolkit/content/tests/browser/file_mediaPlaybackFrame.html => toolkit/content/tests/browser/file_mediaPlaybackFrame2.html
2015-07-16 19:34:30 +01:00
Chris Pearce
5a141756bd
Bug 1135013 - Remove unused media-eme-metadataloaded notification. r=gerald
2015-07-14 12:17:10 +12:00
Ehsan Akhgari
59e89cba9d
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-11 13:16:39 -04:00
Andrea Marchesini
24739b108d
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Andrea Marchesini
db14826639
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
c07e36b612
Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
...
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book
b8617ced73
Backed out changeset e11a8496bf63 (bug 1180535)
2015-07-11 14:13:32 +02:00
Carsten "Tomcat" Book
131967cfc8
Backed out changeset 41195fb9f293 (bug 1177259)
2015-07-11 14:13:27 +02:00
Andrea Marchesini
1ccca98929
Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu
2015-07-11 08:24:26 +01:00
Ehsan Akhgari
6834ce768e
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 21:33:00 -04:00
Andrea Marchesini
3050bc370c
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan
f23d866f51
Backed out 8 changesets (bug 1113086) for build bustage
...
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini
bbb0a11f31
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Wes Kocher
19bb4e20b3
Backed out changeset d7e0eb7b42f9 (bug 1180535) for test_video_wakelock.html permafails CLOSED TREE
2015-07-10 15:36:39 -07:00
Ehsan Akhgari
608f045e48
Bug 1180535 - Dispatch the media-playback notification when navigating away from a page that has a media element playing; r=baku
...
When navigating away from a document, we mute the playing media elements
through the NotifyOwnerDocumentActivityChanged() notification.
Sometimes, that function may notify the audio channel agent through its
call to AddRemoveSelfReference() which may call
UpdateAudioChannelPlayingState() and notify the agent, but when we're
navigating away from the page, playingThroughTheAudioChannel will always
be equal to mPlayingThroughTheAudioChannel, which causes us to not
notify the audio channel agent.
This patch fixes this by separating NotifyOwnerDocumentActivityChanged()
from its internal consumers, and forcefully notifying the audio channel
agent when we navigate away.
2015-07-10 15:49:53 -04:00
Chris Pearce
985163cd1a
Bug 1180563 - Add pref to delay play of <video>s until they're visible. r=kinetik
2015-07-09 11:10:16 +12:00
Ehsan Akhgari
c6f415d397
Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
...
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Randall Barker
d87d65937e
Bug 1173844 - Video would not playback after seek seekbar if media.autoplay.enabled = false. r=cpearce
...
--HG--
extra : rebase_source : b2c99d37c266357d4b3eb093c7b167f199bea7b0
2015-06-19 17:12:00 +02:00
Ryan VanderMeulen
c848d2ee9b
Backed out 7 changesets (bug 1113086) for various Gaia test failures.
...
Backed out changeset eb7e79a2c9e9 (bug 1113086)
Backed out changeset 3562a09b2bf3 (bug 1113086)
Backed out changeset 127cde112795 (bug 1113086)
Backed out changeset 84dc903151c1 (bug 1113086)
Backed out changeset 42dc5dbabdcd (bug 1113086)
Backed out changeset e1ad68356a74 (bug 1113086)
Backed out changeset 86b32f5442f2 (bug 1113086)
2015-06-18 13:00:25 -04:00
Andrea Marchesini
39b2fb9a00
Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
...
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-06-18 15:56:58 +01:00
Daosheng Mu
72e5400a5f
Bug 987498 - Part 2 - HTMLMediaElement supports playback OverlayImage. r=roc
2015-06-09 23:22:00 +02:00
Ehsan Akhgari
2a127a2d67
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-16 21:18:08 -04:00
Brian Birtles
c569ddfd86
Bug 1165203 - Make calls to load() upgrade preload=none to preload=metadata; r=cpearce
...
--HG--
extra : commitid : H2xIreNh4Pq
extra : histedit_source : 8ff5e2d2e12b21b8e3f04dc5ab81584b6fc929fc
2015-06-17 09:02:51 +09:00
Wes Kocher
3ae1cac20c
Backed out changeset f46a712edf7e (bug 1147668) for assertion failures in test_access_control.html CLOSED TREE
2015-06-16 14:48:15 -07:00
Ehsan Akhgari
103e06656c
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-16 14:49:58 -04:00
Ehsan Akhgari
aeecf7b38d
Backed out changeset 7210dfe7ad78 (Bug 1147668) for test failure
2015-06-15 23:20:02 -04:00
Ehsan Akhgari
0096b1db1f
Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug
2015-06-15 22:08:06 -04:00
Karl Tomlinson
1dc7bae7b5
bug 1171785 use nsContentUtils::RunInStableState() r=bholley
...
--HG--
extra : rebase_source : a26fc43686810f65631b37539c5622631e2fc001
2015-06-11 14:36:12 +12:00
Bobby Holley
aa6c9ce796
Bug 1160695 - Drop Support for Content-Duration. r=cpearce
2015-06-08 09:22:46 -07:00
Bobby Holley
1893956886
Bug 1160695 - Track "network duration" separately and mirror it to the MDSM. r=jww
2015-06-08 09:21:20 -07:00
Randall Barker
5cecde5f49
Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. r=cpearce
2015-06-05 09:03:00 -04:00
Carsten "Tomcat" Book
3d9b9475f3
Backed out changeset 32aea59e702f (bug 659285) for bustage on a CLOSED TREE
2015-06-05 10:47:09 +02:00
Randall Barker
046a61300c
Bug 659285 - Extend media.autoplay.enabled to provide a way to disable untrusted play() invocations. r=cpearce
...
--HG--
extra : rebase_source : 8c94ff20100c2b2587aed2c5a88c2f91e55cee82
2015-05-26 10:32:00 +02:00
Karl Tomlinson
d195016f96
bug 1116382 no need to check IsMediaSourceURI(mLoadingSrc) once mMediaSource has been set r=bholley
...
--HG--
extra : rebase_source : 77a538826ebbb6b3fe3a130820869c54b13e8bd9
2015-05-28 14:49:23 +12:00
Karl Tomlinson
e35b92c4c7
bug 1116382 use MediaSource from resolution of MediaSource urls when set r=bholley
...
--HG--
extra : rebase_source : 024fbcf2a4236761f3a80f284957f8500fc9d24c
2015-05-28 14:38:34 +12:00
Karl Tomlinson
ae604e7f87
bug 1116382 always ShutdownDecoder() so that MediaSourceDecoder alone can manage MediaSource::Detach() r=bholley
...
--HG--
extra : rebase_source : 8176399d4a17f3018c686bfc55daa27a0aff8dda
2015-05-28 14:23:27 +12:00
Karl Tomlinson
15b0a07fc3
bug 1116382 resolve MediaSource urls on media element src attributes when set r=bholley
...
--HG--
extra : rebase_source : 3c26e47dd554edc7db03b37b6a3c572e9bf54260
2015-05-26 22:36:04 +12:00
Karl Tomlinson
c4cb17e0b1
bug 1116382 reuse some UTF8toUTF16 code r=bholley
...
--HG--
extra : rebase_source : 7d8ee725dcfb1b40ee6d975c0746a8bdff1b5683
2015-05-26 17:41:43 +12:00
Eric Rahm
75c4bebb79
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Edwin Flores
d0bfa9bf80
Bug 1160445 - Add detailed logging for EME promise failures - r=cpearce,bholley
2015-06-03 13:42:50 +12:00
Carsten "Tomcat" Book
5471309381
Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
...
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm
a9afd68cef
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Wes Kocher
4e9f80ed2e
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
f82c0e7caf
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
JW Wang
c387e1df1f
Bug 1163467. Part 3 - move AddOutputStream code below MediaDecoder::Load(). r=roc.
2015-05-28 14:16:29 +08:00
Eric Rahm
3925a960aa
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Jean-Yves Avenard
54a681396b
Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow
2015-05-18 16:15:47 +10:00
Eric Rahm
34f99e4b4c
Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Sotaro Ikeda
1bf44ebad6
Bug 1162639 - Make consistent how to handle MediaStreamURI r=roc
2015-05-08 13:08:23 -07:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Bobby Holley
75cd0709f1
Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww
2015-04-30 21:29:50 -07:00
Bobby Holley
987b0f6994
Bug 1160064 - Explicitly initialize logging at the right time. r=jww
...
The patches in this bug can cause us to log things before some of the Ensure*Log
macros are called. Let's just do this right.
2015-04-30 21:29:42 -07:00
Bobby Holley
7ed6ae7327
Bug 1159558 - Redesign watching to use a manager. r=jww
2015-04-30 12:46:40 -07:00
JW Wang
ab2b51d624
Bug 1159144 - check (-1, -1) for invalid video size. r=jya.
2015-04-29 09:56:03 +08:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Bobby Holley
fbc2c98020
Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww
2015-04-23 11:55:14 -07:00
Bobby Holley
0867953797
Bug 1144486 - Use state watching machinery for mReadyState updates. r=jww
2015-04-22 21:38:11 -07:00
Boris Zbarsky
9cbb1e7539
Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug
2015-04-22 20:30:10 -04:00
Boris Zbarsky
6e3069def0
Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug
2015-04-22 20:30:10 -04:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Jean-Yves Avenard
4623f4873e
Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
...
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Jean-Yves Avenard
a7c51ce020
Bug 1153049: Part1. Merge MediaInfo and mp4_demuxer::TrackConfig. r=cpearce
...
--HG--
extra : rebase_source : 5387f4dbab91f354700361ff14daea33f3b56e2e
2015-04-14 15:15:46 +10:00
Jean-Yves Avenard
6efbf8c631
Bug 1153686: Remove redundant mMediaSize member. r=roc
...
--HG--
extra : rebase_source : ab88f07b315389cbeec2063ac87048021d8ae340
2015-04-14 15:15:46 +10:00
Robert O'Callahan
1524dbeb74
Bug 1149494 - Part 1. Add a listener directly to the unblocked input stream that reports the size of the first non-empty frame seen. r=pehrsons
...
--HG--
extra : rebase_source : 79b92a9726670125cd028355e298e43a200785ab
2015-04-08 17:51:21 +12:00
Gerald Squelart
9c87262f4f
Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce
2015-04-01 03:36:00 -04:00
Alastor Wu
5f4ff6530f
Bug 1107534 - Using audio channels type to capture different stream. r=roc
2015-03-31 10:14:00 +08:00
Chris Double
12fa2513ff
Bug 1148092 - Telemetry for EME playback success/failure - r=cpearce,bsmedberg
2015-03-28 12:49:55 +13:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Chris Pearce
c3edca1d79
Bug 1147226 - Ensure media.eme.mse-only is honoured in HTMLMediaElement::MetadataLoaded(). r=edwin
2015-03-25 15:00:26 +13:00
Chris Double
7b81062b52
Bug 1145004 - Fix MSE Telemetry VIDEO_MSE_BUFFERING_COUNT - r=cpearce
2015-03-25 10:37:37 +13:00
Wes Kocher
14ef0e0f7d
Backed out changeset f3b3547c610a (bug 1144409) for eme test failures CLOSED TREE
...
--HG--
extra : amend_source : 4d2becbe491a36feec46af2b418e124a32f0be87
2015-03-23 16:06:32 -07:00
Wes Kocher
99ed20cdcb
Backed out changeset 6cb38e697216 (bug 1144409)
2015-03-23 16:06:31 -07:00
Gerald Squelart
51b6885024
Bug 1144409 - Encrypted event should be fired once per initData; part 2: future initData. r=cpearce
2015-03-22 23:27:00 -04:00
Gerald Squelart
e9b08e251b
Bug 1144409 - Encrypted event should be fired once per initData; part 1: first initData. r=cpearce
2015-03-22 23:26:00 -04:00
Jean-Yves Avenard
66af51d5a7
Bug 1144980: Don't fire timeupdate event immediately after seeking event. r=karlt
2015-03-23 21:08:00 +11:00
Jean-Yves Avenard
ce6b914b45
Bug 1144509: Part1. Fire timeupdate before seeked event as per spec. r=karlt
2015-03-23 21:03:39 +11:00
Edwin Flores
d3bddb14f8
Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage
2015-03-23 16:44:20 +13:00
Edwin Flores
9a9b42ccdf
Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce
2015-03-23 15:31:15 +13:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Chris Double
1ef0fc9d78
Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg
2015-03-13 15:02:49 +13:00
Alastor Wu
36914534af
Bug 1119936 - Audio from FM Radio or Music app ceases to play when switching between front/back camera. r=roc
2015-03-09 15:41:51 +08:00
Sotaro Ikeda
b3535ec3a6
Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce
2015-03-04 17:33:40 -08:00
Ryan VanderMeulen
0df6e6a284
Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
...
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)
CLOSED TREE
2015-03-04 12:53:06 -05:00
JW Wang
600d021a05
Bug 1138557 - Add null check to mLoadingSrc. r=karlt
...
--HG--
extra : rebase_source : 521a2570029605e7c9e5388feb627ef3a30841a7
2015-03-03 02:14:00 -05:00
Sotaro Ikeda
e311d8a1c2
Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce
2015-03-04 06:37:04 -08:00
Chris Pearce
32709762d8
Bug 1139316 - Add pref to enable EME outside of MSE. r=edwin
2015-03-04 23:07:30 +13:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Andreas Pehrson
9b19093204
Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup
2015-02-09 15:23:34 +08:00
Andreas Pehrson
c39201e0d2
Bug 1129263 - Part 4. Use MediaInfo instead of mHasAudio/Video in media element. r=roc
2015-02-09 14:51:17 +08:00
Edwin Flores
19d0abeb47
Bug 1131392 - Restrict EME to MSE only - r=cpearce
2015-03-03 11:02:36 +13:00
Dhi Aurrahman
3d354b6e25
Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky
2015-02-13 08:27:39 +07:00
Chris Double
3fc47297c7
Bug 1119947 - Add telemetry for MSE video playback - r=cpearce,bsmedberg
...
This adds telemetry to record the state of the video playback
when the user exits. We are interested in knowing if the video
was buffering, paused, seeking, ended or other.
More telemetry will be added in bug 1127646.
2015-02-20 13:46:56 +13:00
Alfredo Yang
7237654e96
Bug 1130920 - don't set preload to none when src is MSE. r=cpearce
2015-02-15 18:38:00 +01:00
JW Wang
b956fb2561
Bug 1130906 - remove HTMLMediaElement.waitingFor for spec. changes. r=cpearce. r=bz.
2015-02-10 11:00:35 +08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
JW Wang
fdb1cf711c
Bug 868866 - only stop delaying the load event when media fetch has stalled is MSE case. r=cpearce
2015-02-01 18:21:00 +01:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Chris Double
e018144486
Bug 1128742 - Prevent pages with MSE content from being stored in bfcache - r=roc
2015-02-04 13:01:59 +13:00
Gijs Kruitbosch
d1ba63acaf
Bug 1127416 - add observer service notification for EME video, r=cpearce
...
--HG--
extra : amend_source : f633a98394075e9cc19044776e10823ad262791b
2015-02-01 15:20:57 +00:00
JW Wang
99e95e2eff
Bug 1127171 - Put mozCaptureStream operations in the same lock. r=roc
2015-01-28 18:57:00 -05:00
Chris Double
068ea7f2a6
Bug 1112424 Part 1 - Add moz specific methods to retrieve debug data to media object IDL - r=bz
...
Bug 1112424 adds an about:media page that gives debug information about HTMLMediaElements
and in particular MediaSource objects that are live inside tabs. This patch adds
methods to the MediaSource and HTMLMediaElement object to return the debug data as a string
that gets displayed directly in the about:media page, inside a <pre> element.
--HG--
extra : rebase_source : d655dc3d30a26846b965ceeda4849745aab7bef5
2015-01-29 15:35:55 +13:00
Edwin Flores
592f17b93a
Bug 1101304 - Handle CORS in EME - r=cpearce
2015-01-29 20:30:38 +13:00
Edwin Flores
28fbe0a0ef
Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz
2015-01-27 19:10:11 +13:00
Tom Schuster
66ad9a2e49
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Andreas Pehrson
e5681a1719
Bug 1124139 - Don't use mPlaybackStream for CameraPreview. r=jesup
...
From db346795ad1a0ae33e7496df893288eb1fbf7699 Mon Sep 17 00:00:00 2001
---
dom/camera/CameraPreviewMediaStream.h | 1 +
dom/html/HTMLMediaElement.cpp | 29 +++++++++++++++++------------
dom/html/HTMLMediaElement.h | 6 +++++-
dom/media/MediaStreamGraph.h | 2 ++
4 files changed, 25 insertions(+), 13 deletions(-)
2015-01-22 09:27:24 +01:00
Andreas Pehrson
13cf9ec465
Bug 992685 - Part 2. Fire resize event when video size changes. r=roc
2014-12-04 02:01:00 +01:00
Sotaro Ikeda
4f96a3066c
Bug 1122228 - Use document's status change to trigger MediaDecoderStateMachine's dormant status change r=cpearce
2015-01-21 20:01:12 -08:00
Byron Campen [:bwc]
d5431fa313
Bug 1122678: Fix behavior of SetMozSrcObject when passed a nullptr. r=derf
2015-01-16 11:19:12 -08:00
Karl Tomlinson
bf16b65e70
bug 1123189 Queue "durationchange" instead of dispatching synchronously r=cpearce
...
http://www.w3.org/TR/2014/REC-html5-20141028/embedded-content-0.html#offsets-into-the-media-resource
"When the length of the media resource changes to a known value (e.g. from
being unknown to known, or from a previously established length to a new
length) the user agent must queue a task to fire a simple event named
durationchange at the media element."
--HG--
extra : rebase_source : 531ed14a241546613cf810cd6bf9b4a8c88d2d9e
extra : histedit_source : 86253e972d1dbb8f95af5167eb7487c1ddf6da14
2015-01-19 17:11:43 +13:00
Carsten "Tomcat" Book
7cb1a027a7
Backed out changeset c4d8cf5b47ef (bug 992685)
2015-01-20 11:21:25 +01:00
Andreas Pehrson
c5d2a30b2c
Bug 992685 - Part 2. Fire resize event when video size changes. r=roc
2014-12-04 02:01:00 +01:00
Andreas Pehrson
6693fcd437
Bug 1073406 - Part 2. Add playback stream as output to mSrcStream for individual media element blocking. r=roc
2014-12-05 00:07:00 +01:00
Boris Zbarsky
830b9562d7
Bug 604496. Inherit the document principal for data: media elements. r=cpearce
2015-01-16 22:47:32 -05:00
Andreas Pehrson
ff9da77c31
Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a
...
From 4c9aef7ec548ee20df2802f5509e457f66c051ef Mon Sep 17 00:00:00 2001
video frame has been stored in the image container. r=roc
---
dom/html/HTMLMediaElement.cpp | 124 +++++++++++++++++++++++------
dom/html/HTMLMediaElement.h | 9 +++
dom/media/test/test_streams_srcObject.html | 2 +
3 files changed, 112 insertions(+), 23 deletions(-)
2014-10-10 11:34:57 +02:00
Carsten "Tomcat" Book
35248aa586
Backed out changeset d9db938747d2 (bug 879717) for M-3 Test failures/timeouts on a CLOSED TREE
2015-01-13 08:48:01 +01:00
Andreas Pehrson
4e646b6ec1
Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=roc
2014-10-10 11:34:57 +02:00
Olli Pettay
6420704d50
Bug 1108721, HTMLMediaElement.textTracks needs to be nullable in Gecko for now, r=peterv
...
--HG--
extra : rebase_source : 8c4b0b13e50a200907f1b4ba923fee4165318ca9
2015-01-12 13:07:38 +02:00
Karl Tomlinson
b10ef2c2b9
Bug 1114885 allow media elements to be GC'd when their MediaSource is unreferenced r=roc
...
--HG--
extra : rebase_source : 0aba4bad8095106ad153508b74f699c6b726d3a1
2014-12-11 16:08:20 +13:00
Karl Tomlinson
644c502ebb
bug 1116676 ensure that AddRemoveSelfReference() is called on networkState changes r=roc
...
Now that mDelayingLoadEvent may already be false when
NoSupportedMediaSourceError() is called, ChangeDelayLoadStatus(false) won't
necessarily call AddRemoveSelfReference().
--HG--
extra : rebase_source : a6314fd453643f7609590d24bc9375b1df63106c
2014-12-31 16:34:56 +13:00
Paul Adenot
5d125aaa27
Bug 937718 - Output frames to the MediaElementAudioSourceNode when an <audio> has labeled the resource has CORS-cross-origin. r=roc
...
--HG--
extra : rebase_source : af3473e372f511640e62b47a86a133f0018c9388
2014-12-17 18:03:34 +01:00
Christoph Kerschbaumer
b39fa64608
Bug 1116624 - Move CORS into dom/security (r=sicking)
...
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Karl Tomlinson
9a24bd047a
bug 975782 stop delaying the load event when media fetch has stalled r=cpearce,f=kinetik
...
--HG--
extra : rebase_source : c26dcd4221ba051ffff417631ae7ad9b7b65995d
2014-12-11 14:51:10 +13:00
Karl Tomlinson
98e1dfd45e
bug 975782 bring media resource loads out of background while they delay the load event r=cpearce
...
This will happen after a stalled load doesn't delay the load event but such a
load then delays the load event again when it receives progress.
--HG--
extra : rebase_source : a04dd7416f86306cfc62aabba20fb30415572d98
2014-12-23 14:16:05 +13:00
Edwin Flores
d7a5f3d750
Bug 1100175 - Call MediaDecoder::SetCDMProxy() after MediaDecoder::Load() - r=cpearce
2014-12-23 15:23:17 +13:00
Ehsan Akhgari
8daffda8e5
Bug 1114349 - Use mozilla::IsNaN() in media code; r=cpearce
2014-12-21 19:16:26 -05:00
Jonathan Hao
4871501fd9
Bug 1111518 - Fix the logic in MediaDecoder::CanPlayThrough(). r=jwwang
2014-12-17 15:05:40 +08:00
JW Wang
9a707fcf22
Bug 1082203 - Route CDMCallbackProxy::Terminated to MediaKeys::Terminated so MediaKeys has a chance to handle CDM crashes and close sessions if necessary. r=cpearce
2014-12-16 20:01:00 -05:00
Benjamin Chen
d9b312b60a
Bug 1095438 - Refine the dormant rules for the MediaElement, take bind/unbind-from-tree and document-hidden into account. r=jwwang
2014-12-15 15:34:28 +08:00
Karl Tomlinson
323baa2777
backout 78bde999fddd from bug 975782 for assertion failure in mochitest CLOSED TREE
...
--HG--
extra : amend_source : 3802b09260b751790211ed5fe8174bf162694e5a
2014-12-10 17:33:46 +13:00
Karl Tomlinson
a8eb079cb4
bug 975782 stop delaying the load event when media fetch has stalled r=cpearce,f=kinetik
...
--HG--
extra : rebase_source : 7e47f1be1b68185377f20c0a8dc5f5f5b70b2938
2014-11-28 18:23:37 +13:00
Karl Tomlinson
d95ab8bc85
bug 1108838 dispatch "stalled" even when no bytes have been received r=cpearce
...
This is important for MediaSource, where there is no initial request to set up
the stall counter by sending an initial progress event.
For sources using ChannelMediaResource, this means that stalled can now fire
before an HTTP response is received.
Also reset stalled timer on transitions to NETWORK_LOADING,
and don't run the progress timer while stalled.
--HG--
extra : rebase_source : cf2cf8a4de37ca4859761941946393e9747c0706
2014-11-28 17:07:15 +13:00
Karl Tomlinson
d21db9fc16
bug 1108838 move stalled/progress timing from MediaDecoder to HTMLMediaElement r=cpearce
...
This provides that mNetworkState is available for determining whether progress
notification from the resource/MediaCache after stalled should resume progress
events. The timer will be stopped while stalled in a subsequent patch, and
should not be restarted unless NETWORK_LOADING.
--HG--
extra : rebase_source : e335555de404f6a899762be3c05b8f5444c357e3
2014-11-28 12:17:18 +13:00
Wes Kocher
126b4f108e
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Andreas Pehrson
2debf3b941
Bug 1103848 - Part 1. Hint existing output streams as tracks become known. r=roc
2014-11-24 23:53:00 +01:00
Sid Stamm
00f65acbf1
Bug 704320 - content/dom changes for meta referrer support. (r=jst)
...
This enables referrer policies for:
- EventSource (content/base/src/EventSource)
- XMLHttpRequest (content/base/src/nsXMLHttpRequest)
- HTML media elements (content/html/content/src/HTMLMediaElement)
- window.open (embedding/components/windowwatcher)
- window.location (dom/base/nsLocation)
2014-11-18 08:47:03 -05:00