Commit Graph

15178 Commits

Author SHA1 Message Date
Ed Morley
05416056b0 Merge latest green inbound changeset and mozilla-central 2013-05-24 15:49:15 +01:00
Andrea Marchesini
349faa8f7f Bug 875483 - YouTube HTML5 Playback hangs Firefox. r=tterribe 2013-05-24 14:04:20 +02:00
Ehsan Akhgari
9cb95ec93a Bug 875529 - Correctly reserve some extra junk at the end of the down-mixing buffer; r=roc
CUSTOM_CHANNEL_LAYOUTS is 6, and we use the index 6 to denote channels that
must be ignored, therefore we need an array of 7 values here.
2013-05-23 23:29:25 -04:00
Ehsan Akhgari
530a84ad34 Bug 875144 - Disallow creating AudioBuffers of 0 length; r=roc 2013-05-23 22:39:36 -04:00
Ehsan Akhgari
af28359720 Bug 874952 - Always create enough last chunks for an engine, even if we don't end up calling into its ProduceAudioBlock function; r=roc 2013-05-23 22:36:20 -04:00
Vladimir Vukicevic
d04afec683 b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz 2013-05-23 22:09:38 -04:00
Daniel Holbert
be55143fd6 Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz 2013-05-24 09:39:17 +08:00
Olli Pettay
518f54ac7a Bug 868300, use cycle collector to break the cycles between ValidityState and its owner, r=mounir
--HG--
extra : rebase_source : 7ae7d0cfdca60d71870ac7b9d7a1210c9e1f6ec3
2013-05-24 02:07:34 +03:00
John Schoenick
4b6ada0e6d Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin 2013-05-23 16:22:28 -07:00
Olli Pettay
5a3ad723a0 Bug 874592 - nsFrameMessageManager::NewProcessMessageManager may construct child process managers with no parent, r=jdm
--HG--
extra : rebase_source : faa0b708e9e0e5f88db2319215144540622fbd3a
2013-05-23 21:17:57 +03:00
Mounir Lamouri
44d1c49f21 Bug 874640 - Make HTMLInputElement.valueAsDate visibility pref controlled. r=bz 2013-05-23 14:10:26 +01:00
Arnaud Bienner
053792df71 Bug 875274 - Implement the content part of <input type="color">. r=mounir 2013-05-23 14:02:23 +01:00
Ehsan Akhgari
15180e2c8e Bug 874024 - Allow creation of ScriptProcessorNodes with 0 input or output channels; r=roc 2013-05-23 08:26:21 -04:00
Ehsan Akhgari
2a4cb3efa4 Bug 874915 - Stop the AudioBufferSourceNode if the offset is no longer valid after setting a new buffer; r=roc
--HG--
extra : rebase_source : 0b179aab5ddb1ffd4ab2aeb8366b36975c949187
2013-05-23 07:50:48 -04:00
Ehsan Akhgari
8cf8e70106 Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc
--HG--
extra : rebase_source : 8015dda70e2191820c9482b529a22bdaa67dd79e
2013-05-23 07:46:20 -04:00
Olli Pettay
471f526583 Bug 875050, make WebSocket to use EventListenerAdded/Removed, r=bz
--HG--
extra : rebase_source : fa0995983c4a6c738bae2d88152db65e59cc1d72
2013-05-23 14:41:32 +03:00
Olli Pettay
825b5cb20b Bug 875050 - Add EventListenerAdded/Removed to EventTarget, r=bz
--HG--
extra : rebase_source : c7aea2048abd1d74ae02c1cfae84602cdf3af8c3
2013-05-23 14:41:00 +03:00
Olli Pettay
c4af7d1677 Bug 875050, EventListenerManager mTarget should be EventTarget, r=bz
--HG--
extra : rebase_source : 92caa79eb16fbfad7b8cc6a6037db31f47e2f056
2013-05-23 14:38:01 +03:00
Jonathan Watt
481319b784 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Cameron McCormack
3c88c614b1 Bug 711043 - Factor out operator type checks from the middle of feMorphology loop. r=roc 2013-05-14 08:53:36 +10:00
Phil Ringnalda
b8d8933df2 Bug 874291 - Make the WebGL tests on Android 4.0 on Pandas green enough to make them visible (at the cost of making the hapless tests on 2.2 on Tegras even worse) 2013-05-22 08:09:34 -07:00
Phil Ringnalda
c8ee9cd4c3 Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure 2013-05-22 21:35:41 -07:00
Matthew Gregan
cd12c2a8c7 Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey 2013-05-03 12:54:05 +12:00
Scott Johnson
3ad466da31 Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey] 2013-05-23 11:20:50 +08:00
Ralph Giles
3d52d52549 Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.

Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.

HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.

This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Bobby Holley
11f2396ec2 Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.

We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Ryan VanderMeulen
f55afa2982 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
772a8da25d Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.

--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
ba05c93769 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
1e55f9d52e Bug 868130 - Separate nsCxPusher an friends into their own file. r=gabor
We want to put a JSAutoRequest into nsCxPusher, but that would involve
including jsapi.h in nsContentUtils.h, which we'd probably rather avoid doing.
Let's just bite the bullet and do this.
2013-05-22 10:05:25 -06:00
Bobby Holley
f23454d0dc Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor 2013-05-22 10:05:24 -06:00
Bobby Holley
0f7b40d94e Bug 868130 - Make sure the new cx is stack-top in nsFrameMessageManager. r=gabor 2013-05-22 10:05:23 -06:00
Ehsan Akhgari
8225f28a47 Bug 874869 - Disallow setting AudioNode.channelCount to zero; r=roc 2013-05-22 11:30:31 -04:00
Ryan VanderMeulen
f715796ca4 Backed out changeset 9b5a9cd5032d (bug 870400) for Windows mochitest-1 failures. 2013-05-22 07:40:29 -04:00
Chris Pearce
e93ba21691 Bug 870400 - Calculate audio timestamps for WMF based on audio frames played, rather than trusting the container's timestamps. r=padenot 2013-05-22 17:43:26 +08:00
Matthew Gregan
6ff7d76356 Backout fbc3ef777ded (bug 855130). 2013-05-22 15:50:03 +08:00
Jeff Gilbert
b7775449d9 Bug 859608 - Flush GL on overdraw on Tegra devices. - r=bjacob 2013-05-22 00:05:38 -07:00
Matthew Gregan
613691856d Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey 2013-05-03 12:54:05 +12:00
John Schoenick
1c1fe9b053 Bug 868660 - Add missing check for media paused in inactive documents. r=roc 2013-05-21 14:13:59 -07:00
Ehsan Akhgari
e86b84cf6f Bug 873335 - Unlink ScriptProcessorNode members before AudioNode; r=mccr8 2013-05-21 14:54:23 -04:00
Garrett Robinson
395daa67a0 Bug 791284 - Add debugging code to nsDocument::StartDocumentLoad and fix and re-enable test. r=sicking 2013-05-21 14:50:26 -04:00
Andrea Marchesini
d01e941254 Bug 869000 - Text should be constructable. r=Ms2ger 2013-05-21 14:34:36 -04:00
Andrea Marchesini
88446b2e01 Bug 868999 - Range should be constructable. r=Ms2ger 2013-05-21 14:33:28 -04:00
Andrea Marchesini
8f9cb63b53 Bug 872925 - Game pack keeps playing audio when running in the background, even though the app has no permission to do so. r=derf 2013-05-21 13:49:17 -04:00
Andrea Marchesini
a22068c80e Bug 872812 - Passing viewBox to init*Event causes an assertion failure in CC macro expansion. r=bz 2013-05-21 13:48:47 -04:00
Ryan VanderMeulen
88a926596c Backed out changeset 4cb1973f06b9 (bug 868439) for Android M2 failures.
CLOSED TREE
2013-05-21 10:48:09 -04:00
Wellington Fernando de Macedo
78967c14cb Bug 869432 - [eventsource] readyStage on eventsource:close() returns CONNECTING instead of CLOSED. r=smaug 2013-05-21 08:29:31 -04:00
Martijn Wargers
8d347b2743 Bug 868439 - Convert some uses of nsIPrefBranch to SpecialPowers. r=jmaher 2013-05-21 02:14:06 +02:00
Bobby Holley
62b6770441 Bug 834701 - Stop setting the XBL script in the browser. r=bz 2013-05-20 22:34:17 -06:00