Commit Graph

19230 Commits

Author SHA1 Message Date
John Schoenick
da458dfe61 Bug 967694 - Make clear that we only sync spawn plugins in response to content, not chrome, JS access. r=bsmedberg 2014-02-11 12:14:40 -08:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jacek Caban
06c5f9e5cc Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Ryan VanderMeulen
b00bcceebe Merge m-c to inbound. 2014-02-11 14:58:40 -05:00
Ryan VanderMeulen
c511df94e8 Merge b2g-inbound to m-c. 2014-02-11 14:57:31 -05:00
Randy Lin
c4ae142805 Bug 957452 - Test case for capture use-after-free on MediaRecorder::Session::GetEncodedData. r=jsmith 2014-02-10 16:55:22 +08:00
Max Vujovic
ea7b318066 Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc 2014-02-09 20:31:03 -08:00
Birunthan Mohanathas
5c07b101f3 Bug 963056 - Part 1: Name unnamed struct in IRC_Composite_C_R0195-incl.cpp. r=ehsan 2014-02-11 13:31:57 -05:00
Randy Lin
81725098a6 Bug 957452 - MediaRecorder: Fix use-after-free crash [@mozilla::dom::MediaRecorder::Session::GetEncodedData]. r=roc 2014-01-13 16:11:22 +08:00
Ryan VanderMeulen
957762b455 Merge m-c to b2g-inbound. 2014-02-11 08:43:09 -05:00
Ben Kelly
4b1f726873 Bug 969114: Avoid allocation slop in MediaCacheStream. r=cpearce DONTBUILD 2014-02-10 22:43:52 -08:00
Ben Kelly
f48b61e15e Revert bug 969114 (76e72417a9d7) for incorrect commit message. DONTBUILD 2014-02-10 22:43:52 -08:00
Ben Kelly
31ee3bc990 Bug 969114: Avoid allocation slop in MediaCacheStream. 2014-02-10 22:31:40 -08:00
Phil Ringnalda
17e6ef5703 Back out f03664765359 (bug 909542) for unexpected assertions and lack of expected assertions 2014-02-10 19:09:23 -08:00
Mike Habicher
dc323719b7 Bug 909542 - refactor CameraControl API, r=dhylands,jst,jesup,onecyrenus
* * *
Debugging the rotation issue with new camera.js
* * *
Fix the occasionally-invalid MOZ_ASSERT on GonkCameraControl.cpp:844
2014-02-10 17:53:19 -05:00
Ryan VanderMeulen
afbec0e4a9 Merge inbound to m-c. 2014-02-10 15:42:58 -05:00
Rick Eyre
20d779c73f Bug 969506 - TextTrack's ActiveCues should return null of TextTrack's mode is set to 'disabled'. r=rillian 2014-02-07 13:59:26 -05:00
Benjamin Chen
95ef85263f Bug 964209 - [RTSP] Implement flags() function and set mExtractor to fix content process crash. r=sworkman 2014-02-07 15:46:26 +08:00
JW Wang
3bae414e05 Bug 951100 - a.setAttribute("autoplay", false) doesn't work as expected as a.autoplay = false. r=cpearce 2014-02-10 10:27:47 +08:00
Phil Ringnalda
e8a25536e3 Merge m-c to m-i 2014-02-09 18:49:43 -08:00
Phil Ringnalda
5e655b57db Merge b-i to m-c 2014-02-09 18:36:38 -08:00
Ehsan Akhgari
71c514446c Bug 969870 - Use fallible allocations to store the used attributes of a WebGL program; r=bjacob
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-09 18:16:38 -05:00
Ehsan Akhgari
9b7fd0f558 Bug 969869 - Use fallible allocation in WebGL element array cache; r=bjacob
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-09 18:16:03 -05:00
Alfredo Yang
3a4bbe0a0b Bug 853356 - gUM video permisson prompt. r=fabrice, felipc, wjohnston, mrbkap, jimm, jesup, khuey, jsmith 2014-02-09 15:34:40 -05:00
Ms2ger
5111aca8f0 Merge m-i to m-c. 2014-02-09 10:31:55 +01:00
Ms2ger
923912957b Bug 969030 - Remove support for calling document.all; r=bz 2014-02-09 09:04:40 +01:00
Ms2ger
1f86cbc23f Bug 968805 - Pass nsIDocument to nsIContentViewer.loadStart; r=smaug 2014-02-09 09:04:40 +01:00
Ms2ger
b27251ab25 Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Ms2ger
4d48d6ccd6 Bug 952033 - Part e: Use IntSize in VideoSegment; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
6ffff19004 Bug 952033 - Part d: Use IntSize in MediaDecoder; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
f79d93ff0a Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
479e9f45c5 Bug 952033 - Part b: Use IntSize in CreateOffscreenSurface; r=roc 2014-02-09 09:04:38 +01:00
Ms2ger
a570615379 Bug 968766 - Part k: Move the hashmap for named access to document.all into HTMLAllCollection; r=jst 2014-02-09 09:04:37 +01:00
Ms2ger
ce843f3b65 Bug 968766 - Part j: Remove the nsresult outparam from nsHTMLDocument::GetDocumentAllList and HTMLAllCollection::GetNamedItem; r=jst 2014-02-09 09:04:37 +01:00
Ms2ger
191c86706d Bug 968766 - Part i: Move the document.all NodeLists into a separate hashtable; r=jst 2014-02-09 09:04:36 +01:00
Ms2ger
017d66f984 Bug 968766 - Part h: Replace GetDocumentAllResult by GetDocumentAllList on nsHTMLDocument; r=jst 2014-02-09 09:04:36 +01:00
Ms2ger
6f6b21f39a Bug 968766 - Part g: Only unwrap the HTMLAllCollection once; r=jst 2014-02-09 09:04:36 +01:00
Ms2ger
2a88f045fd Bug 968766 - Part f: Introduce HTMLAllCollection::GetNamedItem; r=jst 2014-02-09 09:04:36 +01:00
Ms2ger
3986b6c5dd Bug 968766 - Part e: Introduce HTMLAllCollection::Item; r=jst 2014-02-09 09:04:35 +01:00
Ms2ger
b86cdb9379 Bug 968766 - Part d: Introduce HTMLAllCollection::Length; r=jst 2014-02-09 09:04:33 +01:00
Ms2ger
781b654612 Bug 968766 - Part c: Remove nsHTMLDocumentSH::GetDocumentAllNodeList; r=jst 2014-02-09 09:02:45 +01:00
Ms2ger
b9492277e4 Bug 968766 - Part b: Store the document.all NodeList in a C++ member rather than a reserved slot; r=jst 2014-02-09 09:02:45 +01:00
Ms2ger
d7fe09563d Bug 968766 - Part a: Move the custom HTMLAllCollection code from nsDOMClassInfo.cpp to HTMLAllCollection.cpp; r=jst 2014-02-09 09:02:45 +01:00
Ms2ger
076465756c No bug - Stop building PluginDocument.cpp in unified mode.
It pulls in system headers that conflict with the new code in
HTMLAllCollection.cpp.
2014-02-09 09:02:45 +01:00
Robert Longson
3da1b52f83 Backout Bug 964200 part 3c 2014-02-08 21:02:30 +00:00
Robert Longson
429e5866b8 Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter. r=mstange 2014-02-08 20:16:22 +00:00
Ehsan Akhgari
9f20e412a4 Bug 969871 - Use fallible allocation for text hyphenation; r=jfkthame
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 13:10:44 -05:00
Robert Longson
8b21c82f7c Bug 964200 (Part 3a moz2d) - Implement Filter Effects Module feDropShadow filter. r=mstange
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-08 16:49:46 +00:00
James Kitchener
c4e3d02e12 Bug 969346 - Allow nesting of srcdoc iframes. r=bz 2014-02-08 21:05:48 -05:00
Ronny Perinke
7ec3301e1f Bug 967731 - Fix import and type conversion error from bug 963621. r=doublec 2014-02-08 20:58:14 -05:00
Ben Kelly
a2bf113ede Bug 969826: Correctly track number of samples copied in DirectShowCopy. r=cpearce 2014-02-08 16:43:49 -08:00
Robert Longson
e7f708a1fd Bug 964200 (Part 3b activate) - Implement Filter Effects Module feDropShadow filter r=mstange 2014-02-09 09:46:16 +00:00
Karl Tomlinson
7bfe15413c b=969089 allow an offline graph to shutdown before it's AudioDestinationNode is unlinked r=roc
A non-realtime graph does not start up again after finished processing, so it
can safely enter LIFECYCLE_WAITING_FOR_STREAM_DESTRUCTION.

