Commit Graph

27169 Commits

Author SHA1 Message Date
Peter Van der Beken
5a6257bfce Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
--HG--
extra : rebase_source : 0c848e1c18a366ecd95b1a9acc4b517d108131fe
2013-05-17 17:04:08 +02:00
Paul Adenot
1e7d4a3a83 Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-04 15:51:23 +02:00
Paul Adenot
f36c77bdd9 Bug 877527. 2013-06-04 15:07:01 +02:00
Alfredo Yang
b78fe26987 Bug 855741 - Add test case for FocusEvent webidl. r=smaug 2013-06-05 08:02:51 -04:00
Alfredo Yang
5b1f01f4d8 Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Bobby Holley
f06e741959 Bug 877478 - Fix tests that depend on creating verboten instances in content. r=mrbkap
XPConnect generally throws when trying to create instances of non-DOM objects
in content. Due to some bugs this has historically worked in certain cases, but
we're fixing those now. So we need to fix the tests that do this sort of thing.
2013-06-04 19:56:42 -07:00
Bobby Holley
17992acedf Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Bobby Holley
2cb13b8c8a Bug 877478 - Move crashtests that now error-out to chrome tests. r=mrbkap
These crashtests now throw, because we run XUL tests in content, and they create
forbidden objects and fail the CanCreateWrapper check. Unfortunately, the
crashtest harness isn't set up to catch onerror. And even if they were, they
wouldn't be testing what they wanted to, because all of the relevant work here
happens in onload.

