Граф коммитов

32781 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 1db92adfad Bug 1121692 - Tests. r=mattwoodrow,r=cpearce 2015-01-16 10:58:00 -08:00
Bobby Holley 6fbcd97c2b Bug 1121692 - Handle mid-seek Request{Audio,Video}Data calls. rpending=cpearce
The MDSM really shouldn't be issuing these. The correct solution (which I'll
file a followup bug for) is to fix the MDSM to not do that. But rejecting the
promise with CANCELED is a lot safer, so we do that for now.
2015-01-16 10:58:00 -08:00
Bobby Holley 986f783e03 Bug 1121692 - Make seeks cancelable. r=cpearce,r=mattwoodrow 2015-01-16 10:58:00 -08:00
Bobby Holley f5e1dd8c14 Bug 1121692 - Move the interesting seek state logic into DecodeSeek. r=mattwoodrow,r=cpearce
This is necessary so that we can call CancelSeek at the same moment we determine
that it needs to be called without round-tripping between threads.
2015-01-16 10:58:00 -08:00
Bobby Holley 6204ef933f Bug 1121692 - Clean up semantics around m{Audio,Video}IsSeeking. r=mattwoodrow
The comments indicate that they're supposed to be used for setting mDiscontinuity
on the samples, but that never actually happens (and appears to happen in
MP4Reader.cpp). Resetting them in Request{Audio,Video}Data doesn't make any sense
at all. So we repurpose them to track our seek stage.
2015-01-16 10:58:00 -08:00
Bobby Holley 57ce4c4935 Bug 1121692 - Fix potential race condition with mWaitingForSeekData. r=mattwoodrow
mWaitingForSeekData is modified in NotifyTimeRangesChanged, which is
invoked on the main thread. One would hope that all of these other members
are only touched on the decode task queue.
2015-01-16 10:58:00 -08:00
Bobby Holley fa7db3cb97 Bug 1121692 - Stop honoring aEndTime in MediaSourceReader::Seek. r=mattwoodrow
Tracking it is a pain, and it's only used by OggReader.
2015-01-16 10:58:00 -08:00
Bobby Holley e814d359c3 Bug 1121692 - Remove unnecessary arguments to ::Seek. r=mattwoodrow,sr=cpearce 2015-01-16 10:57:59 -08:00
Jean-Yves Avenard a500c582a9 Bug 1120266 - Add fragmented mp4 sample videos. r=cajbir 2015-01-16 10:57:59 -08:00
Bobby Holley 278166bbf6 Bug 1120266 - Factor some machinery out of test_BufferingWait into mediasource.js and make it Promise-friendly. r=jya 2015-01-16 10:57:59 -08:00
Bill McCloskey c004db54b9 Bug 1118618 - Make constructors explicit on a CLOSED TREE 2015-01-16 10:34:27 -08:00
Steven Michaud a25a7a3cb8 Bug 1118615 - Flash hangs displaying a camera/microphone access dialog in HiDPI mode, workaround. r=mstange 2015-01-16 12:16:44 -06:00
Bill McCloskey 50963a26d1 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley) 2015-01-16 10:11:18 -08:00
Bill McCloskey 9abd6a3719 Bug 567058 - Stop using intr messages for window.open (r=bent) 2015-01-16 10:07:50 -08:00
Bill McCloskey babe73ca74 Bug 567058 - Refactor b2g ProvideWindow to prepare for desktop changes (r=bent) 2015-01-16 10:06:56 -08:00
Michael Pruett a58d13d7ba Bug 1121202 - Remove unused PL_DHashTableOperate function. r=njn 2015-01-15 18:01:07 -06:00
Tejas Srinivasan f0e5ba672c Bug 1120652 - Remove MainThreadFetchResolver::OnResponseEnd() and provide an empty definition in the parent class FetchDriverObserver. r=nsm 2015-01-14 23:59:00 -05:00
Marcos Caceres f9075a20d0 Bug 1119670 - Implement processing of scope member of web manifest. r=ehsan 2015-01-15 19:46:00 -05:00
Florian Scholz e486771afa Bug 1119527 - Implement canvas clearHitRegions. r=gw280, r=bz 2015-01-09 09:41:00 -05:00
Sotaro Ikeda e662668d12 Bug 1110343 - Suppress redundant loadedmetadata event when dormant exit r=cpearce 2015-01-16 07:56:19 -08:00
Andreas Pehrson 29529ab5ec Bug 879717 - Part 4. Clean up
From 16c169589b8a0e47ef3c0816e30547ee6e07fa36 Mon Sep 17 00:00:00 2001
 test_peerConnection_capturedVideo.html's waiting for loadedmetadata. r=jesup