--HG--
extra : transplant_source : %AF%98D%D5%EE%CA7zfv.%B4%F4%D8%05Q7%C2%8D%A7
2014-02-11 13:04:58 +13:00
Karl Tomlinson
8f5e56b187 b=967972 avoid overflow in buffer position when looping r=padenot
As a side-effect, the buffer playback will now continue from the same buffer
sample number (even when looping), where possible, in the following situations:

* Changing the loop start or end parameters.

* Changing the buffer to one of a different sample rate.

--HG--
extra : transplant_source : 2%11%7Dm%92pu%60%E3G%D4%D4%DB0%2B%20%9A%1Bd%FA
2014-02-11 11:19:26 +13:00
Wes Kocher
85c4b8aea7 Backed out changeset 754428833970 (bug 936340) for mochitest-3 failures on a CLOSED TREE 2014-02-10 16:02:45 -08:00
Rick Eyre
ce8424f247 Bug 967157 - Setting TextTrackCue::DisplayState should set TextTrackCue::HasBeenReset to false. r=rillian 2014-02-03 15:27:51 -05:00
Phil Ringnalda
bd1e43cf13 Back out 4 changesets (bug 777574) because it's the slaves, not the tests
Backed out changeset ce3f48acc244 (bug 777574)
Backed out changeset f3c918a0e91c (bug 777574)
Backed out changeset fd79a8abbbf8 (bug 777574)
Backed out changeset 371e42c987d6 (bug 777574)

--HG--
extra : rebase_source : 04c61c132e85f366088d2318f282acd63b5faa0e
2014-02-07 19:04:02 -08:00
Honza Bambas
c1f6394b57 Bug 962949 - disable v.networkState checks in test_preload_actions.html because those are not reliable, r=roc 2014-02-07 22:15:22 +01:00
Bob Owen
8d1e3570c8 Bug 624883 - Tests for ensuring that view-source is forbidden in iframes. r=bz 2014-01-23 16:02:10 +00:00
Ryan VanderMeulen
e77e2b92b7 Merge inbound to m-c. 2014-02-07 14:22:17 -05:00
Ryan VanderMeulen
15a84a312d Backed out changeset 8d885b139d7d (bug 912280) for bustage. 2014-02-07 10:38:27 -05:00
Jeff Gilbert
40f251b54b Bug 912280 - Implement OES_texture_half_float_linear for WebGL. r=kamidphish 2014-02-07 10:21:49 -05:00
Jacek Caban
8de6e62cec Bug 962385 - Minor GCC compilation fix. 2014-02-07 12:51:34 +01:00
Rick Eyre
621560cbb6 Bug 881976 - Part 3: Refactor TextTrack classes. r=rillian
Change the way they store references to eachother to make more sense.
A Track will never belong to a MediaElement directly. It will always
belong to one through a TextTrackList.
2014-01-27 15:17:20 -05:00
Rick Eyre
61f508e510 Bug 881976 - Part 2: Expose TextTrackList's MediaElement to chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to a TextTrackList's
MediaElement in order to compute a TextTrackCue's line position. Therefore,
we need to expose it to chrome JS.
2014-01-27 14:51:28 -05:00
Ben Kelly
393770a388 Bug 960873: Part 8: Use AudioCompactor in android PluginMediaReader.cpp. r=cpearce (DONTBUILD for re-land) 2014-02-06 16:59:06 -05:00
Ben Kelly
aa40a8f15b Revert Bug 960873 Part 8 (de00c8bfc9b9) due to missing r= in commit message 2014-02-06 16:55:00 -05:00
Ben Kelly
1df3c97995 Bug 960873: Part 8: Use AudioCompactor in android PluginMediaReader.cpp. 2014-02-06 16:49:53 -05:00
Ryan VanderMeulen
4fb42adba3 Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Ryan VanderMeulen
551fc78a2e Merge b2g-inbound to m-c. 2014-02-06 16:28:14 -05:00
Ehsan Akhgari
39adaff9ec Bug 968879 - Use [Pref] annotations to enable web speech interfaces; r=smaug 2014-02-06 15:00:37 -05:00
Alex Henrie
13975faf63 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
JW Wang
389d16deba Bug 964674 - Use SpecialPowers.pushPrefEnv to ensure "media.video_stats.enabled" is turned on/off before proceeding test. r=padenot 2014-02-06 16:27:35 +08:00
Alfredo Yang
28f4833f63 Bug 968144 - Stop sending frame when camera stopping. r=jesup 2014-02-06 10:12:07 -05:00
Daniel Holbert
7e00bbe6c2 Bug 968634: Fix broken inequality comparison in SpeechRecognition.cpp. r=ggp 2014-02-06 10:56:50 -08:00
Ehsan Akhgari
0fcd2af628 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Ehsan Akhgari
f54316ca85 Bug 968479 - Remove the media.webaudio.enabled pref; r=roc
--HG--
extra : rebase_source : 3618cb3097aa99a79a06af016bf6b3a3c6f77208
2014-02-06 08:36:46 -05:00
Ralph Giles
edef572118 Bug 966311 - Calculate frame size for stereo wave. r=doublec
We were assuming 8-bit WAVE files were mono-only, but this is
not necessarily the case.
2014-01-31 13:50:45 -08:00
JW Wang
e7cec1dd24 Bug 962883 - Use SpecialPowers.pushPrefEnv to ensure "media.ogg.enabled" is turned off before testing media recorder. r=jsmith 2014-01-28 12:03:59 +08:00
Karl Tomlinson
38594bd8de b=967992 collect unreferenced AudioBufferSourceNodes with no buffer r=padenot
The playing ref now only exists while there is a buffer.
We don't currently dispatch ended events when there is no buffer.

--HG--
extra : transplant_source : Ba%0BRD%89%96%99%F14%B6%40%3D%B2%C1%D5%28%D6%15%12
2014-02-06 08:33:16 +13:00
Karl Tomlinson
f1c8b044ec b=967992 dispatch ended event, remove playing ref when source buffer is replaced with one shorter than offset r=padenot
Sending an updated BUFFEREND will stop playback appropriately.