--HG--
rename : content/xul/content/crashtests/236853.rdf => content/xul/content/test/file_bug236853.rdf
rename : content/xul/templates/src/crashtests/330010-1.rdf => content/xul/templates/tests/chrome/file_bug330010.rdf
rename : content/xul/templates/src/crashtests/329335-1.xul => content/xul/templates/tests/chrome/test_bug329335.xul
rename : content/xul/templates/src/crashtests/330010-1.xul => content/xul/templates/tests/chrome/test_bug330010.xul
2013-06-04 19:56:41 -07:00
Robert O'Callahan
f54502cc7c Fix bustage on a CLOSED TREE for bug 877461 2013-06-05 14:44:20 +12:00
Robert O'Callahan
78e2533023 Bug 877461. Make MediaCache aggressively cache data just behind the current playback position. r=cpearce
This should help with the straight playback, non-seeking case where we get into
trouble because libstagefright video and audio codecs are reading from different
places.
2013-06-05 01:52:57 +12:00
Roberto Agostino Vitillo
941646f2ae Bug 869703 - Fix failure to retrieve uniform. r=jgilbert 2013-06-04 20:51:58 -04:00
Jeff Gilbert
1b3ca98cfb Bug 877309 - drawImage should copy from default framebuffer, not the currently bound fb. - r=bjacob 2013-06-04 15:25:57 -07:00
Guillaume Abadie
3a622ba311 Bug 879304 - Add "webgl.max-warnings-per-context" preference. r=bjacob 2013-06-04 15:44:08 -04:00
Ryan VanderMeulen
dca3b07736 Merge inbound to m-c. 2013-06-04 15:01:10 -04:00
Ryan VanderMeulen
72d7d56f36 Merge birch to m-c. 2013-06-04 15:00:37 -04:00
Justin Lebar
c0f020c0ae Bug 879214 - Try to fix race condition in test_audio_wakelock.html. r=baku
--HG--
extra : rebase_source : af1d40db2ed8395db183a14a229ad49e4bc36bf8
2013-06-04 12:00:40 -04:00
Wellington Fernando de Macedo
c4260f6d65 Bug 869882 - [eventsource] Check HTTP status:204,205,210,299 readyState returns CONNECTING but not CLOSED and throws unreached assertion; r=bugs@pettay.fi 2013-06-04 12:34:15 +03:00
Randell Jesup
6249d89fc4 Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug 2013-06-03 17:34:42 -04:00
Frédéric Wang
49f0d66334 Bug 878396 - Fix a regression with mspace@mathbackground. r=karlt 2013-06-04 08:22:51 -04:00
Nicholas Cameron
4f491064ec Bug 863635. Make gfxPlatform smarter about when we can use Moz2D for content rendering r=Bas 2013-05-28 10:04:37 +12:00
Robert O'Callahan
aa60d410a4 Bug 877135. Remove HTMLMediaElement::mozLoadFrom since it's nonstandard and no longer needed (setting 'src' to another element's 'currentSrc' works just as well). r=doublec
--HG--
extra : rebase_source : f1e04fe469a1757bfabfcf79bbf0fec29faee1c7
2013-06-04 15:28:23 +12:00
Robert O'Callahan
ab85da27f3 Bug 874295. Fix viewport tests. r=mbrubeck
--HG--
extra : rebase_source : 48252cd24f804fbac3c6a7eaf7792fbc9c7584b8
2013-06-03 19:02:46 +12:00
Robert O'Callahan
9f6e44dd7a Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 92e6c476f847349969430d96fa363b6f46bb8d5b
2013-05-30 16:34:32 +12:00
Ehsan Akhgari
b6cfec5d54 Bug 879014 - Part 2: Implement the alternate enum values for BiquadFilterNode; r=roc 2013-06-03 19:23:06 -04:00
Ehsan Akhgari
61a50048f8 Bug 879014 - Part 1: Implement the alternate enum values for PannerNode; r=roc 2013-06-03 19:22:48 -04:00
Jeff Gilbert
836ca84173 Bug 880019 - MakeCurrent before readback in mozGetAsFile. - r=bjacob 2013-06-06 13:54:04 -07:00
Ryan VanderMeulen
64d39d24ca Bug 880202 - Skip crashtest on B2G due to failures. 2013-06-06 14:29:52 -04:00
Kyle Huey
3c18bb93bd Back out bug 877584 on this CLOSED TREE. 2013-06-06 10:49:09 -07:00
Kyle Huey
a983f728ac Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-06 10:23:45 -07:00
Ehsan Akhgari
1a785621d8 Bug 880202 - Revert bug 878765 because it introduces a buffer overflow 2013-06-06 12:36:57 -04:00
Olli Pettay
75215be2aa Bug 875252, make type=file click() to work (again) even when the element isn't in the DOM, r=jst
--HG--
extra : rebase_source : e8fecce550d5fe91a524f1b47a8429165354ac90
2013-06-04 00:40:41 +03:00
Ryan VanderMeulen
11fa435b82 Merge m-c to inbound. 2013-06-03 17:51:25 -04:00
Ryan VanderMeulen
69bb28492a Merge m-c to birch. 2013-06-03 15:58:10 -04:00
Ryan VanderMeulen
e6e2873354 Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Scott Johnson
54e7d7ca28 Bug 865654: Adjust offsets within text areas only so that other text controls get correct offsets. [r=blassey] 2013-06-03 11:27:48 -05:00
Ryan VanderMeulen
1aadfa7975 Backed out 3 changesets (bug 877527, bug 878765) for mochitest-1 timeouts on a CLOSED TREE.
Backed out changeset 0bf1e71fe3cc (bug 877527)
Backed out changeset 8473deb5fba9 (bug 878765)
Backed out changeset 0d327854300c (bug 877527)
2013-06-03 15:01:20 -04:00
Bobby Holley
9a052f73b0 Bug 878325 - Propagate exceptions out of ResolveForwardReferences. r=bz 2013-06-03 11:27:42 -07:00
Bobby Holley
ab79ce5794 Bug 878325 - Propagate exceptions out of CreateTemplateBuilder and LoadDataSources. r=bz 2013-06-03 11:27:41 -07:00
John Schoenick
b98d6fa1eb Bug 878363 - Disable -Wreserved-user-defined-literal for problematic gstreamer header. r=ted 2013-06-03 11:10:28 -07:00
Ryan VanderMeulen
2182e742cb Merge m-c to inbound. 2013-06-03 11:58:20 -04:00
Sotaro Ikeda
2e8825ec27 Bug 874325 - Add lock to MediaStreamSource::readAt(). r=doublec 2013-06-03 10:41:54 -04:00
Ed Morley
f3cad8b377 Backed out changeset 70cf9c347db6 (bug 509719) for crashtest orange 2013-06-03 16:05:50 +01:00
Cameron McCormack
b8ecd886bc Bug 876831 - Only reflow nsSVGTextFrame2's anonymous block frame under ReflowSVG. r=bzbarsky,longsonr f=jwatt 2013-06-04 00:15:29 +10:00
Gijs Kruitbosch
ceaeef63b4 Bug 509719 - Fix crash in XULDocument::RemoveElement, r=bz 2013-06-03 12:05:58 +02:00
Michael Harrison
ec8a2ad3b6 Bug 772153 - Add support for unprefixed cursor:zoom-in/out. r=bz 2013-06-03 08:49:38 -04:00
Ed Morley
0baedb49dd Bug 850181 - Skip conformance/textures/texture-mips.html on Ubuntu VMs since they intermittently pass and fail in equal measure 2013-06-03 13:09:52 +01:00
Paul Adenot
d675835ef0 Bug 877527. Forgot to hg add. 2013-06-03 19:15:41 +02:00
Paul Adenot
45f1493216 Bug 878765 - Add missing incrementation in AudioBlockPanStereoToStereo. r=ehsan 2013-06-03 15:48:58 +02:00
Paul Adenot
5daeebc9a3 Bug 877527 2013-06-03 19:13:23 +02:00
Daniel Holbert
cd1442fcf9 Bug 877510: Undefine GetClassInfo in nsHTMLFormElement.h, in case someone #including us also #included a windows header that stupidly defined it to something else. r=smaug 2013-06-03 10:00:04 -07:00
Ms2ger
77bc93f8b2 Bug 878509 - Restore the HTMLImageElement.lowsrc, x, y attributes that were unintentionally removed; r=smaug 2013-06-02 17:38:25 +02:00
Ehsan Akhgari
2aa2507d7c Bug 878478 - Disable looping of AudioBufferSourceNode when we detect that the loopStart offset is not less than the loopEnd offset; r=roc 2013-06-02 09:26:26 -04:00
Ehsan Akhgari
73b6b78804 Bug 878328 - Sanitize the time argument of AudioParam.setValueCurveAtTime; r=roc 2013-06-02 09:26:06 -04:00
Ehsan Akhgari
20b20b238c Bug 878407 - Allocate a large enough delay buffer when the delay time fraction value is less than 0.5; r=roc 2013-06-02 09:25:46 -04:00
Ehsan Akhgari
7a83db0a0c Bug 878497 - Add a test case for AudioParam.setValueAtTime; r=roc 2013-06-02 09:25:16 -04:00
Trevor Saunders
efd48bef1e bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley 2013-05-17 01:49:41 -04:00
Ms2ger
ebfa207500 Merge m-c to m-i. 2013-06-01 15:00:46 +02:00
Ms2ger
06c2cdb2a4 Bug 877910 - Make HTMLSelectElement.namedItem return 'HTMLOptionElement' instead of 'object'; r=bz 2013-06-01 08:56:34 +02:00
Gijs Kruitbosch
7969d858a2 Bug 877669 - nsXULPopupListener shouldn't prevent default if there are no attributes, r=neil 2013-05-31 11:49:26 +02:00
Ehsan Akhgari
9fbc89aa91 Bug 878014 - Use double precision when sampling the delay AudioParam; r=roc 2013-06-01 03:02:46 -04:00
Jeff Gilbert
f69515d8d9 Bug 877934 - Only clear what we need to for off-fb ReadPixels. - r=bjacob 2013-05-30 18:54:00 -07:00
Boris Zbarsky
0c908271f1 Bug 861938. Make the CanvasWindingRule arguments be treated as missing if undefined is passed in. r=smaug 2013-06-05 20:51:22 -04:00
Trevor Saunders
7751917c75 backout bug 877886 for bustage 2013-06-05 17:50:30 -04:00
Chia-hung Tai
ba0d852318 Bug 810099 - B2G MMS: support onretrieving event. r=vyang 2013-05-10 13:39:22 -07:00
Trevor Saunders
2721f313e5 bug 877886 - get rid of a number of static constructors in content/ and dom/ r=smaug 2013-05-30 18:34:53 -04:00
Ed Morley
005881eed6 Merge mozilla-central and inbound 2013-06-11 16:24:51 +01:00
Benjamin Smedberg
f470a6d661 Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws
--HG--
extra : rebase_source : e5bfba45eaa5619d695c484573b90303cc113181
2013-06-11 10:58:43 -04:00
Benjamin Smedberg
249cfee001 Bug 880675 - Remove the writable nsIPluginTag.blocklisted property, which is a poorly-constructed cache of the blocklist data, r=jschoenick r=unfocused
--HG--
extra : rebase_source : 04fd347af86d9bb47493ca37455008dedcc570f4
2013-06-11 10:58:42 -04:00
Benjamin Smedberg
d6bcd644f8 Bug 881270 - Remove the MIME type fallback tests in test_bug391728 because they are testing the incorrect behavior and only happen to work because the test plugin remained blocklisted from a prior test. r=johns
--HG--
extra : rebase_source : c7b1d6e6f50f35598d8ca98c1527673542c6798d
2013-06-11 10:58:42 -04:00
Trevor Saunders
e1642b34af bug 880379 - move nsIScriptGlobalObjectOwner out of nsXULPrototypeScript::Compile() r=smaug 2013-02-15 14:19:54 -05:00
Trevor Saunders
6389a5e5b5 bug 880379 - remove nsIXULDocument::GetScriptGlobalObjectOwner() r=smaug 2013-02-15 11:22:51 -05:00
William Chen
41cbfd835e Bug 840877 - Handle null undoManager in absence of documentElement. r=ehsan 2013-06-11 18:26:11 -07:00
Ryan VanderMeulen
adcf07edd8 Merge m-c to inbound. 2013-05-31 11:30:38 -04:00
Ryan VanderMeulen
be9264d563 Merge m-c to birch.
--HG--
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
2013-05-30 20:52:56 -04:00
Andreas Gal
6d58341677 Bug 876099 - re-enable 3gp support in web content r=roc, a=gal 2013-05-30 10:52:58 -07:00
L. David Baron
1d8a7b6aa6 Bug 234485: Map xml:lang attribute into style so that it's used for font selection and hyphenation. r=bzbarsky
The code in nsHTMLStyleSheet implements LangRule to map xml:lang into
style and the code to manage its uniqueness.

