Commit Graph

15494 Commits

Author SHA1 Message Date
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
Robert O'Callahan
cbdf0d51b0 Bug 882027. Route all calls to GetNextFrameStatus for determining the readyState through MediaDecoder::UpdateReadyStateForData on the main thread. r=cpearce
--HG--
extra : rebase_source : 9ea3260f294c633c24e15690fa4bb067af378088
2013-06-15 23:50:44 +12:00
David Zbarsky
bad7d32b05 Bug 845668 Part 1: Remove nsFrameMessageManager::IsChromeProcess r=smaug 2013-06-14 23:40:22 -07:00
Martijn Wargers
6a0cb9a8a4 Bug 883094 - Fix some test files that don't unset their prefs correctly. r=jgriffin 2013-06-15 00:33:47 +02:00
Martijn Wargers
0b4b51d26f Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-06-15 00:13:44 +02:00
silverwind
fdf33d0415 Bug 608180 - Allow rapid clicks on label elements to go through while still allowing text selection. r=bz, r=enn 2013-06-14 22:47:01 -04:00
David Zbarsky
f4be6ba30d Bug 882553 - Convert SVGAnimatedString to WebIDL r=Ms2ger 2013-06-14 15:37:27 -07:00
David Zbarsky
5c9468c760 [Bug 882536] Remove nsIDOMSVGDocument r=Ms2ger 2013-06-14 15:37:27 -07:00
Caitlin Potter
528c2268d4 Bug 882535 - Set HTMLTrackElement Readiness State during WebVTT Parsing. r=rillian
This patch enables "LOADING", "LOADED" and "ERROR" readiness states to be
applied to the Parent HTMLTrackElement, in order to avoid test flakiness,
and to comply with the HTML5 draft
http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#text-track-readiness-state.
2013-06-12 22:26:14 -04:00
Joey Armstrong
ad3592a2c7 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Olli Pettay
6c90bdfe86 Bug 883096 - Crash at nsEventListenerManager::GetListenerInfo, r=jst
--HG--
extra : rebase_source : 2073283f4b23586fac0a3ae4243a50b745912a20
2013-06-14 20:10:22 +03:00
Ms2ger
2198ead678 Bug 877277 - Followup: use the right macro to declare nsISupports; r=smaug over IRC 2013-06-14 19:10:12 +02:00
Peter Van der Beken
76ae99ee96 Bug 851465 - Remove slim wrappers - stop morphing slim wrappers. r=bholley. 2013-04-19 21:57:15 +02:00
Peter Van der Beken
2930bc79fe Bug 882193 - Remove nsIDocumentRegister. r=mrbkap. 2013-06-05 22:19:22 +02:00
Rick Eyre
8e97190249 Bug 882817 - Fix QI implementation of HTMLTrackElement. r=bz
In certain situations we were failing debug builds due to an assertion
that HTMLTrackElement was not a nsIDOMNode or nsIDOMWindow when calling
NS_CheckContentLoadPolicy in HTMLTrackElement::LoadResource()

This patch fixes the QI of the HTMLTrackElement so that it can be queried
to an nsIDOMNode correctly.
2013-06-13 17:15:14 -04:00
Frederik Braun
0988572917 Bug 879316 - Clean up CSP logging code. r=imelven 2013-05-15 11:30:43 +02:00
Shelly Lin
3fbcac1377 Bug 882956 - Fix WebAudio stack-buffer-overflow crash. r=ehsan. 2013-06-14 15:16:41 +08:00
L. David Baron
533609848e Bug 882573 patch 4: Make nsHTMLStyleSheet and nsHTMLCSSStyleSheet stop implementing nsIStyleSheet. r=heycam
Note that this removes the Reset method and the mURL and mDocument
members (and arguments to set them) from nsHTMLCSSStyleSheet.