--HG--
extra : transplant_source : %17%81%5D%B5%CD%F1%7F%EC%23%28%F5D%E4oh%DB%9F%E7%210
2014-02-06 08:30:49 +13:00
Karl Tomlinson
eaca594bbb b=967992 test to check for ended event when source buffer is replaced with another shorter than offset
--HG--
extra : transplant_source : -HA%5D%8E%10%1B%14%E8%E2A%9Al%CF%A5d%7D%A3%9B%A1
2014-02-06 08:29:12 +13:00
Karl Tomlinson
8dd5bcc7a7 b=967972 include offset in buffer position r=padenot
There is a change in behaviour re the offset parameter when changing the
buffer while playing to one with a different sample rate, but I'm not clear
that what we current do with mPosition in that situation is best anyway.  I
think the main thing is to ensure playback from the same place if the buffer
is changed to one with the same sample rate.

--HG--
extra : transplant_source : %17%40%15%12L%9E%05et%C2o%BE%15%D7%C7%F4%ED%5E%24q
2014-02-06 08:28:42 +13:00
Karl Tomlinson
a2c021ffa5 b=967972 change DURATION engine parameter to BUFFEREND r=padenot
--HG--
extra : transplant_source : %B4%F3i%7FV%A95F%D0%BD%C4%E6u%03%F7%04%7Di%7C%A9
2014-02-06 08:27:45 +13:00
Atte Kettunen
e88ccc7117 test for bug 952756
--HG--
extra : transplant_source : %7E%B4%3C%8B%F6m%B3%CD%12%F4%93%FB%A1%D3%21%D5%F6Q%AFz
2014-02-06 08:18:39 +13:00
Karl Tomlinson
e3e1b11c56 b=967924 correct resampler input buffer sample count estimate math r=padenot
--HG--
extra : transplant_source : %15%90%0C%22_%99%BFK%14%93%28L%23hZ1%FE%B7NB
2014-02-06 08:15:31 +13:00
Ben Kelly
7edf86f691 Bug 960873: Part 7: Reduce apple mp3 MAX_AUDIO_FRAMES to minimize alloc slop. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
d23378c93a Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
bfdee09390 Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
c99c02ad87 Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
081b2e6a70 Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-05 18:11:25 -05:00
Ben Kelly
3503a2243d Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce
Based on original patch written by :gal.
2014-02-05 18:11:25 -05:00
Richard Barnes
00ef0132bd Bug 936340 - Implement navigator.sendBeacon. r=sicking 2014-01-17 14:09:38 -08:00
Jeff Walden
2e98cbd7d0 Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in content/. r=bent
--HG--
extra : rebase_source : 8123e5dd1728211a9deb0df4e32560eaa7f8a40c
2014-02-06 22:17:07 -08:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Guilherme Goncalves
1a9473b950 Bug 968634 - Test for InvalidStateError on all speech recognition handlers. r=smaug
This patch updates the test to make sure we throw InvalidStateError on every
event handler while not on STATE_IDLE.
2014-02-10 15:58:46 -05:00
Masatoshi Kimura
84b0ee5c63 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Ryan VanderMeulen
7c4efd7351 Merge m-c to inbound. 2014-02-10 15:43:52 -05:00
Olli Pettay
8e0e3d9149 Bug 969671 - Warn about use of sync XHR in the main thread, r=sicking/ehsan
--HG--
extra : rebase_source : 4af00da28a4e8b6cc1209d9a5e098d9914286deb
2014-02-10 20:35:25 +02:00
Henri Sivonen
c1e3afbe3c Bug 910211 - Guess the fallback encoding from the top-level domain when feasible. r=emk. 2014-02-06 11:08:01 +02:00
Brian O'Keefe
ce139cc580 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Antonio M. Amaya
64ce5e6697 Bug 965273 - CSP: Fix serialization and deserialization and add support for the {} characters on the host name. r=sstamm 2014-01-30 22:22:21 +01:00
Alessandro Decina
c227f421a5 Bug 806917 - Add support for GStreamer 1.0. r=edwin, r=gps 2014-02-11 09:22:45 -05:00
Peiyong Lin
7ab1deb19e Bug 613472 - Use the fallible allocator and propagate errors in AppendASCIItoUTF16. r=bsmedberg 2014-02-11 09:22:45 -05:00
Jon Coppeard
60baf94ae8 Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Jon Coppeard
b6588e8cbf Bug 965830 - Remove AutoArrayRooter from the public API r=terrence r=smaug 2014-02-11 10:59:15 +00:00
Oleg Romashin
1e1bc78268 Bug 967796 - Implement Pointer Enter/Leave events support. implementation for pointer's. r=smaug 2014-02-10 22:34:51 -08:00
Oleg Romashin
baddfd8a3b Bug 822898 - Implement pointer events. Detect Pointer Listeners. r=smaug 2014-02-10 22:33:29 -08:00
Alessandro Decina
bcedc6fe80 Bug 959007 - Firefox crashes when starting html5 web player. r=cpearce, r=edwin 2014-02-05 17:46:04 -05:00
Max Vujovic
42ed656cbd Bug 948265 - [CSS Filters] Move nsAutoFilterInstance filter region calculations into nsSVGFilterInstance. r=roc 2014-02-05 17:04:42 -05:00
Rick Eyre
7be4b8fb00 Bug 881976 - Part 1: Expose TextTrack::TextTrackList to Chrome JS. r=rillian, r=bz
Our JS WebVTT implementation (vtt.js) needs access to the Track's
TextTrackList in order to compute the line position of a TextTrackCue.
Therefore, we need to expose it to chrome JS so that vtt.js can have
access to it.
2014-01-27 13:10:06 -05:00
Ryan VanderMeulen
76412a3cd2 Merge b2g-inbound to m-c. 2014-02-05 15:47:36 -05:00
Ryan VanderMeulen
e3b6b30cd3 Merge inbound to m-c. 2014-02-05 15:20:59 -05:00
Phil Ringnalda
fe6c4959d1 Backed out 6 changesets (bug 960873) for Win64 build bustage
Backed out changeset 33d8989841ac (bug 960873)
Backed out changeset 6c9e404aeb3f (bug 960873)
Backed out changeset 36c8b10b0a31 (bug 960873)
Backed out changeset 29c36a7acfb0 (bug 960873)
Backed out changeset 6e3966e0eb40 (bug 960873)
Backed out changeset 612db692256b (bug 960873)
2014-02-05 09:28:14 -08:00
Phil Ringnalda
d8055d939b Backed out 2 changesets (bug 964200) for build bustage
CLOSED TREE