The change to nsGenericHTMLElement fixes the mapping of the HTML lang
attribute to do cascading the way all other rule mapping does so that
the cascading works correctly.

The tests test that the correct style language is used for hyphenation
by copying over a set of hyphenation reftests that check its basic
response to languages.  There are no specific tests for font selection,
but font selection is known to use the same language data from style.

I verified manually (see other attachments to bug) that the rule
uniqueness is being managed correctly.

--HG--
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-1.xhtml
rename : layout/reftests/text/auto-hyphenation-10.html => layout/reftests/text/auto-hyphenation-xmllang-10.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-11b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-12b.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13a.xhtml
rename : layout/reftests/text/auto-hyphenation-1.html => layout/reftests/text/auto-hyphenation-xmllang-13b.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14a.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-14b.xhtml
rename : layout/reftests/text/auto-hyphenation-1a.html => layout/reftests/text/auto-hyphenation-xmllang-1a.xhtml
rename : layout/reftests/text/auto-hyphenation-2.html => layout/reftests/text/auto-hyphenation-xmllang-2.xhtml
rename : layout/reftests/text/auto-hyphenation-3.html => layout/reftests/text/auto-hyphenation-xmllang-3.xhtml
rename : layout/reftests/text/auto-hyphenation-4.html => layout/reftests/text/auto-hyphenation-xmllang-4.xhtml
rename : layout/reftests/text/auto-hyphenation-5.html => layout/reftests/text/auto-hyphenation-xmllang-5.xhtml
rename : layout/reftests/text/auto-hyphenation-6.html => layout/reftests/text/auto-hyphenation-xmllang-6.xhtml
rename : layout/reftests/text/auto-hyphenation-7.html => layout/reftests/text/auto-hyphenation-xmllang-7.xhtml
rename : layout/reftests/text/auto-hyphenation-8.html => layout/reftests/text/auto-hyphenation-xmllang-8.xhtml
rename : layout/reftests/text/auto-hyphenation-9.html => layout/reftests/text/auto-hyphenation-xmllang-9.xhtml
2013-05-30 16:00:20 +08:00
Phil Ringnalda
d45cb1d6e2 Back out 87e2bfbb427d (bug 874295) for mochitest-1 failures
CLOSED TREE
2013-05-29 23:55:29 -07:00
Arnaud Sourioux
3259f595c7 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Robert O'Callahan
6569fc1a08 Bug 868405. Support 'enabled' attribute on MediaStreamTrack. r=jesup
--HG--
extra : rebase_source : ec29ae2e45979baaf1b6a085549755ba86cadd40
2013-05-30 16:44:43 +12:00
Robert O'Callahan
8f770db6a3 Bug 868405. Part 1: Add a few MOZ_OVERRIDES. r=jesup
--HG--
extra : rebase_source : 9fce360b62677439a353b2fb81d9bab92b659d13
2013-05-30 16:44:40 +12:00
Robert O'Callahan
072bee6956 Bug 874295. On non-Android platforms (and eventually for Android), use call GetDefaultScale instead of GetDevicePixelsPerMetaViewportPixel. r=mbrubeck
--HG--
extra : rebase_source : 9c0544baccfe277e9340d185f189eda174923eb4
2013-05-30 16:34:32 +12:00
Kyle Huey
0d78767303 Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz 2013-05-30 11:15:31 +08:00
Jeff Gilbert
e679fbaae2 Bug 877048 - Add support for comments and whitespace trimming to failed/skipped mochitest-gl tests. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
5103f8956b Bug 877048 - Consistently use single quotes in new code. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
623ac828cf Bug 877048 - Add failing test list for android+nvidia for tegra2 slaves. - r=bjacob 2013-05-29 17:49:12 -07:00
Jeff Gilbert
ed66efe959 Bug 877048 - Make mochitest-gl detection of os/version/driver modular. - r=bjacob 2013-05-29 17:49:11 -07:00
Jeff Gilbert
4ed5e387ef Bug 877048 - Factor getting driver info out into a self-contained function for mochitest-gl. - r=bjacob 2013-05-29 17:49:11 -07:00
Ehsan Akhgari
58cfbcc35a Crashtest for bug 868504 2013-05-30 20:59:09 -04:00
Ehsan Akhgari
4eb33f438e Bug 877820 - Improve the argument checking for OfflineAudioContext's sampleRate argument; r=roc 2013-05-30 20:54:07 -04:00
Ehsan Akhgari
507a189f9d Bug 876273 - Only attempt to delete the media graph when the last stream goes away if we're waiting for all streams to be destroyed; r=roc 2013-05-30 20:53:51 -04:00
Ehsan Akhgari
2942a374d2 Bug 876024 - Sanity check all of the time values passed to Web Audio; r=roc 2013-05-30 20:53:15 -04:00
Ehsan Akhgari
aded29394c Bug 877523 - Correctly handle small maximum delay values for DelayNode; r=roc 2013-05-30 20:52:26 -04:00
Chris Pearce
f24ba25bbd Bug 870400 - Calculate audio timestamps for WMF based on audio frames played, rather than trusting the container's timestamps. r=padenot 2013-05-31 11:34:52 +12:00
Boris Zbarsky
ac87784e7f Bug 877540. Fix remaining unsafe reference hazards in browser code. r=terrence 2013-05-30 17:46:48 -04:00
Boris Zbarsky
6871042269 Bug 865377. Give EventTarget a chrome-only getter that returns its global. r=smaug
The idea is that you then do things like t.dispatchEvent(new t.ownerGlobal.Event("something")).
2013-05-30 17:46:39 -04:00
Ehsan Akhgari
00a0eca5c5 Bug 877039 - Set the Web Audio maximum channel count to 32; r=roc
--HG--
extra : rebase_source : 7e5bb51cd3bd9b4fbe01649af8f14e17cf6b3042
2013-05-30 14:25:52 -04:00
Andrea Marchesini
af98aa02ae Bug 877638 - Crash in WakeLockBoolWrapper::UpdateWakeLock when running crashtests. r=ehsan 2013-05-30 11:26:12 -04:00
Cameron McCormack
10f689b742 Bug 876323 - Avoid recomputing mPositions when COORD_CONTEXT_CHANGED unless percentages were used. r=jwatt 2013-05-30 10:44:55 +10:00
Ehsan Akhgari
7cf4778379 Bug 877231 - Make the error checking for the OfflineAudioContext constructor more strict; r=roc
--HG--
extra : rebase_source : 123a39f3d4a169c85927b4e23f99a9962efc4452
2013-05-29 19:35:30 -04:00
Michael Brennan
7e2180cd93 Bug 829603 - Change charsets to strings in nsIDocShell. r=hsivonen 2013-05-25 16:09:30 +02:00
Ehsan Akhgari
a87472915d Bug 877125 - Handle the case where the expected number of channels for the offline AudioDestinationNode and the actual input number of channels do not match; r=roc
--HG--
extra : rebase_source : 432c10fe039b24b1aea1d0329ebef37f9e62cd0a
2013-05-29 19:33:14 -04:00
Cosmin Clapon
405d8678b1 Bug 764996 - Dir attribute mapping. r=karlt 2013-05-29 19:26:40 -04:00
Ryan VanderMeulen
0a2c0872da Backed out changeset a966aadd9ae3 (bug 856822) for Windows bustage on a CLOSED TREE. 2013-05-29 17:56:10 -04:00
Ehsan Akhgari
9b848f5568 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Jeff Gilbert
184153e799 Bug 876929 - Check for OES_standard_derivatives on GLES2. - r=bjacob 2013-05-28 17:20:29 -07:00
Arnaud Sourioux
6629173032 Bug 856822: Annotate ~1700 methods with MOZ_OVERRIDE in /content r=smaug 2013-05-29 13:43:41 -07:00
Boris Zbarsky
3eabb6ea4b Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug 2013-05-29 16:16:04 -04:00
Ehsan Akhgari
f093c0091d Bug 875221 - Make sure to balance the creation and destruction of streams for media graphs; r=roc 2013-05-29 11:38:39 -04:00
Ehsan Akhgari
c7959dc839 Bug 876215 - Correctly deal with nodes that require 0 input channels by feeding them a null AudioChunk; r=roc
The assertion here is really not correct, since as this testcase shows,
it's now easy for web content to control the value of outputChannelCount.

