Commit Graph

15540 Commits

Author SHA1 Message Date
Boris Zbarsky
550087fc0d Bug 884109. Remove GetDocumentFromCaller from NS_NewHTMLImage/OptionElement and remove the XPCOM-y bits for creating those, since WebIDL bindings don't use those. r=smaug 2013-06-19 10:24:37 -04:00
Ehsan Akhgari
59b2836b47 Bug 883011 - Optimize PrepareUpdatesToMainThread to avoid re-allocating memory as much as possible; r=roc 2013-06-18 23:10:04 -04:00
Ehsan Akhgari
e15c82a1f2 Bug 884632 - Optimize MediaStreamGraphImpl::PrepareUpdatesToMainThreadState in order to only include AudioNodeStreams that the main thread is interested in; r=roc 2013-06-18 23:09:44 -04:00
Arnaud Sourioux
187cea8753 Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Jon Coppeard
c56ed4c7b6 Bug 884371 - Remove JSMutableHandleXXX from the browser r=bz 2013-06-19 11:32:27 +01:00
Jon Coppeard
31b2a9deca Bug 884283 - GC: Rename RootMethods to GCMethods r=terrence 2013-06-19 11:32:26 +01:00
Ed Morley
7c688d3cab Backed out changeset 8866d9627149 (bug 879717) for assertions during test_playback_rate.html on Windows on a CLOSED TREE 2013-06-19 09:51:59 +01:00
Ed Morley
ec7cc3daa7 Backed out changeset acc1c0494f49 (bug 883731) 2013-06-19 09:51:08 +01:00
Ed Morley
e98f84f886 Backed out changeset 78424c3ea6cb (bug 883731) 2013-06-19 09:51:05 +01:00
Ed Morley
cec902bdec Backed out changeset 04d60f86b935 (bug 883731) 2013-06-19 09:51:02 +01:00
Robert O'Callahan
803c503184 Bug 883731. Part 3: Make all calls to ChangeReadyState go through UpdateReadyStateForDtaData. r=cpearce
--HG--
extra : rebase_source : 49e39cedd64bcc52bcda452fb38c2d8f460672a0
2013-06-19 16:05:52 +12:00
Robert O'Callahan
0b524698c6 Bug 883731. Part 2: Remove ResourceLoaded notifications since they don't make much sense with a media cache. r=cpearce
--HG--
extra : rebase_source : 8c1657977339c8f97b109c4ec775b7818ed4d57a
2013-06-19 00:17:40 +12:00
Robert O'Callahan
73ed5be762 Bug 883731. Part 1: Remove nsIDOMHTMLMediaElement:: and MediaDecoderOwner:: prefixes. r=cpearce
--HG--
extra : rebase_source : 4308f9e5540690ae77fcec3f3101a76936d42c00
2013-06-19 00:17:38 +12:00
Robert O'Callahan
1dbde92bfc Bug 879717. Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=cpearce
--HG--
extra : rebase_source : 4876423b4b292d1bb746e187b7cc29c5eb573f45
2013-06-19 00:17:29 +12:00
Ehsan Akhgari
891ead97b0 Backed out changeset 57624f26be8f (bug 702080) on the suspicion of causing a b2g mochitest-3 failure, since it touches code near remote browser stuff
Landed on a CLOSED TREE
2013-06-18 23:52:07 -04:00
Ehsan Akhgari
bbc905d8d8 Backed out changeset 9173dcf026ee (bug 882567) because of mochitest-1 timeouts on Linux
Landed on a CLOSED TREE
2013-06-18 23:16:05 -04:00
Ehsan Akhgari
1951841800 Backed out 2 changesets (bug 794282) because of mochitest-1 timeouts on Linux
Backed out changeset aad877111804 (bug 794282)
Backed out changeset a73bc11da471 (bug 794282)
2013-06-18 23:15:51 -04:00
Edwin Flores
3f5956eafe Bug 794282 - Fix desktop b2g compile error from changeset a73bc11da471 r=bustage 2013-06-19 12:29:36 +12:00
Andrew McCreight
1cf3ca6aaf Bug 883382 - Eliminate superfluous CacheScriptEntry. r=smaug 2013-06-18 15:58:05 -07:00
Edwin Flores
d971165513 Bug 794282 - Enable gstreamer by default in builds, but pref off r=cpearce,khuey 2013-06-19 10:22:30 +12:00
Edwin Flores
f77e378709 Bug 882567 - Handle fatal gstreamer errors by aborting playback r=alessandro.d 2013-06-19 10:22:29 +12:00
Ryan VanderMeulen
558b14210d Merge cypress and inbound. 2013-06-18 18:15:53 -04:00
Benjamin Smedberg
7a3a6c1a37 Back out revision d3da96f774b3 on a CLOSED TREE - Bug 882339 because of mochitest-browser failures in browser_CTP_drag_drop.js and browser-pluginnotification.js 2013-06-18 16:44:07 -04:00
Kyle Huey
c094a9abfa Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-18 12:01:26 -07:00
Benjamin Smedberg
a75ca744ee Bug 882339 - Cache the blocklist state on plugin tags to avoid querying the blocklist service constantly, r=johns 2013-06-18 13:16:40 -04:00
Arnaud Sourioux
84af79928e Bug 702080 - Replace GetDisplayDocument with IsResourceDoc when needed. r=bz 2013-06-18 17:25:50 -04:00
Andrea Marchesini
43d81d1da9 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-18 08:54:27 -04:00
Andrea Marchesini
74b148c97f Bug 870787 - Improve named getter for form, r=bz 2013-06-18 08:53:23 -04:00
Jon Coppeard
6e32864304 Bug 877762 - GC: Post-barrier cycle collector participants - 8 Convert JS::Object to use Heap<T> (XBL) r=bz r=sfink 2013-06-18 11:00:38 +01:00
Jon Coppeard
586c7b4514 Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz 2013-06-18 11:00:38 +01:00
Jon Coppeard
59d5490ab4 Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Jon Coppeard
82483ce6e9 Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Robert O'Callahan
8b714afdcf Bug 882027. Make MediaDecoder::UpdateReadyStateForData always be responsible for calling GetNextFrameStatus when that value is passed to HTMLMediaElement::UpdateReadyStateForData, but keep calling GetNextFrameStatus on the state machine thread to suppress dispatching of redundant runnables when nothing has changed. r=cpearce 2013-06-17 17:15:32 +12:00
Ehsan Akhgari
eed4367cde Bug 884020 - Don't use the register keyword in SVG code in order to fix the build with recent clangs; r=dholbert 2013-06-17 19:22:38 -04:00
Bob Owen
2884ae407d Tests for bug 838692 - Navigating named targets from sandboxed iframes. (r=imelven) 2013-04-29 19:26:43 +01:00
Boris Zbarsky
759d93620f Bug 874758. Make DOMStringMap use [OverrideBuiltins]. r=peterv 2013-06-17 16:31:03 -04:00
Julien Wajsberg
2ac970e539 Bug 814090 - [classList] Implement the second force argument for toggle. r=bz 2013-06-14 23:22:17 +02:00
Boris Zbarsky
350d302157 Back out revision 43927377e41c (bug 870787) and revision 25126626dd43 (bug 879319) for failing tests and contributing to a CLOSED TREE. 2013-06-17 14:54:24 -04:00
Ehsan Akhgari
2597f4b33d Backed out changeset 07708c9fc5ef (bug 883010) because of test failures
Landed on a CLOSED TREE
2013-06-17 13:13:08 -04:00
Andrea Marchesini
ff69158c08 Bug 879319 - implement past names map in HTMLFormElement, r=bz 2013-06-17 13:07:04 -04:00
Andrea Marchesini
05e883faf9 Bug 870787 - Improve named getter for form, r=bz 2013-06-17 13:07:04 -04:00
Boris Zbarsky
4a83c172fc Bug 882547. Treat undefined values in WebIDL dictionaries as missing. r=smaug 2013-06-17 13:07:03 -04:00
Ehsan Akhgari
80d5ef963a Bug 883010 - Part 1: Optimize MediaStreamGraphImpl::UpdateStreamOrder in order to optimize away how much time we spend on it in every iteration of the MSG; r=roc
--HG--
extra : rebase_source : 4af5f42054407ad42ebe1752e01178d454c865ed
2013-06-17 11:29:47 -04:00
Ehsan Akhgari
6b0129c018 Bug 883010 - Part 2: Don't bombard the main thread with MSG update messages which are not going to result in any actual work; r=roc 2013-06-17 09:06:34 -04:00
Ed Morley
4d0f4b4509 Backed out changeset eff8e7fefffd (bug 883164) for breaking the test on Android 2013-06-17 12:18:31 +01:00
Mounir Lamouri
3636ce2541 Bug 883164 - More tests for <input type='file'>.click(). r=smaug 2013-06-17 11:58:47 +02:00
Phil Ringnalda
b10574fc0f Bug 862199 - double the timeout for test_bug416317-2.html so it doesn't time out on b2g all the time
--HG--
extra : rebase_source : a9949516a2abb87b725fc9ac1f56020bf4c213e6
2013-06-14 22:37:59 -07:00
Josh Matthews
9ea183ce8d Bug 865257 - Implement MediaStreamAudioDestinationNode. r=ehsan,roc 2013-05-21 15:17:47 -04:00
Robert O'Callahan
6f0148696b Backing out bug 882027 2013-06-16 01:28:34 +12:00
Robert O'Callahan
25cffcb402 Bug 880601. Emulate a form of keyframe skipping by allowing MediaOmxReader::DecodeVideoFrame to decode more than one video frame if video decoding is falling behind. r=cpearce
If we don't support this in any way, then we get into trouble when there is
plenty of compressed data buffered but for some reason video decoding falls
behind (maybe there was a short period where the video data wasn't available).
Audio playback continues normally, but MediaOmxReader keeps making one call
to ReadAudio and one to ReadVideo, and if each call to ReadAudio decodes at
least as much as the calls to ReadVideo, video decoding can never catch up
to the current audio playback position. So video never plays. And when the
video decoding point gets far enough away from the audio decoding point,
horrible things start to happen, such as video and audio reading completely
different parts of the media cache and interfering with the caching mechanism
(which assumes audio and video reads are close together).

This patch approximates keyframe skipping, and is basically just a way for
MediaOmxReader::DecodeVideoFrame to decode more than one frame at a time
if we need video decoding to catch up.

To prevent pathological situations, we cap both the maximum number of frames
decoded per DecodeVideoFrame and the amount of time we spend in the method
(excluding the time for the last frame).

--HG--
extra : rebase_source : cba95c537fe97df5b696581be8233b6e9cffb70b
2013-06-15 23:51:56 +12:00