Backed out changeset 7dbe53176a38 (bug 964200)
Backed out changeset 19993e76f4a0 (bug 964200)
2014-02-05 09:19:08 -08:00
Robert Longson
649aa6ceee Bug 964200 (Part 3 main) - Implement Filter Effects Module feDropShadow filter. r=mstange
--HG--
rename : content/svg/content/src/SVGFEGaussianBlurElement.cpp => content/svg/content/src/SVGFEDropShadowElement.cpp
rename : content/svg/content/src/SVGFEGaussianBlurElement.h => content/svg/content/src/SVGFEDropShadowElement.h
rename : dom/webidl/SVGFEGaussianBlurElement.webidl => dom/webidl/SVGFEDropShadowElement.webidl
2014-02-05 16:46:47 +00:00
Carsten "Tomcat" Book
7ba25aaf1f merge b2g-inbound to mozilla-central 2014-02-05 13:23:25 +01:00
Ben Kelly
e1edba5c98 Bug 960873: Part 7: Reduce apple mp3 MAX_AUDIO_FRAMES to minimize alloc slop. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
c0578495d0 Bug 960873: Part 6: Make DirectShow use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
24bfd36b75 Bug 960873: Part 5: Make gstreamer use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
feeda676db Bug 960873: Part 4: Make OMX use AudioCompactor. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
5341516b38 Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-04 23:10:43 -05:00
Ben Kelly
41394d104a Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce
Based on original patch written by :gal.
2014-02-04 23:10:43 -05:00
Ben Kelly
1b1cb3004d Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
Phil Ringnalda
1bd32f6b3f Bug 777574 - Skip quickCheckAPI-C.html on Linux Mesa since it fails on ASan tests all the time 2014-02-03 17:04:53 -08:00
Honza Bambas
4fa7f4f872 Bug 949175 - Remove possibility to un-persist a cache entry after it has been opened, r=michal 2014-02-04 01:52:59 +01:00
William Chen
7dc9fbe59e Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen 2014-01-31 15:03:24 -08:00
Kartikaya Gupta
3c76d5ff2b Bug 845690 - Print a warning for developers if we apply our implicit backwards-compatible meta-viewport tag. r=ehsan,f=vingtetun 2014-02-03 18:22:09 -05:00
Andrea Marchesini
0991ae3875 Bug 965990 - Allow URLSearchParams objects to be associated with multiple URLs, r=ehsan 2014-02-03 16:48:38 +00:00
Boris Zbarsky
5d6910fbb0 Bug 966710. Flag document.getElementsByTagNameNS as being able to throw, since it can. r=smaug 2014-02-03 11:03:54 -05:00
Karl Tomlinson
0438bb13e4 b=966867 use internal linkage for GetSampleRateForAudioContext r=kinetik
--HG--
extra : transplant_source : t%F5%2A%A2%ADbI%40%A3%0E%9FS%D1%FCC%0B%1B%3E%0A%9B
2014-02-03 17:40:24 +13:00
Karl Tomlinson
8f6f9169cb b=966867 don't overwrite preferred sample rate with default r=kinetik
--HG--
extra : transplant_source : /S%9D/%BC%80%E0%E3%C3%11%E7%EA%D4%BB%F3%D7%AD%06%B7%25
2014-02-03 17:40:03 +13:00
Karl Tomlinson
dfc02ca84c b=966800 don't ignore blocking changes when another stream is finishing or underrunning r=roc
--HG--
extra : transplant_source : %7C%C3B%08%3E%D2%B2%93%BC%811%22%D1%27%95%AF%BD%D1eB
2014-02-03 13:55:41 +13:00
Phil Ringnalda
94f53bb4cc Bug 777574 - Skip quickCheckAPI-B4.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 21:19:46 -08:00
Phil Ringnalda
bc0bebe2f1 Bug 777574 - Skip quickCheckAPI-B3.html on Linux Mesa since it fails on ASan tests all the time 2014-02-02 18:39:18 -08:00
Alfredo Yang
d7aa5ba658 Bug 964197 - Add frame duration for synchronization. r=cpearce 2014-02-02 20:57:41 -05:00
Phil Ringnalda
e4780f4d1d Merge m-i to m-c 2014-02-02 17:43:48 -08:00
Phil Ringnalda
749abaecfe Bug 777574 - Skip quickCheckAPI-B2.html on Linux Mesa since it fails on ASan tests all the time
--HG--
extra : rebase_source : 4e4304169755fe6fa28457c3b330e173296b6393
2014-02-02 11:43:55 -08:00
Benjamin Chen
cd577b769d Bug 964132 - [RTSP] Fix the cycle reference in RtpsMediaResource. r=sworkman 2014-02-05 10:41:42 +08:00
Jonathan Watt
a47685084f Bug 827161, part 2 - Implement HTML 5's ValidityState.badInput and implement the state for HTMLInputElement's number type. r=smaug 2014-01-30 12:54:12 +00:00
Jonathan Watt
7aff71fb09 Bug 827161, part 1 - Only dispatch 'change' events if an HTMLInputElement's sanitized value has changed. r=smaug 2014-01-30 10:45:46 +00:00
Ryan VanderMeulen
2a828dc50d Merge m-c to inbound. 2014-02-01 17:22:56 -05:00
Ryan VanderMeulen
29be9956f3 Merge b2g-inbound to m-c. 2014-02-01 17:22:20 -05:00
Alfredo Yang
5e90cfefe6 Bug 961618 - Reduce memory usage by swapping audio/video array pointer. r=cpearce 2014-01-31 21:51:27 -05:00
Ryan VanderMeulen
258f1cdb33 Merge inbound to m-c. 2014-01-31 21:14:13 -05:00
Ryan VanderMeulen
d138a2d3fb Backed out changeset a6094047ffca (bug 965440) for B2G mochitest crashes.
CLOSED TREE
2014-01-31 15:42:31 -05:00
Chris Pearce
f82e3baeb5 Bug 966002 - Buffer async events to media elements while event delivery is paused like we do for sync events. r=roc 2014-01-31 13:14:17 -05:00
Garrett Robinson
9d7ec4b281 Bug 963901 - Fix variable format error. r=sstamm 2014-01-31 21:54:48 -05:00
Robert Longson
db9e6e9629 Bug 964200 (Part 1) - Implement Filter Effects Module feDropShadow filter. r=hsivonen 2014-02-05 14:13:37 +00:00
Paul Adenot
fd4a36b581 Bug 883010 - 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 : f1b09842f12b66ac0398b4780865cde461445a8a
2014-01-29 14:34:35 +01:00
Jonathan Watt
b1b947b1fe Bug 844744, part 2 - Make <input type=number> use ICU when available to support localized number input. r=smaug 2014-01-23 15:43:12 +00:00
Phil Ringnalda
a3a4434deb Backed out 3 changesets (bug 951770) for test_playback.html timeouts
Backed out changeset ed795ed2bc38 (bug 951770)
Backed out changeset b4978efcdad9 (bug 951770)
Backed out changeset 4cddbc0d5183 (bug 951770)
2014-01-31 23:39:04 -08:00
Ralph Giles
c13d71d957 Bug 951770 - Fix missing semicolon. r=bustage CLOSED TREE 2014-01-31 23:10:46 -08:00
Ralph Giles
2aecd34f6e Bug 951770 - Fix signed-compare warning. r=bustage
Since we're just testing for equality here, casting mCodecDelay to
a signed type is safe.
2014-01-31 22:22:14 -08:00
Karl Tomlinson
c8da5b50da b=966636 rename resampling copy variables consistently and test remaining input better r=padenot
--HG--
extra : rebase_source : 7d2c34865aeb21d67207e0d4e7b2fd3e8956d54c
2014-02-05 14:42:18 +13:00
Chris Pearce
dc376585a3 Bug 962385 - Make WMF PlatformDecoderModule conform to new async interface. r=padenot
--HG--
rename : content/media/fmp4/wmf/WMFAudioDecoder.cpp => content/media/fmp4/wmf/WMFAudioOutputSource.cpp
rename : content/media/fmp4/wmf/WMFAudioDecoder.h => content/media/fmp4/wmf/WMFAudioOutputSource.h
rename : content/media/fmp4/wmf/WMFVideoDecoder.cpp => content/media/fmp4/wmf/WMFVideoOutputSource.cpp
rename : content/media/fmp4/wmf/WMFVideoDecoder.h => content/media/fmp4/wmf/WMFVideoOutputSource.h
2014-02-05 14:29:31 +13:00
Chris Pearce
5ded7b67dd Bug 962385 - Update PlatformDecoderModule interface to run asynchronously. r=kinetik 2014-02-05 14:29:28 +13:00
Chris Pearce
ab105ad93b Bug 962385 - Add MediaTaskQueue, for synchronizing events to be run in a thread pool. r=kinetik 2014-02-05 14:29:26 +13:00
Chris Pearce
9e37406b47 Bug 967357 - Null check MediaResource principal to prevent assertion spam. r=roc 2014-02-05 10:34:15 +13:00
Ralph Giles
c88a2f8c99 Bug 951770 - Reject invalid Opus pre-skip in WebM. r=doublec
The 'pre-skip' value representing encoder delay in the Opus
format is recorded once in the .opus representation, but for
WebM it's in the file both in the CodecDelay element and in
the CodecPrivate data. We now reject files where these two
fields don't match.