--HG--
extra : rebase_source : a6282517673b7c9e73c2114ee0b944fc1022e4ae
2013-05-29 07:40:14 -04:00
Ehsan Akhgari
cc7d5c2b45 Bug 876118 - Impose a unified channel count limit of 10000 channels in Web Audio; r=roc
--HG--
extra : rebase_source : 480cebb99e5dd8673df179b490d11e6c513fa1d1
2013-05-29 07:36:37 -04:00
Jon Coppeard
9c540a5368 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Chris Lord
1b32fbfa12 Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.

--HG--
extra : rebase_source : 12b454362ca9ad989fdf1e29a6715000575c613a
2013-05-29 15:26:39 +01:00
Kartikaya Gupta
d44a465803 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Ed Morley
8a9ae6677a Backed out changeset 7acdb79e4d71 (bug 876639) 2013-05-29 12:09:10 +01:00
Jon Coppeard
1daad09663 Bug 876639 - Address unsafe references from JS_ParseJSON() - Fix browser r=smaug 2013-05-29 09:29:39 +01:00
Simon Montagu
9825cbf993 Assert that entry exists before removing it. Bug 876155, r=ehsan 2013-05-29 10:36:59 +03:00
Ehsan Akhgari
fbb58a2c0f Bug 876834 - Do not accept sampling rates which we won't be able to handle when creating an OfflineAudioContext; r=roc 2013-05-29 00:10:52 -04:00
Zachary Easterbrook
88276eb0f8 Bug 875409 - Replace nsINode::Trace() with nsWrapperCache::TraceWrapper(). r=mccr8 2013-05-28 16:58:29 -07:00
Jeff Gilbert
d0275b4b74 Backout 779a5cfb5395 for burning 2013-05-28 16:41:10 -07:00
Jeff Gilbert
eb92c34076 Bug 874929 - Check whether GLES2 platforms support OES_standard_derivatives. - r=bjacob 2013-05-28 16:13:37 -07:00
Trevor Saunders
4b16c76fb3 backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Ryan VanderMeulen
7e21728f5f Merge m-c to inbound. 2013-05-28 15:55:17 -04:00
Ehsan Akhgari
db2f9876bb Test case for bug 876249 2013-05-28 14:43:35 -04:00
Andrea Marchesini
a94a6e394a Bug 872430 - Timeout between when the media is paused and when the wakelock is released. r=jlebar 2013-05-28 13:30:17 -04:00
Garrett Robinson
109adb2480 Bug 858836 - CSP inline style blocking doesn't work in the Firefox OS emulator. r=bz, r=imelven 2013-05-28 13:29:34 -04:00
Chris Lord
d2ab412202 Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
2013-05-28 18:50:17 +01:00
Ms2ger
38872ca343 Bug 876282 - Add unprefixed cancelAnimationFrame; r=bz
--HG--
rename : content/base/test/test_bug647518.html => content/base/test/test_bug876282.html
2013-05-28 19:31:31 +02:00
Mats Palmgren
37adbfdaca Bug 871099. r=bzbarsky 2013-05-28 03:00:08 +00:00
Ehsan Akhgari
9baff6c056 Bug 876252 - Stop the AudioBufferSourceNode if the offset is no longer valid after setting a new buffer more effectively; r=roc
Calling Stop() here is not quite enough, because web content might call stop() again
with a non-zero argument, which overrides what we do here.
2013-05-27 20:17:24 -04:00
Ed Morley
6114aa7ca4 Backed out changeset 5801b2855c33 (bug 803299) 2013-05-28 14:45:22 +01:00
Chris Lord
f84ffd07a0 Bug 803299 - Replace black.png with black.html for webgl-color-alpha-test. r=jrmuizel
webgl-color-alpha-test fails to render the image correctly since switching on
24-bit rendering, presumably due to async image decoding. Instead, just replace
the pure black 256^2 image with a page that renders the same using a div.
2013-05-28 14:22:13 +01:00
Cameron McCormack
ffd032c17c Bug 876545 - Make test_input_santization.html output a lot less when it passes. r=mounir 2013-05-28 22:24:34 +10:00
Ehsan Akhgari
615f1f5b8a Bug 865256 - Part 1: Implement the DOM bindings for WaveTable; r=roc 2013-05-28 07:19:07 -04:00
Andrew McCreight
60ea412b96 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Phil Ringnalda
a7f63b8156 Merge m-c to a CLOSED TREE m-i 2013-05-27 11:46:31 -07:00
Vladimir Vukicevic
99cf91d665 Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE 2013-05-27 11:45:59 -04:00
Masatoshi Kimura
7bfc74c6ff Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-27 23:43:51 +09:00
Vladimir Vukicevic
8969f99b17 b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel 2013-05-27 10:12:13 -04:00
Jon Coppeard
a07d2309af Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz 2013-05-27 12:50:49 +01:00
Robert O'Callahan
00807e14ef Bug 876133. Ensure output audio volume is updated when 'volume' attribute is set on media element. r=cpearce
--HG--
extra : rebase_source : defbb7d13b70349d321006db37f005888fb6a79e
2013-05-27 17:13:05 +12:00
Andrea Marchesini
2fb9924e99 Bug 869002 - DocumentFragment should be constructable, r=Ms2ger 2013-05-23 03:59:00 -07:00
Masatoshi Kimura
aa5a423a3b Bug 876040 - Replace nsIDOMEvent::GetPreventDefault() with nsIDOMEvent::DefaultPrevented(). r=smaug 2013-05-26 06:05:36 +09:00
Ehsan Akhgari
2e93916b83 Bug 875402 - Delete MediaInputPort objects using normal refcounting semantics; r=roc 2013-05-25 10:01:08 -04:00
Ehsan Akhgari
4655043378 Bug 875911 - Clean up OfflineAudioContexts which have never been rendered; r=roc 2013-05-25 09:59:59 -04:00
Masatoshi Kimura
6c62e3f1ba Backed out changeset db13e1fbc642 (bug 691151) because some in-tree callers are still using the function 2013-05-25 08:41:19 +09:00
Masatoshi Kimura
b5698ac443 Bug 726933 - Add a deprecation warning to getPreventDefault. r=smaug 2013-05-25 07:55:20 +09:00
Masatoshi Kimura
52e23b1271 Bug 875155 - Convert TimeEvent to WebIDL. r=smaug 2013-05-25 07:55:19 +09:00
Ehsan Akhgari
3d0d70af3e Backed out changeset dc96b4762676 (bug 875402) because of crashtest leaks 2013-05-24 15:28:28 -04:00
Justin Lebar
9fb3487db6 Bug 832609 - Make memory reporter for blobs threadsafe. r=khuey
--HG--
extra : rebase_source : 4dc2387ae3867699085139545ff2b57104b1f72a
2013-05-24 13:10:48 -04:00
Olli Pettay
62eb6225a2 Bug 875545 - Make Telephony.h/cpp to use EventListenerAdded/Removed, r=bz
--HG--
rename : content/media/webaudio/test/test_audioParamSetCurveAtTimeZeroDuration.html => content/media/webaudio/test/test_audioParamSetCurveAtTime.html
rename : mobile/android/base/Prompt.java => mobile/android/base/PromptService.java
extra : rebase_source : fcd1f9bbecc8f9025ea0f27274d0f31d745bcf39
2013-05-24 20:22:20 +03:00
Ehsan Akhgari
fd75086ad5 Bug 875596 - Properly handle AudioParam SetCurve automation events with a 0 duration; r=roc
--HG--
rename : content/media/webaudio/test/test_audioParamSetCurveAtTime.html => content/media/webaudio/test/test_audioParamSetCurveAtTimeZeroDuration.html
2013-05-24 13:19:47 -04:00
Ehsan Akhgari
957cbbdf9f Bug 873553 - Part 11: Run the Web Audio tests with two OfflineAudioContexts, one at 48KHz and one at 44.1KHz; r=roc
--HG--
extra : rebase_source : b3847be5b05a9dc5e0d3233fadd30c92a6f07292
2013-05-24 13:11:53 -04:00
Ehsan Akhgari
6949c4ae36 Bug 873553 - Part 10: Allow creating OfflineAudioContexts with arbitrary sampling rates; r=roc
--HG--
extra : rebase_source : 99758cbe05b83d34734e4df11f30ebbbd12811df
2013-05-24 13:11:32 -04:00
Ehsan Akhgari
3ce5b9f23b Bug 873553 - Part 9: Port WebAudioUtils to use the stream's sampling rate; r=roc
--HG--
extra : rebase_source : 18e01ed739bb505f7825c3d79e00c8552a70fad0
2013-05-24 13:11:18 -04:00
Ehsan Akhgari
d2d5f6b5f2 Bug 873553 - Part 8: Port DynamicsCompressorNode to use the stream's sampling rate; r=roc
--HG--
extra : rebase_source : ebf2989b778a03f873eea83ed5c885360981e2ed
2013-05-24 13:10:59 -04:00
Ehsan Akhgari
8e9878cd1b Bug 873553 - Part 7: Port DelayNode to use the stream's sampling rate; r=roc
--HG--
extra : rebase_source : db35f08edab8a54c6c60a0ead2d7afed59d2c360
2013-05-24 13:10:44 -04:00
Ehsan Akhgari
544f957035 Bug 873553 - Part 6: Port BiquadFilterNode to use the stream's sampling rate; r=roc
--HG--
extra : rebase_source : 3522c7cb9ea0469f6ac9607ea0408b078f56f09e
2013-05-24 13:10:24 -04:00
Ehsan Akhgari
1811db3407 Bug 873553 - Part 5: Port AudioBufferSourceNodeEngine to use the stream's sampling rate; r=roc
--HG--
extra : rebase_source : 13d1133fb34d3695eece432047b719b456961610
2013-05-24 13:13:31 -04:00
Ehsan Akhgari
d51de5e22a Bug 873553 - Part 4: Pass the sampling rate to the engine in SetTimelineParameter; r=roc
--HG--
extra : rebase_source : aa574757e9791eafd8c6825328fc4e2f65479f34
2013-05-24 13:10:08 -04:00
Ehsan Akhgari
6fb8c0972a Bug 873553 - Part 3: Rename AudioBufferSourceNodeEngine::mSampleRate to mBufferSampleRate; r=roc
--HG--
extra : rebase_source : 3970da0f20d3d53f17d0ce8244a12de073eeb19a
2013-05-24 13:09:51 -04:00
Ehsan Akhgari
4d8cc1f041 Bug 873553 - Part 2: Teach each AudioNodeStream about its sampling rate, and store the value inside AudioContext; r=roc
--HG--
extra : rebase_source : beed6a6f965acdff307b7d4861d5f336c224d498
2013-05-24 13:09:29 -04:00
Ehsan Akhgari
6e1db6fd29 Bug 873553 - Part 1: Remove AudioContext::GetRate; r=roc
This method is currently unused.

