Steven Lee
3a819d953f
Bug 809106 - [music] Unplugging headphones while playing music should pause it. Part2-AudioChannelManager implemenentation. r=jlebar, r=sicking
2012-11-29 17:52:03 -05:00
Ed Morley
e19c72f00c
Backout 67e95e421678 (bug 814195) for Windows debug jsreftest failures on a CLOSED TREE
2012-11-29 11:17:11 +00:00
Daniel Holbert
8b1f0f393d
Bug 793308: Remove unneeded/unused "#include string.h" from some SVG c++ files. r=longsonr
2012-11-28 23:13:02 -08:00
ChangZhuo Chen
a16bcd834a
Bug 778053 - Test case for wave metadata. r=kinetik
2012-10-06 19:32:30 +08:00
ChangZhuo Chen
2576dd9681
Bug 778053 - Read wave metadata. r=kinetik
2012-10-06 19:33:11 +08:00
Scott Johnson
29f9330bf3
Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan]
2012-11-28 18:26:39 -06:00
Paul Adenot
556b71143b
Bug 815194 - Remove more ns prefixes on content/media classes + whitespace fixes. r=cpearce
2012-11-28 20:40:07 +01:00
Jacek Caban
ad26851dea
Bug 814708 - Use nsAutoPtr for mTimeStretcher r=padenot
...
--HG--
extra : rebase_source : 6746cf104eac6b66bec48eb235718ad4d6853905
2012-11-28 17:25:57 +01:00
Peter Van der Beken
f19a710259
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
a7a98ebf22
Merge mozilla-central into mozilla-inbound
2012-11-28 09:43:30 -05:00
Olli Pettay
f62ac2c85e
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Olli Pettay
9ade992793
Bug 811206, Fix JSHolder drop handling, part 1 (base), r=mccr8
...
--HG--
extra : rebase_source : 0ea98d9e542ebade36653661fe4e941a03b87781
2012-11-28 01:54:15 +02:00
Peter Van der Beken
113853098a
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
...
--HG--
extra : rebase_source : ea52aea5d91436b516c8aa439f4af741cdea824c
2012-11-27 10:20:04 +01:00
Peter Van der Beken
cab42a1583
Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
...
--HG--
extra : rebase_source : 878d559d1a57ad69bdac7bea682ea344ecdea96a
2012-11-19 11:59:13 +01:00
Daniel Holbert
077a05e898
Bug 815928 part 4: Fix typo s/elemnet/element/ in comments & tests. DONTBUILD, rs=Waldo
2012-11-27 19:15:36 -08:00
Edwin Flores
59cfbb854d
Bug 812756 - Set AmpleVideoFrames to the minimum to win a race when shutting down OMX.qcom.video.decoder.mpeg4 decoder r=doublec
2012-11-28 15:34:53 +13:00
Timothy B. Terriberry
015fc30139
Bug 815825 - Rotate colors in fake video streams, r=jesup
2012-11-27 16:15:55 -08:00
David Keeler
220bb08031
bug 746374 - differentiate click-to-play plugin permissions by type and vulnerability status r=jaws r=joshmoz
2012-11-27 10:09:10 -08:00
Ehsan Akhgari
165f9042db
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Michal Novotny
d5f530148f
Bug 725993 - Remove usage of STORE_ON_DISK flag in XHR code, r=jonas
2012-11-27 12:48:15 +01:00
Daniel Holbert
de968470dd
Bug 815058: Move callers of mozilla-internal-API-only "SetDOMStringToNull()" from nsINode.h to .cpp, to fix "inline function used but never defined" build warnings. r=Ms2ger
2012-11-27 00:41:02 -08:00
Daniel Holbert
254a73bfa8
Bug 815450: Add "u" suffix to numeric literals in TestAudioEventTimeline.cpp, to fix sign-compare build warnings. r=ehsan
2012-11-26 20:34:16 -08:00
Daniel Holbert
d7b2de9476
Backed out changeset 704c91d3e7fa (Bug 814789) because of mac build-bustage
2012-11-26 20:34:10 -08:00
Ehsan Akhgari
64400b3001
Bug 814789 - Tie the life-time of the AudioContext to the life-time of the document owning it; r=bzbarsky
2012-11-23 18:33:41 -05:00
Edwin Flores
92700449d1
Bug 812756 - Remove seeking hack from OMX decoder r=cpearce
2012-11-27 17:08:40 +13:00
Matt Woodrow
0f71885ebe
Bug 810592 - Make nsSubDocumentFrames that are actively scrolling build their own layer. r=roc
2012-11-22 18:33:33 +13:00
Ehsan Akhgari
35149021b6
Bug 815226 - Make the MediaPluginReader not depend on the concrete type of the AbstractMediaDecoder passed to it; r=cpearce
2012-11-26 16:12:24 -05:00
Andrew McCreight
0687798248
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Andrew McCreight
8c7f8d54c8
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Tim Taubert
c11afbf4ac
Bug 813277 - Unable to long-tap hold on the home-screen to invoke the wallpaper menu r=smaug
2012-11-26 19:13:53 +01:00
Mounir Lamouri
511a6a39ad
Bug 813936 - Update nsHTMLInputElement::GetStepBase() to return the default value if there is no min. r=smaug
2012-11-26 11:35:26 +00:00
Fabrice Desré
58a2c50162
Bug 814927 - gstreamer builds broken by Bug 814284 [r=ehsan]
2012-11-25 14:39:11 -08:00
Ehsan Akhgari
46c9d70720
Bug 814757 - Export all decoder reader headers; r=cpearce
2012-11-23 14:52:39 -05:00
Thinker K.F. Li
dcba0eca6c
Bug 805711 - check EOS against audio source for OmxDecoder. r=doublec
2012-11-24 20:25:02 +13:00
Ehsan Akhgari
506826b29f
Bug 814756 - Disambiguate PacketQueue; r=cpearce
2012-11-23 14:47:45 -05:00
Ehsan Akhgari
f26d94d0d6
Merge mozilla-central into mozilla-inbound
2012-11-23 15:03:21 -05:00
Jeff Muizelaar
9f6046a8e9
Bug 813851 - Clear path when creating a path builder. r=bas,ncameron
2012-11-23 14:02:36 -05:00
Olli Pettay
2f2c2e5296
Bug 813919, fix an assertion in DOM Range, r=mats
2012-11-23 17:37:31 +02:00
Marco Chen
7ed3c6e5c5
Bug 813426 - Fail to assign mozAudioChannelType twice. r=kinetik, a=blocking-basecamp
...
Return NS_OK when mozAudioChannelType is assiged to the same type even
if mDecoder is already set up.
2012-11-22 18:03:15 +08:00
Ehsan Akhgari
714687fcd1
Bug 814284 - Part 4: Simplify DecoderTraits::ShouldHandleMediaType; r=cpearce
2012-11-22 15:15:47 -05:00
Ehsan Akhgari
d410d778d1
Bug 814284 - Part 3: Use CodecListContains anywhere we can; r=cpearce
2012-11-22 14:08:57 -05:00
Ehsan Akhgari
5ea1ec777a
Bug 814284 - Part 2: Move the logic of dealing with requested codecs down into DecoderTraits::CanHandleMediaType; r=cpearce
2012-11-22 13:49:37 -05:00
Ehsan Akhgari
544ee6cf7f
Bug 814284 - Part 1: Refactor the code necessary for detection of codec support out of nsHTMLMediaElement; r=cpearce
2012-11-21 22:10:41 -05:00
Benoit Jacob
4f8c5dd285
Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert
2012-11-22 13:53:11 -05:00
Benoit Jacob
0143264919
Bug 810943 - add ability to skip webgl pages on Android by listing them in a text file, skipped_tests_android.txt - r=jgilbert
2012-11-22 13:53:11 -05:00
Benoit Jacob
1dc12cc61f
Bug 814407 - check for null buffer data in readpixels (should never happen, but apparently does) - r=jgilbert
2012-11-22 13:53:11 -05:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Paul Adenot
7cecfa3a41
Bug 495040 - Implement playbackRate and related bits (Fix other tests) r=kinetik
2012-11-22 11:38:29 +01:00
Paul Adenot
ba9e783773
Bug 495040 - Implement playbackRate and related bits (Tests) r=kinetik
2012-11-22 11:38:28 +01:00
Paul Adenot
ae1aed084f
Bug 495040 - Implement playbackRate and related bits r=kinetik
2012-11-22 11:38:28 +01:00
Boris Zbarsky
1797320bb7
Bug 814093. Require preflight requests to receive a 200 response. r=sicking
2012-11-22 01:25:01 -05:00
Boris Zbarsky
0fc5ca0bea
Bug 814064. We should not fire a readystatechange for our transition to the SENT state. r=sicking
2012-11-22 01:25:01 -05:00
L. David Baron
a1ea3d6b5e
Bug 814302: Don't print to console when an invalid selector is passed to mozMatchesSelector. r=bzbarsky
2012-11-21 21:51:39 -08:00
Matthew Gregan
3b3c6ffbfb
Bug 814292 - Remove mAudioPlaybackThread and AudioStream refcounting. r=cpearce
2012-11-22 16:38:39 +13:00
Thinker K.F. Li
1b12bd0076
Bug 810734 - Check EOF to avoid infinite looping when parsing MP4. r=doublec
2012-11-21 22:45:42 -05:00
Boris Zbarsky
cb47226364
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky
84a8cee4a6
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Ehsan Akhgari
db8483a95e
Bug 813637 - Let the compiler convert between the types, so that we don't end up with incorrect pointer math; r=cpearce
2012-11-21 18:30:10 -05:00
Chris Lord
30136b7c25
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 22:34:18 +00:00
Nicholas Cameron
987efb3ce0
Bug 812453; fix CopyInnerTo; r=bz
2012-11-22 10:55:37 +13:00
Nicholas Cameron
b182f5a099
Bug 814149. Fix GetCanvas. r=bz
2012-11-22 10:55:36 +13:00
Bobby Holley
de65cd77ed
Bug 808608 - Remove unnecessary outparam. r=mrbkap
2012-11-21 13:20:05 -08:00
Ehsan Akhgari
a1ca146c7c
Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
...
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
9a58cff763
Bug 783368 - Add critical display port content property. r=roc
...
Add a property to represent a sub-rectangle of the display port that is
considered 'critical' to render correctly.
2012-11-21 19:16:51 +00:00
Ryan VanderMeulen
4b287535f2
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a083c10a47
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Boris Zbarsky
bace71477c
Bug 812744 part 1. Set XSLT result documents to be data documents when we plan to return them to script. r=sicking
2012-11-21 11:18:57 -05:00
Simon Montagu
38b4818ffd
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv.
2012-11-21 02:13:57 -08:00
Simon Montagu
e8cf9a2b19
Changes to existing tests caused by bug 548206
2012-11-21 02:13:55 -08:00
Alexander Surkov
45a8eba52d
Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug
2012-11-21 14:25:20 +09:00
Matthew Gregan
500b23bff8
Bug 813399 - Remove workarounds for sync main thread deadlocks caused by audio remoting. r=cpearce
2012-11-20 15:22:42 +13:00
Mike Habicher
5f2f3fb21a
Bug 813190 - Stop media streams from hanging onto the last played media frame indefinitely. r=roc
2012-11-20 20:32:06 -05:00
Seth Fowler
c42d3467d8
Bug 812241 - Remove disabled test warnings. r=khuey
2012-11-20 16:13:04 -08:00
Tanvi Vyas
2ddf3ce5d1
Bug 802905 - Create custom Content Type for CSP Reports. r=sstamm, sr=bz
2012-11-20 20:28:34 -05:00
John Schoenick
e461869ed4
Bug 788252 - Cleanup frame loader when aborting a recursive load in object/embed tags. r=josh
2012-11-20 17:08:12 -08:00
Erick Dransch
690e22a9ec
Bug 801499 - Move WebGLBuffer to a separate file. r=bjacob
2012-11-20 16:38:20 -05:00
L. David Baron
643f1a5461
Bug 813373, patch 4: fix printfs that crept in in patch 3.
2012-11-20 13:22:35 -08:00
Mats Palmgren
d8c8edaeec
Bug 804784 - Crash with range, normalize. r=smaug
2012-11-20 21:14:15 +01:00
Mats Palmgren
02f2e08262
Bug 803924 - Crash with range, splitText. r=smaug
2012-11-20 21:14:15 +01:00
L. David Baron
6bcf5f5075
Bug 813373, patch 3: Make sure all style rules have non-empty List implementations. r=bzbarsky
2012-11-20 11:55:14 -08:00
L. David Baron
4b115c0f94
Bug 813373, patch 2: Remove pres context member from ValueWrapper. r=dholbert
2012-11-20 11:55:14 -08:00
L. David Baron
142c957b38
Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert
2012-11-20 11:55:14 -08:00
Ralph Giles
0f21dd7253
[PATCH] Bug 812847 - Test Opus channel count validation - r=kinetik
...
From 49f5e33d79df3713bc510e611a5064858bf24e4a Mon Sep 17 00:00:00 2001
These files have specially crafted headers which should be
rejected by the new checks added to resolve this bug. If any
audio output is produced then this bug has re-occured.
The audio data is the phrase "invalid file", in one or six
channels, to make this more obvious.
The new mochitest test_invalid_reject.html tries to load
and play each of the new invalid files and verifies that
an error event is triggered. Since the invalid data is in
the file headers, this should happen after network load
but before metadata is ready, so the test also asserts
errors if loadedmetadata or a number of subsequent events
are triggered.
The test will time out if no error event is fired at all.
Thanks to Matthew Gregan for assistance writing the mochitest.
---
content/media/test/Makefile.in | 11 ++++++
content/media/test/invalid-cmap-s0c0.opus | Bin 0 -> 6835 bytes
content/media/test/invalid-cmap-s0c2.opus | Bin 0 -> 6834 bytes
content/media/test/invalid-cmap-s1c2.opus | Bin 0 -> 6848 bytes
content/media/test/invalid-cmap-short.opus | Bin 0 -> 6854 bytes
content/media/test/invalid-m0c0.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m0c3.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m1c0.opus | Bin 0 -> 6836 bytes
content/media/test/invalid-m1c9.opus | Bin 0 -> 6836 bytes
content/media/test/invalid-m2c0.opus | Bin 0 -> 2471 bytes
content/media/test/invalid-m2c1.opus | Bin 0 -> 2455 bytes
content/media/test/manifest.js | 14 ++++++++
content/media/test/test_invalid_reject.html | 52 ++++++++++++++++++++++++++++
13 files changed, 77 insertions(+)
create mode 100644 content/media/test/invalid-cmap-s0c0.opus
create mode 100644 content/media/test/invalid-cmap-s0c2.opus
create mode 100644 content/media/test/invalid-cmap-s1c2.opus
create mode 100644 content/media/test/invalid-cmap-short.opus
create mode 100644 content/media/test/invalid-m0c0.opus
create mode 100644 content/media/test/invalid-m0c3.opus
create mode 100644 content/media/test/invalid-m1c0.opus
create mode 100644 content/media/test/invalid-m1c9.opus
create mode 100644 content/media/test/invalid-m2c0.opus
create mode 100644 content/media/test/invalid-m2c1.opus
create mode 100644 content/media/test/test_invalid_reject.html
2012-11-19 15:13:43 -08:00
Phil Ringnalda
742e53a9d6
Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange
2012-11-20 08:44:04 -08:00
Boris Zbarsky
bca9c82c0f
Bug 812789. Remove some dead code for converting jsvals to Matrix objects. r=nrc
2012-11-20 11:36:06 -05:00
Simon Montagu
8738532f96
Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv
2012-11-20 06:21:15 -08:00
Simon Montagu
1aa2ea0f37
Changes to existing tests caused by bug 548206
2012-11-20 06:21:13 -08:00
Masayuki Nakano
61c782cf5e
Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug
2012-11-20 15:05:56 +09:00
Masayuki Nakano
bc39d12867
Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug
2012-11-20 15:05:56 +09:00
Andrew McCreight
9e1bb32dec
Bug 815454 - Clean up Traverse/Unlink of web audio. r=smaug
2012-11-27 15:08:22 -08:00
Andrew McCreight
7e2e9bf16b
Bug 814752 - Make NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER work for native CC classes. r=smaug,ehsan
2012-11-27 15:08:22 -08:00
Ehsan Akhgari
69c983597a
Backed out 6 changesets (bug 814821, bug 815158, bug 814195) for test failures
...
Backed out changeset 0c2011091748 (bug 815158)
Backed out changeset 9d70b4460508 (bug 814195)
Backed out changeset bf8746658a72 (bug 814821)
Backed out changeset e73366b088d7 (bug 814821)
Backed out changeset 49fc6d535c41 (bug 814821)
Backed out changeset 987aea26a43a (bug 814821)
2012-11-27 16:30:39 -05:00
Chris Jones
2114064656
Bug 811315: Use process-per-mozbrowser by default and make scrolling behavior selectable by content. r=jlebar sr=roc
...
This is a rollup of the following patches
Bug 811315, part 0.9: Fix pre-existing race condition that allows dying ContentParents to accidentally try to load new TabParents. r=jlebar
Bug 811315, part 0.91: Fix another pre-existing race condition where FirstIdle might run after ContentChild::ActorDestroy(). r=jlebar
Bug 811315, part 1: Make "browser" process limit infinite and unload the processes when all tabs are closed. Firefox with process-per-tab! r=jlebar
Bug 811315, part 2: Pass scrolling-behavior hint down into TabParent instead of inferring it from app/browser. r=jlebar
Bug 811315, part 3: Add a mozasyncpanzoom attribute for iframes and honor it when constructing a remote frame. r=jlebar sr=roc
2012-11-27 12:43:52 -08:00
Peter Van der Beken
b2ab6f137e
Fix for bug 815158 (Make HTMLElement.ontouch* work with tristate dom.w3c_touch_events.enabled). r=bz.
...
--HG--
extra : rebase_source : 0cd9bf993ed3981c1f2e37975ca8daf0b8e8ece7
2012-11-19 11:59:13 +01:00
Peter Van der Beken
d376ba5130
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 349ceea8412f4133e1b9de4e2859d7663da27fa5
2012-11-22 12:09:43 +01:00
Peter Van der Beken
46f97d81e7
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
...
--HG--
extra : rebase_source : 81a3891d0f51d98f4230583f816a82906d0ee904
2012-11-27 10:20:04 +01:00
Boris Zbarsky
22fd7f8467
Bug 767933 part 5. Remove no longer needed FloatValidate calls from canvas code. r=bas
2012-11-27 15:32:05 -05:00
Boris Zbarsky
e0facaae90
Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas
2012-11-27 15:32:05 -05:00
Boris Zbarsky
f288cb5e86
Bug 814050. XMLHttpRequest.withCredentials header should throw on main thread too, in some cases. r=peterv
2012-11-27 15:20:40 -05:00
Boris Zbarsky
7dbfc9a732
Bug 814576. Make XMLHttpRequest really set its progress events as trusted. r=smaug
2012-11-27 15:20:40 -05:00