Our detodos.webm file was exactly this sort of mismatched
file. It has been renamed and added to the invalid file list
to verify we now reject it. A new detodos.webm replaces it,
remuxed from detodos.opus with a bugfixed mkvmerge.

Based on a patch by Jan Gerber.

--HG--
rename : content/media/test/detodos.webm => content/media/test/invalid-preskip.webm
2014-02-02 19:39:00 -08:00
Edwin Flores
8a0db32eaa Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-28 17:31:00 +13:00
Olli Pettay
d4a55513b7 Backout Bug 930793 - Remove favor performance mode (we have still racy b2g tests), a=backout
--HG--
extra : rebase_source : 6f6de1cbf54670d63b74c44ca0134ed9c5354d2b
2014-01-30 21:35:44 -08:00
Eric Faust
2063d0c6d5 Bug 966044 - Fix unconditional single byte buffer overflow in EbmlComposer::generateHeader(). (r=rillian) 2014-01-30 16:42:00 -08:00
Jan Gerber
be2c19ae74 Bug 951770 - Reject invalid WebM/Opus files. r=rillian
Verify WebM CodecDelay matches the pre-skip value in CodecPrivate.
2013-12-19 22:19:00 -08:00
Bill McCloskey
0a3cc5736a Bug 962767 - Ensure swapped frameloaders have correct message manager parent (r=smaug) 2014-01-31 10:45:54 -08:00
Benoit Jacob
0e59cf7614 Bug 965440 - VideoData::Create should use gralloc where possible - r=doublec 2014-01-31 13:23:39 -05:00
Benoit Jacob
3991287fb7 Bug 964442 - Make CreateImage just take a plain format parameter - r=jrmuizel 2014-01-30 17:58:51 -05:00
Benoit Jacob
e6d46b061f Bug 962784 - Convert ImageTypes.h to typed enums - r=jrmuizel
find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(GRALLOC_PLANAR_YCBCR\|PLANAR_YCBCR\|SHARED_RGB\|CAIRO_SURFACE\|MAC_IOSURFACE\|REMOTE_IMAGE_BITMAP\|SHARED_TEXTURE\|REMOTE_IMAGE_DXGI_TEXTURE\|D3D9_RGB32_TEXTURE\)\($\|[^A-Za-z0-9_]\)/\1ImageFormat::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|ImageFormat\:\:ImageFormat|ImageFormat|g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)STEREO_MODE_\(MONO\|LEFT_RIGHT\|RIGHT_LEFT\|BOTTOM_TOP\|TOP_BOTTOM\)\($\|[^A-Za-z0-9_]\)/\1StereoMode::\2\3/g'

find content/media media/webrtc gfx/layers gfx/tests dom/camera dom/plugins image/src layout/base -type f | grep -v 'gfx/layers/ImageTypes.h' | xargs sed -i 's|StereoMode\:\:StereoMode|StereoMode|g'
2014-01-30 17:58:49 -05:00
Masatoshi Kimura
fdd75c44eb Bug 965961 - Remove unused css selectors for windows versions. r=bz 2014-01-31 07:55:10 +09:00
Ryan VanderMeulen
fef07c2712 Merge m-c to inbound. 2014-01-30 16:36:04 -05:00
Ryan VanderMeulen
c6604b1a88 Merge b2g-inbound to m-c. 2014-01-30 16:32:42 -05:00
Ethan Tseng
ca1851d25d Bug 962309 - Video RTSP support should be disabled in 1.3. r=sworkman 2014-01-30 08:58:24 +08:00
Alfredo Yang
742e3e2663 Bug 959021 - Rename HAS_AUDIO/HAS_VIDEO and add swap in/out frame data. r=cpearce 2014-01-30 11:06:11 -05:00
Randy Lin
ad367e7f44 Bug 957841 - Test case for MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=jsmith 2014-01-29 23:09:46 +08:00
Randy Lin
7632106290 Bug 957841 - MediaRecorder crash [@ mozilla::dom::MediaRecorder::Session::AfterTracksAdded]. r=roc 2014-01-29 23:09:43 +08:00
Rick Eyre
e19074b0f0 Bug 965336 - Setting TextTrackCue's Start or End times should set its state to dirty. r=rillian 2014-01-29 12:57:43 -05:00
Rick Eyre
5658e3ae22 Bug 965246 - Integrate bulk updates from vtt.js. r=rillian
Relevant changes for bugs 881976 and 964625.
2014-01-29 09:28:06 -05:00
Ethan Tseng
de3c7abde1 Bug 951188 - [RTSP][V1.3] No error notification when the RTSP link fails to load. r=sworkman 2014-01-30 10:00:53 +08:00
Karl Tomlinson
7bef03c489 Bug 961996 - restore mForceShutDown check before MediaStreamGraphShutDownRunnable dispatch r=roc
This check was dropped in 1ebe4da27dd5.

--HG--
extra : rebase_source : 495d81cff39f2ee074effe6bef06caf6b2ac3161
2014-01-30 18:50:17 +13:00
Ryan VanderMeulen
77daaba4a8 Backed out changeset 15a8086a2431 (bug 963621) for Android bustage. 2014-01-30 14:01:58 -05:00
Edwin Flores
932b02e151 Bug 963621 - Stop passing kClientNeedsFramebuffer into Qualcomm OMXCodec. r=doublec
Qualcomm's OMXCodec implementation interprets the kClientNeedsFramebuffer flag
to mean that we only want a thumbnail. Thus, it returns only one frame and then
returns EOS.