---
 .../mochitest/test_peerConnection_capturedVideo.html   | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
2014-12-19 21:43:58 +01:00
Andreas Pehrson 54ac43e9bb Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata
From 7426ccfec0b1bb8b420dddc628361a4833dc52fa Mon Sep 17 00:00:00 2001
 event. r=roc
---
 dom/media/test/manifest.js                |  2 +-
 dom/media/test/mochitest.ini              |  1 +
 dom/media/test/test_video_dimensions.html | 72 +++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 1 deletion(-)
 create mode 100644 dom/media/test/test_video_dimensions.html
2014-12-19 01:25:00 +01:00
Andreas Pehrson 9098eab06e Bug 879717 - Part 2. Test that drawing a video element to canvas
From 5be50c1d6131a58d8a06dcaa0dfca8156ef71273 Mon Sep 17 00:00:00 2001
 never throws. r=roc
---
 dom/media/test/mochitest.ini       |   1 +
 dom/media/test/test_bug879717.html | 119 +++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 dom/media/test/test_bug879717.html
2014-10-06 11:22:55 +02: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
Ryan VanderMeulen d76cb5ba6d Bug 1061675- Disable test_mozaudiochannel.html on Android 2.3 due to frequent failures. 2015-01-16 09:59:57 -05:00
Sotaro Ikeda 8ebcff8383 Bug 1121658 - Remove DestroyDecodedStream() from MediaDecoder::SetDormantIfNecessary() r=roc 2015-01-16 06:56:14 -08:00
Carsten "Tomcat" Book 21847b3028 Merge mozilla-central to mozilla-inbound 2015-01-16 15:14:41 +01:00
Carsten "Tomcat" Book 31f6d06813 merge b2g-inbound to mozilla-central a=merge 2015-01-16 15:04:49 +01:00
Jean-Yves Avenard 7823a3b9f4 Bug 1121342: Re-Request audio or video to decode first frame after a failed attempt. r=cpearce
--HG--
extra : rebase_source : 3434fc4a46cc32622241cc2e36a713bf38623b6a
2015-01-16 15:48:40 +11:00
Phil Ringnalda b46cbfd26f Backed out 2 changesets (bug 1095218) on suspicion of causing b2g mochitest-6 failures and hangs
CLOSED TREE

Backed out changeset f666641df41e (bug 1095218)
Backed out changeset 5f513dc1a248 (bug 1095218)
2015-01-15 20:44:18 -08:00
Chris Double 976cf3f159 Bug 1055904 - Improve MSE eviction calculation - r=jya
Fixes a bug in the SourceBufferResource eviction code where it was
using the mOffset of the resource as the min bound for what to evict.
This offset is almost always zero though due to ReadFromCache being
used which never updates the offset. This prevented eviction from
happening in most cases.

Moves the code to remove old decoders so that it does this during
the same loop as that which remove data from existing decoders.
This more aggressively prunes old decoders and is more likely to
keep data in the current playing decoder around for seeking, etc.

Prevent removing any decoder that the MediaSourceReader is
currently using for playback to prevent RemoveDecoder crashes.

Add a threshold to subtract from the current time when working out
the time bound to evict before to make it less likely to evict
current data that is needed for current playback.

Remove all data from evicted decoders in the initial iteration then
iterate after to remove empty decoders to put the RemoveDecoder
logic in one place.

Iterate decoders in order that they were added rather than sorted
by time so the logic that removes entire decoders can do it only
to those old decoders that existed before the existing one was
created.

Keeps track of the time that was evicted from the current decoder
and uses that as the time to EvictBefore for all decoders in the
track buffer when doing MediaSource::NotifyEvict.

--HG--
extra : rebase_source : f7b4fe263a8041b3882585caea389742b2a1a9b3
2015-01-16 16:14:56 +13:00
Jehan 1247e9d923 Bug 1114357 - Firefox does not understand XF86 ZoomIn and ZoomOut keys. r=masayuki 2015-01-15 20:00:58 +01:00
Yoshi Huang 86e65bebb0 Bug 1093517 - remove impl for connect and close of MozNFCTag. r=dimi
From 8d41372b81f36efced2f46bfa8428eb12688ffd7 Mon Sep 17 00:00:00 2001
---
 dom/nfc/NfcContentHelper.js        | 27 ++-------------------------
 dom/nfc/gonk/Nfc.js                | 12 +-----------
 dom/nfc/gonk/NfcGonkMessage.h      |  4 +---
 dom/nfc/gonk/NfcMessageHandler.cpp | 35 -----------------------------------
 dom/nfc/gonk/NfcMessageHandler.h   |  2 --
 dom/nfc/nsINfcContentHelper.idl    | 30 +-----------------------------
 6 files changed, 5 insertions(+), 105 deletions(-)