--HG--
extra : rebase_source : c6d5a9788e6cb03fc965852e5b97a72e05cfd3e2
2013-05-24 13:09:08 -04:00
Ehsan Akhgari
4aab55dc3c Bug 875402 - Do the work for initializing a MediaInputPort even if the message is handled during graph shutdown; r=roc 2013-05-24 12:53:41 -04:00
Masayuki Nakano
98454102d1 Bug 807893 part.1 Remove nsIWidget::BeginSecureInput() and nsIWidget::EndSecureInput() r=roc, sr=roc 2013-05-25 01:27:52 +09:00
Ed Morley
e7d3493647 Merge mozilla-central and inbound 2013-05-24 16:09:48 +01:00
Ed Morley
702a315b61 Merge latest green inbound changeset and mozilla-central 2013-05-24 15:49:15 +01:00
Andrea Marchesini
988d2be9ee Bug 875483 - YouTube HTML5 Playback hangs Firefox. r=tterribe 2013-05-24 14:04:20 +02:00
Cameron McCormack
309935707c Bug 875705 - Fix odd numbering of nsAttrValue::ValueType. r=smaug 2013-05-24 23:27:51 +10:00
Boris Zbarsky
3ed0c22089 Bug 875622 part 2. Use handles in ConvertJSValueToString. r=smaug 2013-05-24 09:16:00 -04:00
Ehsan Akhgari
c01c8c6f14 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
e87ed222ac Bug 875144 - Disallow creating AudioBuffers of 0 length; r=roc 2013-05-23 22:39:36 -04:00
Ehsan Akhgari
d593b66025 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
7b3cd12107 b=873757; crash in JSStructuredCloneWriter::writeArrayBuffer; r=bz 2013-05-23 22:09:38 -04:00
Daniel Holbert
31b994ebf8 Bug 875328: Remove stranded (and unnecessary) method-override Attr::AppendChildTo(). r=bz 2013-05-24 09:39:17 +08:00
Olli Pettay
badac86d3c 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
2bb3450256 Bug 871942 - Don't synchronously stop plugins in DestroyContent. r=benjamin 2013-05-23 16:22:28 -07:00
Olli Pettay
0384a0b987 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
b7ba0a0567 Bug 874640 - Make HTMLInputElement.valueAsDate visibility pref controlled. r=bz 2013-05-23 14:10:26 +01:00
Arnaud Bienner
d155f8fd50 Bug 875274 - Implement the content part of <input type="color">. r=mounir 2013-05-23 14:02:23 +01:00
Ehsan Akhgari
2d735d6964 Bug 874024 - Allow creation of ScriptProcessorNodes with 0 input or output channels; r=roc 2013-05-23 08:26:21 -04:00
Ehsan Akhgari
6930fe07cd 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
88179b9901 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
06cc4b9b39 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
21e41b89c5 Bug 875050 - Add EventListenerAdded/Removed to EventTarget, r=bz
--HG--
extra : rebase_source : c7aea2048abd1d74ae02c1cfae84602cdf3af8c3
2013-05-23 14:41:00 +03:00
Olli Pettay
0791df957b Bug 875050, EventListenerManager mTarget should be EventTarget, r=bz
--HG--
extra : rebase_source : 92caa79eb16fbfad7b8cc6a6037db31f47e2f056
2013-05-23 14:38:01 +03:00
Jonathan Watt
9899276072 Bug 874865 - Stop nsSVGOuterSVGFrame::AttributeChanged from calling ChildrenOnlyTransformChanged for transform attribute changes. r=longsonr 2013-05-23 08:04:21 +01:00
Cameron McCormack
68aaee6bba 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
9f0e15d929 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
1434047587 Back out 4fd41b93f97c (bug 865654) for mochitest-1 failure 2013-05-22 21:35:41 -07:00
Matthew Gregan
5db61d9da6 Bug 855130 - Traverse nsHostObjectProtocolHandler from nsDocument. r=khuey 2013-05-03 12:54:05 +12:00
Scott Johnson
fc1801f19b 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
cc2db4daf4 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
8f823bfe9a 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
ab09f23cb3 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Bobby Holley
f2943090bd 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
2bd9226493 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
cdde50556c 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
3aeb0284ff 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
8d8c0cf03f Bug 868130 - Use an AutoSafeJSContext in nsObjectLoadingContent::TeardownProtoChain. r=gabor 2013-05-22 10:05:24 -06:00