This patch adds a Qualcomm-specific hack to not pass their decoder this flag.
2014-01-30 13:26:54 -05:00
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Robert O'Callahan
f281621615 Bug 941873. Blocked AudioNodeStreams should not run processing. r=karl
--HG--
extra : rebase_source : 122b7c48df42f78e9f7d2b8176ff6bc1ca14ad28
2014-01-15 23:07:30 +13:00
Vladimir Vukicevic
9e20208adb b=738872; implement WebGL OES_texture_half_float; part 3 - desktop GL compat; r=jgilbert 2014-01-27 13:30:33 -05:00
Vladimir Vukicevic
a988bc2a34 b=738872, implement WebGL OES_texture_half_float; part 2 - core impl; r=jgilbert 2014-01-23 16:47:37 -05:00
Robert O'Callahan
a6a2135174 Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot 2014-01-16 00:13:08 +13:00
Robert O'Callahan
de915bf668 Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
b026956759 Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot,karlt 2014-01-16 00:08:20 +13:00
Rick Eyre
30d2690f2c Bug 918289 - Remove video sources from MediaElements in TextTrack tests where they are not needed. r=cpearce 2014-01-27 12:13:16 -05:00
Terrence Cole
2e7acf2929 Bug 963738 - Fix some false positives in the Array analysis; r=jonco 2014-01-28 12:05:35 -08:00
Ryan VanderMeulen
c578705bd5 Merge b2g-inbound to m-c on a CLOSED TREE. 2014-01-29 15:37:19 -05:00
Ryan VanderMeulen
a5b81a765d Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE. 2014-01-29 14:34:08 -05:00
Paul Adenot
dca90b3409 Bug 952893 - Null-check mStream in AudioDestinationNode::SetIsOnlyNodeForContext as it can be called during CC, on a CLOSED TREE.
--HG--
extra : rebase_source : 20893fd4bba9a92c71a3e205e58dc03e6f2958dd
2014-01-29 19:09:39 +01:00
JW Wang
a70cddecbb Bug 910903 - Stop requesting data when count >= 30 to prevent the main thread from starving the encoding thread. r=jsmith 2014-01-28 13:41:11 +08:00
John Lin
7ad42feef2 Bug 963502 - [MediaEncoder] OMXAudioEncoder will be out of input buffers if input segment is too big. r=roc 2014-01-29 08:20:55 -05:00
Rick Eyre
5e2db9afd6 Bug 861320 - HTMLMediaElement has no textTracks without a <source>. r=rillian 2014-01-27 12:26:50 -05:00
Ryan VanderMeulen
56ad345355 Merge inbound to m-c. 2014-01-28 16:25:05 -05:00
Neil Deakin
95de2e33ba Bug 941409, add support for an anchor attribute to menus so that the popup can be anchored to a different element than the menu itself, this is used to avoid repositioning the bookmarks toolbar button menu, also changes popups to default to vertical orientation [Australis] r=neil,mconley 2014-01-28 11:28:45 -05:00
Dan Glastonbury
38a3723f74 Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-28 05:59:24 +09:00
Paul Adenot
9002ff9c6c Bug 961787 - Buffer more data when using MediaElementAudioSourceNode / mozCaptureStream from a media decoder. r=roc 2014-01-27 19:10:48 +01:00
Dan Glastonbury
b0fd3de97e Bug 953221 - Split out DRAW_BUFFER/READ_BUFFER state setup. r=bjacob 2014-01-24 14:02:07 +10:00
Dan Glastonbury
e291e9fb5f Bug 953221 - Disable glDrawBuffer/glReadBuffer when no color attachment. r=bjacob
This is mainly for OSX where the OGL version requires this so that the
framebuffer complete checks pass.
2014-01-24 14:01:10 +10:00
Dan Glastonbury
1966c22b51 Bug 953221 - Minor erroneous complete check fails. r=bjacob 2014-01-24 13:59:33 +10:00
Dan Glastonbury
f1d0bcf182 Bug 948002 - Add extra comments of meaning of GLenum to IsValidFBOXXX calls. r=jgilbert 2014-01-24 16:28:47 +10:00
Dan Glastonbury
2b561084d6 Bug 948002 - Fix WebGL framebuffer completeness checks. r=bjacob
When changing WebGLTexture::ImageInfo to consistently store GL internal format
instead of format, code that checked for depth textures broke because general
depth component format type was being checked instead of the sized formats.