2015-01-15 15:41:43 +08:00
Yoshi Huang a3c2b470b3 Bug 1121840 - Use Cu.cloneInto for the result of NFCTag.transceive. r=dimi 2015-01-15 14:55:25 +08:00
Phil Ringnalda bb80f4e10c Bug 744125 - Disable test_pointerlock-api.html on 10.10, too
--HG--
extra : rebase_source : 99f3369b5956d9567051037e2befef7ea1391aab
2015-01-14 22:32:08 -08:00
Phil Ringnalda ee0549460e Bug 639705 - update test_fullscreen-api.html hacks to cover OS X 10.10 too
--HG--
extra : rebase_source : c558c2d257909dbf5f33b2dd453016a401d51153
2015-01-14 22:30:04 -08:00
Yoshi Huang 2fe2c60a92 Bug 1121818 - Reject promise with instance of 'Error'. r=dimi
From da865c1cd62df020eba8515c3e19b962ccddd322 Mon Sep 17 00:00:00 2001
---
 dom/nfc/nsNfc.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-01-15 12:17:46 +08:00
Ben Tian 313c39fbfe Bug 1121334 - [bluetooth2] Append device name to BluetoothDevice in BluetoothPairingEvent, r=shuang, f=jaliu 2015-01-16 10:53:55 +08:00
Wes Kocher 295f54f807 Merge m-c to b2g-inbound a=merge 2015-01-15 17:57:43 -08:00
Wes Kocher 8e4db8cafc Merge inbound to m-c a=merge 2015-01-15 16:14:14 -08:00
Kyle Machulis 4202f2bf99 Bug 1107674 - Change settings:wallpaper.image permission from PROMPT to ALLOW for privileged apps; r=fabrice 2015-01-15 14:56:11 -08:00
Anuj Agarwal cdc8bda73f Bug 1075702 - Added mochitest for Element.setAttributeNode(). r=bz 2015-01-15 05:13:00 +01:00
Anuj Agarwal dd5974bda1 Bug 1075702 - Fixed implementation of Element.setAttributeNode(). r=bz 2015-01-15 05:12:00 +01:00
Jean-Yves Avenard 59151e0b1c Bug 1120282: Do not fire durationchange during call to ReadMetadata. r=mattwoodrow
--HG--
extra : rebase_source : cf8bdb932aac0661de21c7fa4eba7d50b14b3dbc
2015-01-16 23:49:02 +11:00
Jean-Yves Avenard eb3a3abff9 Bug 1120079: Do not call Range Removal algorithm after endOfStream. r=cajbir
--HG--
extra : rebase_source : 6a77cda482230943d88df228425e23e20f8860e0
2015-01-16 23:49:02 +11:00
Jean-Yves Avenard 776799bb61 Bug 1119757: MSE: handle duration of 0 in metadata as infinity. r=mattwoodrow
--HG--
extra : rebase_source : 6bc09d18b0b5d8144c8242d94f1ebd92d1f0efa5
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard b0638f45f3 Bug 1119757: Allow seeking on media with infinite duration. r=cpearce
MSE defines content to have infinite duration when no duration is defined.
And MSE is always seekable within the buffered range, regardless of the duration

--HG--
extra : rebase_source : 369cce10504b125716af0a60e07d1d1144117f59
2015-01-16 23:49:01 +11:00
Jean-Yves Avenard 52d3bbb9ae Bug 1120086: Re-open SourceBuffer after call to appendBuffer if in ended state. r=cajbir
--HG--
extra : rebase_source : 56923ceb5f28dadeda981b8365f277320afc72ba
2015-01-16 23:48:25 +11:00
Jean-Yves Avenard 510550aff7 Bug 1120084: Implement MSE's AppendErrorAlgorithm
--HG--
extra : rebase_source : c9e1db9f0dd5cb504328f7572364227a4e40a937
2015-01-16 23:48:25 +11:00
Jean-Yves Avenard bf9881e5b7 Bug 1119119: Do not abort when calling appendBuffer with no data. r=cajbir
--HG--
extra : rebase_source : 4836370af1e1558771700331d40d2312cd225201
2015-01-16 23:48:24 +11:00