On the other hand, from nsHTMLStyleSheet it only removes mURL (and
equivalent arguments), and nsHTMLStyleSheet keeps the SetOwningDocument
method that was previously part of nsIStyleSheet (but no longer virtual).
2013-06-13 22:34:37 -07:00
L. David Baron
eb4df95760 Bug 882573 patch 3: Stop putting the presentational hint and style attribute style sheets in the style set's list of style sheets; put them only in the list of rule processors. r=heycam 2013-06-13 22:34:37 -07:00
L. David Baron
fd81904e29 Bug 882573 patch 1: Move the style attribute style sheet from nsDocument to nsIDocument, and devirtualize its getter. r=bzbarsky 2013-06-13 22:34:37 -07:00
Drew Willcoxon
25a6d8b499 Bug 759964 - Part 3 - Add nsIDocShell.allowMedia test. r=test 2013-06-13 19:31:43 -07:00
Matthew Noorenberghe
172c89a430 Bug 759964 - Part 1 - Add allowMedia attribute to nsIDocShell to disable HTML5 media elements. r=bz 2013-03-29 14:52:59 -07:00
Ehsan Akhgari
06d527d3fe Bug 882948 follow-up - Fix a typo (sorry!) 2013-06-13 21:38:22 -04:00
Ehsan Akhgari
8ee5a78089 Bug 882948 - Add widget level support for AeroLite for Winodws Server 2012/2013; r=roc 2013-06-13 18:41:26 -04:00
Ryan VanderMeulen
44a3f39ea8 Backed out changeset c1c441c9edce (bug 845668) for frequent Windows mochitest-2 crashes.
CLOSED TREE
2013-06-13 18:31:27 -04:00
Chris Pearce
d613366a8e Bug 881954 - Set the thread limit to the idle limit for WMFByteStream's thread pool. This stops the pool from constantly creating and destroying threads when under load, freeing up virtual address space and reducing our thread count. r=padenot 2013-06-14 09:07:59 +12:00
Chris Pearce
24f2771c6d Bug 881954 - Only initialize DXVA when we're decoding video. r=padenot 2013-06-14 09:07:28 +12:00
Chris Pearce
24f7039d0b Bug 881954 - Generalize test_too_many_elements to run on more than just Ogg audio. r=padenot 2013-06-14 09:07:07 +12:00
Ryan VanderMeulen
3446362831 Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
David Zbarsky
f5e7f70073 Bug 845668 Part 0: Remove nsFrameLoader::mChildHost r=jdm 2013-06-13 11:53:13 -07:00
Bobby Holley
038cdefdeb Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke 2013-06-13 10:09:26 -07:00
Bobby Holley
534e0458e1 Bug 880917 - Remove AutoVersionChecker. r=luke
Looks like cdleary added this back in bug 595691, as an equivalence to some
even-older-and-more-overly-cautious XBL code that was saving and restoring
the version across XBL calls. It doesn't seem like this should be an issue
anymore, and it's just a debugging aid to boot. Let's kill it.
2013-06-13 10:09:25 -07:00
Bobby Holley
3b2745a4be Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-13 10:09:25 -07:00
James Kitchener
41dd9cfa20 Bug 796850 - Change XMLHttpRequest interface to support ByteString r=bz 2013-06-13 01:20:10 -04:00
Boris Zbarsky
5544291d84 Bug 880367 part 1. Change the "enabled" callback for WebIDL constructors to take a JSContext* and the object the constructor will be defined on. r=smaug,bholley 2013-06-13 01:12:26 -04:00
Jeff Muizelaar
7bd6821f7e Bug 881724. Remove some unneeded includes from nsHTMLDocument.h. r=ehsan
--HG--
extra : rebase_source : 034382c3663f7c20a35e356a4087d57fcc25eaf7
2013-06-10 20:18:29 -04:00
Ehsan Akhgari
0cae3ba5bd Bug 579517 follow-up: Remove NSPR types that crept in 2013-06-12 21:26:59 -04:00
William Chen
0ae4cf0653 Bug 872870 - Use GetParentNode() instead of GetParent() in UndoManager. r=ehsan 2013-06-12 18:15:21 -07:00
Ehsan Akhgari
7ee328d5a7 Bug 881558 - Re-introduce try-locking in the reverb implementation; r=roc 2013-06-12 20:57:17 -04:00
Chris Pearce
d04999e520 Bug 880062 - Make WMF video backend call MediaDecoder::SetMediaSeekable(false) when it can't seek like it's supposed to. r=padenot 2013-06-13 10:15:23 +12:00
Caitlin Potter
67247ff208 Bug 881978 - Make WebVTTLoadListener callbacks private. r=rillian
WebVTTLoadListener::OnParsedCue() and WebVTTLoadListener::OnReportError() are
for private use and should not be exposed publicly.
2013-06-11 21:12:39 -04:00
Ms2ger
8742f29802 Bug 882164 - Enter the right compartment to create a new JSObject in nsHTMLDocument::GetAll; r=bz 2013-06-12 22:05:40 +02:00
David Zbarsky
3e79cdd903 bug 881261 r=bz 2013-06-12 13:04:18 -07:00
David Zbarsky
d8b4e2ebd3 Bug 881681: Don't try to reset context attributes when they are already frozen r=bz 2013-06-12 11:42:27 -07:00
Trevor Saunders
a2966f198d bug 882079 - merge nsIDocShellHistory into nsIDocShell r=smaug 2013-02-15 11:07:29 -05:00
James Willcox
d92bff0255 Bug 880842 - Guard against null temporary drawing surface r=mattwoodrow
--HG--
extra : rebase_source : e6bf619b17c641ed33438ad43c1b0ba085a366b0
2013-06-12 09:03:52 -04:00
Martin Stransky
f672df1462 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00