With :bjacob, we audited the locations of the checks and updated the code to
accept the internal formats by utilizing helper functions that check the
GLenum.
2014-01-24 13:53:53 +10:00
Dan Glastonbury
a6209023a1 Bug 948002 - Remove trailing whitespace. r=jgilbert 2014-01-24 13:52:33 +10:00
Dan Glastonbury
8509053ecb Bug 948002 - Add functions getExtensionWithKnownPrefixes and getSupportedExtensionWithKnownPrefixes to fix tests that fail to parse. r=bjacob, r=jgilbert 2014-01-10 12:23:56 +10:00
Masatoshi Kimura
7becc353e7 Bug 959958 - Implement ImageData constructor. r=bz 2014-01-28 22:04:40 +09:00
Ryan VanderMeulen
0801693d08 Merge m-c to inbound. 2014-01-27 15:24:00 -05:00
Ryan VanderMeulen
c35da6fdf3 Merge b2g-inbound to m-c. 2014-01-27 15:05:03 -05:00
Jacek Caban
9d62049fa4 Bug 962354 - Fixed cross compilation on case sensitive OSes.
--HG--
extra : rebase_source : 1fc397a1fc5086b04f79addf6c162f66b845b991
2014-01-27 19:38:47 +01:00
Shelly Lin
c773010da1 Bug 957439 - Do not assert at Pause or Resume on unsupported input stream. r=roc, r=jsmith 2014-01-27 10:33:00 +08:00
Nathan Froyd
cbd28985b4 Bug 938786 - notify the secure browser UI, if any, first in NotifySubmitObservers; r=bz 2014-01-23 15:06:20 -05:00
Randy Lin
6a6aa3a1ea Bug 891705 - [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps, r=rillian
This is an integrated patch which includes:
1. Bug 891705: [MediaEncoder] Implement WebM 1.0 container writer. r=giles, r=gps
2. Bug 950567: [MediaEncoder] Phase-in libmkv library. r=giles
3. bug 883749: Implement Vorbis encoding. r=rillian
4. bug 881840: Implement VP8 track encoder. r=rillian
2014-01-15 14:21:14 +08:00
Jon Coppeard
4a76452c21 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Robert O'Callahan
31c4032bca Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot 2014-01-16 00:13:08 +13:00
Robert O'Callahan
d08dd6d58f Bug 952893. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
5e98538b88 Bug 952893. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot 2014-01-16 00:08:20 +13:00
Paul Adenot
8ae42d79f9 Bug 952893 - Backout changesets 780cba0f9f59, 887fe3a09c3d and fb04a4252ea3 for bad commit message, DONTBUILD. 2014-01-29 17:36:56 +01:00
Robert O'Callahan
bbce6c3530 Bug 952893. Part 3: Tighten TimeVarying invariants so that GetAt always returns an end time when the value actually changes. r=padenot
* * *
Bug 952893 - Fix the rebase.
2014-01-16 00:13:08 +13:00
Robert O'Callahan
032c9337eb Bug 952389. Part 2: When all streams in the MSG are blocked, allow the MSG to suspend indefinitely and pause AudioStream outputs while suspended. r=padenot 2014-01-16 00:13:07 +13:00
Robert O'Callahan
eb9730310f Bug 952389. Part 1: Block the AudioDestinationNode when it's the only node in the AudioContext. r=padenot 2014-01-16 00:08:20 +13:00
Gijs Kruitbosch
ad3c22d751 Bug 965238 - trivial patch to move anonid atom out of a11y ifdef, r=Enn
DONTBUILD because just fixing commit msg
2014-01-29 15:09:59 +00:00
Gijs Kruitbosch
881e8c0fe3 Backed out changeset 523a1736de8f (bug 965238) for wrong commit msg 2014-01-29 15:13:07 +00:00
Gijs Kruitbosch
4451a7824b Bug 965238 - trivial patch to move anonid atom out of a11y ifdef, r=smaug
--HG--
extra : rebase_source : 961d39f021801d4473fdf88786b2455bdcd30f81
2014-01-29 15:09:59 +00:00
Karl Tomlinson
0466b1681e b=964376 correctly handle a non-null ProduceAudioBlock aOutput parameter r=padenot
--HG--
extra : transplant_source : 6%BA%8FNSz%8C%BCrgZ%8B%96T-%8F%F6_%0B%01
2014-01-29 23:47:58 +13:00
Karl Tomlinson
1fb6e2d508 b=964376 don't SetNull() mLastChunks in debug builds r=roc
Some code was depending on this for correct operation, but then failed in
non-debug builds.

Instead, distort only mDuration to check that ProduceAudioBlock sets chunks.

--HG--
extra : transplant_source : %05%F7%F3C%09%2B%1D%13%1D%2B%0CsuA%9Dr%84%17%FC%8B
2014-01-29 12:55:10 +13:00
Karl Tomlinson
9faf032a35 b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot
--HG--
extra : transplant_source : s%04%B1%11%E9%F9%E2%92l%182%FFZm%81%E4/M%B3%BD
2014-01-28 18:14:25 +13:00
Karl Tomlinson
4245ee6562 b=933304 use AudioChunk::mVolume to optimize distance and cone gain r=padenot
--HG--
extra : transplant_source : %B6%97%20%08%AD%1E%D5N%A8q%5DMZ%5C%DB%10%89%F9%00%29
2014-01-28 18:14:25 +13:00
Karl Tomlinson
a3d1456e4e b=933304 apply PannerNode input gain to both channels, even for stereo input r=padenot
--HG--
extra : transplant_source : %BE%A54%E4%8Ezy%AC%FC%BD2%7D%A0h%BB%E0%25%60%94%CA
2014-01-28 18:14:25 +13:00
Karl Tomlinson
affab9414f test for bug 933304
--HG--
extra : transplant_source : %B6%EB%D6%89%CCpe%8A%3Cq%EE%F8%F8j%AC%EE%98%08h%08
2014-01-28 18:14:24 +13:00
Karl Tomlinson
d402f626fe b=957359 change failing output + finished assertion to warning r=padenot
--HG--
extra : transplant_source : %9A%B8%EE7h7PV%A9%E3P%B9%29%C1%FFz%40%DBPH
2014-01-28 18:14:24 +13:00
Karl Tomlinson
58b73ce9c7 b=957468 remove unused mNonRealtimeIsRunning r=ehsan
--HG--
extra : transplant_source : %F1%A1%5DT%21%AE%B0%AAh%1F%BB%06X%80F%9C%BBe%15U
2014-01-28 18:14:22 +13:00
Sid Stamm
53b4c0d99c Bug 911547 - make nsIContentSecurityPolicy serializable and trigger read/write from nsPrincipal. r=jst,grobinson
--HG--
extra : rebase_source : 3e1846e15538729f3c94f5c1470959b5d7b31f0f
2014-01-23 15:34:59 -08:00
Bobby Holley
094cd93292 Bug 957688 - Kill off checkAccess. r=mrbkap 2014-01-24 16:08:26 -08:00
Sid Stamm
e7799ef414 Bug 843311 - update CSP report-uri parsing to be spec compliant. r=grobinson 2014-01-24 10:24:08 -08:00
Ryan VanderMeulen
faf802a81e Merge m-c to inbound. 2014-01-23 15:58:06 -05:00
Ryan VanderMeulen
a528d76af2 Merge b2g-inbound to m-c. 2014-01-23 15:39:44 -05:00
Vivien Nicolas
de0f1c860e Bug 961047 - Ensure all mozbrowser iframes use APZ when APZ is enabled. r=kats,fabrice 2014-01-23 18:45:00 +01:00
Boris Zbarsky
9eb56076b1 Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
dcfb519fa1 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
Carsten "Tomcat" Book
9529a646f8 merge b2g-inbound to mozilla-central 2014-01-23 10:20:58 +01:00
Chris Pearce
7c8507fdd3 Bug 962354 - Create a threadsafe threadpool singleton for media threads. r=kinetik 2014-01-23 17:21:05 +13:00
Chris Pearce
72de85aba3 Bug 961885 - Rename the enum entries for HTMLTrackElement.readyState, as HTMLTrackElement::ERROR is defined in some other file that can be included in unified builds, causing errors when we add more files to content/media. r=rillian 2014-01-23 17:19:34 +13:00
Wes Kocher
a45e4bb415 Backed out changeset 47c7cd88eee1 (bug 961047) for b2g scrolling failures 2014-01-22 20:12:03 -08:00
Jeff Gilbert
fa8ee47d0f Bug 962392 - Clean up WebGLFramebuffer, particularly handling of RectangleObjects. - r=dglastonbury 2014-01-22 19:59:34 -08:00
Jeff Gilbert
8a8208c468 Bug 962392 - Whitespace fixes. - r=dglastonbury 2014-01-22 19:59:33 -08:00
Ben Kelly
ea0bfbdf41 Bug 961441: Use MallocSizeOf to report decoded-audio memory. r=cpearce r=njn 2014-01-22 22:14:45 -05:00
Vivien Nicolas
f2c7bdc2e0 Bug 961047 - Ensure all mozbrowser iframes use APZ when APZ is enabled. r=kats,fabrice 2014-01-23 00:03:17 +01:00
Ryan VanderMeulen
7395629413 Merge inbound to m-c. 2014-01-22 15:15:22 -05:00
Ryan VanderMeulen
4e194d306a Backed out changeset 07e5bf2cb7c8 (bug 913597) for desktop B2G failures.
CLOSED TREE
2014-01-22 12:48:44 -05:00
Alfredo Yang
76eb8c5636 Bug 959861 - Testcase for fragmented mp4 playback. r=cpearce 2014-01-22 10:50:23 -05:00
Alfredo Yang
165fa60246 Bug 959861 - Check if the media is seekable in MediaOmxReader::ReadMetadata(). r=cdouble 2014-01-22 10:50:23 -05:00
Wes Kocher
57b93417c3 Backed out 2 changesets (bug 958576) for osx 10.8 m-oth bustage on a CLOSED TREE
Backed out changeset 2ec09c9a9df1 (bug 958576)
Backed out changeset 49bec226f30e (bug 958576)
2014-01-22 16:17:25 -08:00
Yeuk Hon Wong
f78d046e43 Bug 938652 - CSP directives and source expressions should do case-insensitive matching and comparison. r=geekboy 2014-01-22 13:18:55 -08:00
Ryan VanderMeulen
d63a7cfdda Merge m-c to inbound. 2014-01-22 15:55:49 -05:00
Boris Zbarsky
8544cfd7b3 Bug 958576 part 2. Move FakeDependentString to the binding_detail namespace. r=peterv
I took the opportunity to move away from the NonNull<nsAString> hack
we had for string arguments, since just passing in a
FakeDependentString works fine and callees are now less likely to
declare their arg as being of that type.

In the process of doing that, I ran into what looks like a substantive
bug in the "owning union with string default value" case: We were
doing mValue.mString.Value() without ever having constructed
mValue.mString!
2014-01-22 14:37:10 -05:00
Boris Zbarsky
9720a99869 Bug 958576 part 1. Create a binding_detail namespace and move AutoSequence to it. r=peterv
Note that we can't name this namespace "detail", because then we'd
have both ::mozilla::detail and ::mozilla::dom::detail namespaces in
the tree and various template name lookups that look for "detail::Foo"
would get confused, and the code would not compile.  C++ strikes
again.
2014-01-22 14:37:10 -05:00
John Lin
c314c25e55 Bug 961925 - Move MOZ_OMX_ENCODER definition from local moz.build to global configuration file. r=gps 2014-01-23 09:32:32 -05:00
JW Wang
3eb023a6e9 Bug 916135 - Part 2: Don't call OMXCodec::pause in emulator mode to prevent getting stuck in paused state of OMXCodec. r=cdouble 2013-12-16 16:30:59 +08:00
JW Wang
95c567d954 Bug 916135 - Part 1: Force releasing codec to prevent timeout in waiting for acquiring h264 codec and set the preload attribute to "auto" to prevent timeout in waiting for loadedmetadata event. r=padenot 2014-01-17 13:58:48 +08:00
Olli Pettay
e7c8fa3bfd Bug 962393 - don't use JS_InternString in MessageManager, r=bz
--HG--
extra : rebase_source : 840ff708cca0aa1dbf9235727c967bd0d2d3f91e
2014-01-22 05:28:24 +02:00
Boris Zbarsky
a52d37aa9b Bug 961208 part 2. Change the WebIDL DoNewResolve hook signature to take a JSPropertyDescriptor. r=bholley 2014-01-21 22:08:51 -05:00
Luke Wagner
90c4cc3118 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : aa831d41e1b04062e208d5c36697da1f5e1c7d07
2014-01-20 18:00:18 -06:00
Jonathan Watt
74a361b8b9 Bug 949134 - Use the default step for <input type=number>'s spin buttons if step='any'. r=smaug 2014-01-15 17:22:16 +00:00
Edwin Flores
719bbc1538 Bug 953394 - Remove debug code r=doublec 2014-01-22 09:59:54 +13:00
Ryan VanderMeulen
3d6e25c171 Merge m-c to inbound. 2014-01-21 15:20:25 -05:00
Sotaro Ikeda
3393c67ef8 Bug 961405 - Change GraphicBufferLocked as to use AtomicRefCountedWithFinalize. r=nical, r=pchang, r=doublec, r=mikeh 2014-01-21 13:53:48 -05:00
Alexandre Poirot
2bb95c6160 Bug 949549 - Ensure that CSP warnings reach webconsole for document hosted on app:// protocol. r=sstamm 2014-01-21 11:28:58 -05:00
Phil Ringnalda
a777e0b6f3 Merge m-c to m-i 2014-01-20 18:46:36 -08:00
Phil Ringnalda
bade4d1394 Merge m-i to m-c 2014-01-20 18:39:03 -08:00
Nathan Froyd
91f7b2222d Backout dc82a01d0cfe (bug 961318) for various JavaScript test failures on this CLOSED TREE 2014-01-20 20:09:59 -05:00
Luke Wagner
d5fde93cb3 Bug 961318 - Tweak off-main-thread parsing heuristic to avoid delaying execution when an atoms-zone GC is in progress (r=billm)
--HG--
extra : rebase_source : bd4e6b296e7a02dbe2370a515174dcd1a6a57ffa
2014-01-20 18:00:18 -06:00
David Zbarsky
4dfc724aad Bug 952782 - Use nsIDocument instead of nsIDOMDocument in accessible r=tbsaunde, bz 2014-01-20 16:52:04 -05:00
David Zbarsky
8be21dc688 Bug 952977: Convert CreateMatrix to gfx::Matrix r=nical 2014-01-20 16:52:04 -05:00
Patrick Wang(Chih-Kai Wang)
bc0481aaac Bug 960641: Queue browser API calls before remote frame is shown. r=fabrice 2014-01-16 03:05:00 +08:00
Ms2ger
c86c6fd49b Bug 956862 - Move some mochitests to manifests; r=mshal 2014-01-20 08:58:27 +01:00
Ms2ger
a8af3aad23 Bug 956015 - Add an infallible nsIDocShellTreeItem::ItemType; r=bz 2014-01-20 08:58:26 +01:00
Ms2ger
233b067cc4 Bug 949627 - Fix reflect.js to work with strict equality in is(); r=mounir 2014-01-20 08:58:24 +01:00
Dan Glastonbury
bc3bdb3033 Bug 939117 - Don't reference NULL ptr. r=jgilbert 2014-01-20 14:13:23 +10:00
Dan Glastonbury
179ac4d20f Bug 913597 - Remove support for obsolete 'moz-webgl' name for creation of WebGL contexts. r=jgilbert 2014-01-23 00:44:16 +09:00
Boris Zbarsky
285fc136ef Bug 941876 part 2. When compiling script attached to DOM elements, tell the JS engine what element is involved and which attribute is involved, if any. r=smaug 2013-11-26 11:47:52 -05:00
Boris Zbarsky
e346f0e355 Bug 941876 part 1. Pass in the element we're compiling the event handler for to the event listener manager, so it knows which element to associate with the compiled script. r=smaug 2013-11-26 11:44:37 -05:00
Benoit Jacob
67a17b1047 Bug 959448 - Convert most of LayersTypes.h to typed enums - r=nrc
find content/media dom/ipc widget/ gfx/tests gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)LAYERS_\(NONE\|BASIC\|OPENGL\|D3D9\|D3D10\|D3D11\|CLIENT\|LAST\)\($\|[^A-Za-z0-9_]\)/\1LayersBackend::LAYERS_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::BUFFER_\2\3/g'

find widget gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)BUFFER_\(BUFFERED\)\($\|[^A-Za-z0-9_]\)/\1BufferMode::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(DRAW\|DRAW_SNAPPED\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)CLIP_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1DrawRegionClip::CLIP_\2\3/g'

find gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SURFACE_\(NONE\|OPAQUE\|SINGLE_CHANNEL_ALPHA\|COMPONENT_ALPHA\)\($\|[^A-Za-z0-9_]\)/\1SurfaceMode::SURFACE_\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(STRETCH\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::\2\3/g'

find gfx/ipc/ gfx/layers/ layout/ -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)SCALE_\(NONE\)\($\|[^A-Za-z0-9_]\)/\1ScaleMode::SCALE_\2\3/g'
2014-01-23 13:26:41 -05:00
Benoit Jacob
93826fc6b0 Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6 Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Andrea Marchesini
db2fa96fac Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Christoph Kerschbaumer
de1724c079 Bug 916054 - XPCShell tests for URLs with path. r=grobinson 2013-10-15 16:14:35 -07:00
Ms2ger
19e5583851 Bug 952016 - Part a: Disallow calling nsPIDOMWindow::SetChromeEventHandler on inner windows; r=smaug 2014-01-20 08:58:23 +01:00
Ryan VanderMeulen
0439f91b53 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Ryan VanderMeulen
b60627b435 Backed out changeset 1395d2a59698 (bug 879668) for landing without review. 2014-01-18 23:00:52 -05:00
Ryan VanderMeulen
329466bb2b Merge m-c to b2g-inbound. 2014-01-17 15:30:54 -05:00
Yeuk Hon Wong
ee0c7a8bee Bug 587377 - Display CSP warning in the web console if a hostname is a quoteless CSP keyword match. r=sstamm 2014-01-17 11:10:29 -05:00
Ryan VanderMeulen
4e06172283 Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
CLOSED TREE
2014-01-17 10:20:05 -05:00
John Lin
da86bab01e Bug 879668 - Part 5: Add OmxAudioTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:13 -05:00
Shelly Lin
fa29418b0a Bug 879668 - Part 4: Add OmxVideoTrackEncoder to file OmxTrackEncoder. r=roc 2014-01-17 14:30:02 -05:00
John Lin
131af2cba3 Bug 879668 - Part 3: Add OMXCodecWrapper. r=roc 2014-01-17 14:29:41 -05:00
John Lin
0c9c43ba7d Bug 879668 - Part 2: Add utility function to convert codec data from OMX AVC/H.264 encoder for MP4 container writer. r=roc 2014-01-17 14:29:20 -05:00
Deian Stefan
6c136d6a13 Bug 957821 - iframe sandbox test should fail when allow-scripts is not set. r=imelven, r=khuey 2014-01-01 21:39:25 -08:00
Andrea Marchesini
ab79c85864 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-17 15:24:03 +01:00