Commit Graph

14718 Commits

Author SHA1 Message Date
Ehsan Akhgari
6aacd34ff0 Bug 865548 - Convert the node arrays in AudioContext to hashsets; r=padenot 2013-04-24 23:32:41 -04:00
Bobby Holley
c85143a170 Bug 862404 - Make nsCxPusher MOZ_CRASH if there's no stack. r=gabor 2013-04-24 13:02:47 -07:00
Ehsan Akhgari
5657b79a8a Bug 865004 - Disconnect the AudioNode from the graph before deleting it; r=bzbarsky 2013-04-24 15:30:19 -04:00
Boris Zbarsky
20ab2b6db5 Bug 862629 part 2. Remove the now-unused scope object bit in js-to-native conversions. r=peterv 2013-04-24 14:59:15 -04:00
Boris Zbarsky
87e77a2b99 Bug 862629 part 1. Stop playing compartment games with WebIDL callbacks and just use the given object as-is. r=peterv 2013-04-24 14:59:15 -04:00
Olli Pettay
109adf1697 Bug 865076, follow the XPCOM rules when using parent pointer, r=mccr8
--HG--
extra : rebase_source : c4d45f53bb15df09495714cb0955e3d2d9c684b6
2013-04-24 21:09:25 +03:00
Guilherme Gonçalves
55eb035071 Bug 863852 - Part 2 - Handle reentrance in the state machine. r=smaug 2013-04-24 11:09:31 -07:00
Guilherme Gonçalves
d3961e6b16 Bug 863852 - Part 1 - Log event and state names rather than codes. r=smaug 2013-04-24 11:09:30 -07:00
Guilherme Gonçalves
553083436b Bug 863813 - Only call the done function once per test, failure or success. r=smaug 2013-04-24 11:09:30 -07:00
Guilherme Gonçalves
5d3eb4addf Bug 858141 - Don't assert on EVENT_AUDIO_ERROR while on STATE_ESTIMATING. r=smaug 2013-04-24 11:09:30 -07:00
Eitan Isaacson
4e3a627727 Bug 864858 - Hold a reference to utterance before nsSpeechTask goes away in DispatchEndImpl() r=smaug 2013-04-24 09:49:35 -07:00
Ehsan Akhgari
99da564fc5 Bug 864709 - Part 2: Protect accesses to AudioNodeEngine::mNode using a lock; r=padenot 2013-04-24 12:13:45 -04:00
Ehsan Akhgari
412d5ef7d7 Bug 864709 - Part 1: Hold a strong reference to the AudioNodeStream before calling ProduceOutput on it; r=padenot 2013-04-24 11:52:16 -04:00
Paul Adenot
9dda4e73fa Bug 864164 followup - Also send the params to the stream when setting the buffer. r=ehsan 2013-04-23 17:42:40 +02:00
Ehsan Akhgari
5faff9a565 Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot 2013-04-22 17:01:22 -04:00
Henri Sivonen
b7678c120e Bug 856374 - Check if output string is empty when serializing. r=smaug. 2013-04-24 16:20:53 +03:00
Robert O'Callahan
036de11b55 Bug 834835. Part 4: Test basic MediaStreamTrack functionality. r=jesup 2013-04-17 17:18:53 +12:00
Robert O'Callahan
0f0097b48d Bug 834835. Part 3: Implement DOMMediaStream::GetAudio/VideoTracks. r=jesup 2013-04-17 17:18:37 +12:00
Robert O'Callahan
2a58997a9f Bug 834835. Part 2: Make DOMMediaStream maintain a list of MediaStreamTrack objects. r=jesup
We use a MediaStreamListener to watch the MediaStream and maintain the list
of MediaStreamTrack objects.
2013-04-17 17:18:24 +12:00
Robert O'Callahan
0e51880b10 Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup 2013-03-27 14:32:51 +13:00
Robert O'Callahan
4f5e1036db Bug 786539. Part 3: Reenable test on Windows. r=cpearce 2013-04-24 21:19:08 +12:00
Robert O'Callahan
6d53909612 Bug 786539. Part 2: AreAllStreamsForResourceSuspended should ignore streams that can't read the resource data we need. r=cpearce 2013-04-24 21:19:02 +12:00
Robert O'Callahan
2f9b7480b2 Bug 786539. Part 1: When receiving an HTTP 416 in response to a seek, tell the media cache that we reached the end of the resource. r=cpearce
See the comments. This is especially likely to happen if we reach the end of
a resource and then do our reopen-on-error dance because at some point we
paused and resumed and we fear the server may have timed out our connection
without giving us all the data.
2013-04-24 21:18:56 +12:00
David Zbarsky
82391d9a22 Bug 861729 - Remove nsPIDOMWindow::GetExtantDocument r=Ms2ger 2013-04-24 00:22:37 -04:00
Masayuki Nakano
1dbdaeef56 Bug 842927 part.2 Make convertion table from native keycode to DOM key name index r=smaug+cpeterson+romaxa+smichaud+jimm+karlt+mwu 2013-04-24 12:49:46 +09:00
Masayuki Nakano
f44a18d4f7 Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
Garrett Robinson
02b569fd5b Bug 863878 - The CSP logging from bug 821877 should go to the new Security Pane in the Web Console. r=bzbarsky r=ddahl 2013-04-23 17:39:10 -05:00
Tanvi Vyas
7629e7975b Bug 855730 - Remove failing test so that we can re-enable the rest of the tests here. r=smaug 2013-04-25 15:40:42 -07:00
Ehsan Akhgari
537ebfa2f3 Bug 865550 - Unlink AudioBufferSourceNode members before AudioNode; r=mccr8 2013-04-25 16:52:52 -04:00
Ehsan Akhgari
f536477e52 Bug 859600 - Make AudioContext an EventTarget; r=smaug 2013-04-25 00:28:39 -04:00
Ehsan Akhgari
334dac4952 Bug 865650 - Ensure that looping will only happen if the start offset is less than the end offset; r=padenot
--HG--
extra : rebase_source : 3de31185083df174f7b6e823d1a135aee39c211d
2013-04-25 09:34:47 -04:00
Jonathan Watt
ca0209b32f Bug 864832 - Get rid of the majority of the remaining nsSVGUtils::InvalidateBounds calls, except for those related to transforms and nsSVGTextFrame2. r=mattwoodrow 2013-04-25 10:18:42 +01:00
Boris Zbarsky
c8daf5c6cd Bug 731746 part 1. Add a constructor on nsDOMEventTargetHelper that takes a window, for use by JS-implemented event targets. r=smaug 2013-04-24 22:44:24 -04:00
Ehsan Akhgari
aa2f359407 Bug 865004 - Disconnect the AudioNode from the graph before deleting it; r=bzbarsky 2013-04-24 16:57:07 -04:00
Gijs Kruitbosch
6b105eb381 Bug 865147 - Fix crash in nsContentUtils::ContentIsDescendantOf by checking parent of 'before' node, r=bz, feedback=Ms2ger 2013-04-24 13:05:59 +02:00
Nathan Froyd
7eab915b83 Bug 781702 - silence warning spew from nsXBLProtoImplMethod.cpp; r=bz 2012-10-08 15:52:24 -04:00
John Schoenick
85b5cb5928 Bug 863792 - Handle re-entry during plugin instantiation. r=josh 2013-04-23 13:21:28 -07:00
John Schoenick
04af22695a Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
Ehsan Akhgari
e36cf731a7 Bug 864613 - Take the dynamics compressor node's input chunk volume into account; r=padenot
--HG--
extra : rebase_source : d065091c344325b9c42c26307074d20ad81e0cd0
2013-04-22 22:16:42 -04:00
Sid Stamm
4e62b106c4 bug 761667 - update x-frame-options channel scanning to include multipart channels. (r=bz)
--HG--
extra : rebase_source : d7bf736b52f1d54b0ae9b3f111148feef29de02d
2013-04-22 16:01:39 -07:00
Andrea Marchesini
9fca67736e Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
Bug 864518 - HTMLMediaElement::mAudioChannelAgent not declared to CC, r=bz
2013-04-23 08:28:00 -07:00
Jonathan Watt
3bde9433bd Bug 863634 - Update the position of the thumb for <input type=range> when script uses .value, .valueAsNumber, .stepUp() or .stepDown(). r=mounir 2013-04-23 15:04:28 +01:00
Ehsan Akhgari
d728fbb79c Bug 864609 - Take the panner node's input chunk volume into account; r=padenot
--HG--
extra : rebase_source : 4ccebeb02cd8a52721b5bff5f5c77f9a7201312b
2013-04-22 22:07:49 -04:00
Ehsan Akhgari
696e7cb9a8 Bug 864606 - Take the gain node's input chunk volume into account when we have automation events for changing the gain value; r=padenot
--HG--
extra : rebase_source : 0d8c538a22ba764559a30c09e436eaaf38ac63fd
2013-04-22 22:05:16 -04:00
Ehsan Akhgari
27a0b514b9 Bug 864605 - Take the input chunk's volume into account in the nodes that buffer their input; r=padenot
--HG--
extra : rebase_source : 7590e20cbb1ac347f3988aaa5dbc586012747221
2013-04-22 21:59:51 -04:00
Ehsan Akhgari
6b1729abc9 Bug 864351 - Hold on to a SelfReference for ScriptProcessorNodes to make sure that they won't go away prematurely if they're used as source nodes; r=padenot 2013-04-22 21:23:54 -04:00
Brandon Waterloo
9af2bc9909 Bug 862117 - Move CSS rule classes relevant to image documents for cursor appearance (zoom in / zoom out) into layout/style/ImageDocument.css. r=roc, r=jaws
This stylesheet applies to all ImageDocuments, including those in frames. In old location for CSS rules, some full themes would not show cursors correctly, nor would ImageDocuments in frames. Image rotation CSS rule classes moved to layout/style/TopLevelImageDocument.css.
2013-04-21 18:29:14 -04:00
Simon Montagu
184c247fc9 Followup to bug 151407: use GetDir() on the root element. r=bz 2013-04-23 15:12:14 +03:00
Mats Palmgren
68558be08c Bug 858459 - Ignore clicks that have no target content or frame to avoid dispatching it to the document that the pres shell otherwise does. r=smaug 2013-04-23 13:37:18 +02:00
Simon Montagu
ce51cb5120 Fix document.dir getters and setters to (a) work and (b) conform to HTML5. Bug 151407, r=ehsan 2013-04-14 05:37:48 -07:00
Ralph Giles
779a1c773e Bug 864544 - Make HTMLMediaElement::mPlayed a cycle collected nsRefPtr. r=cpearce,smaug
The current code is safe, but brittle. Making this explicitly
refcounted and traced protects against future code changes.
2013-04-22 16:45:00 -07:00
Ehsan Akhgari
c0fb4f1dfc Bug 834513 follow-up: Mode AudioNode::DestroyMediaStream into the cpp file, and inline UnbindFromEngine 2013-04-22 22:45:37 -04:00
Garrett Robinson
6c7617d947 Bug 837351 - Log blocked mixed content to the Error and Web Consoles. r=smaug 2013-04-22 18:08:18 -07:00
John Schoenick
644f7bb6f0 Backout 9423207656dd and d226a39b4181 (Bug 863792) for triggering bug 854082 crashes, the fix for which was backed out. CLOSED TREE 2013-04-22 16:33:38 -07:00
John Schoenick
9221431f8e Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
Ehsan Akhgari
f32d7e9109 Bug 864091 - Part 3: Implement DynamicsCompressorNode's processing based on the Blink's implementation; r=padenot 2013-04-21 16:13:59 -04:00
Ehsan Akhgari
84323c3d5b Bug 864091 - Part 2: Add the Blink Dynamics Compressor implementation to the build system; r=padenot,glandium 2013-04-20 23:12:00 -04:00
Ehsan Akhgari
8a31dc42bb Bug 864091 - Part 1: Import the Dynamics Compressor implementation from Blink; r=padenot
The original code was copied from Blink SVN revision 148720.
2013-04-20 19:46:24 -04:00
Ehsan Akhgari
37d21d30ca Bug 864164 - Part 1: Send the AudioBufferSourceNode loop parameter changes to the stream; r=padenot 2013-04-22 00:22:33 -04:00
Ehsan Akhgari
7b1d390d73 Bug 864322 - Stop all audio buffer source nodes when the context is being shut down to prevent leaks in the graph; r=padenot
--HG--
extra : rebase_source : a64d445609ac9892d0fae36122fdc25e1437f400
2013-04-22 11:45:34 -04:00
Timothy Nikkel
bb030a3896 Bug 864448. Add crashtest. 2013-04-22 15:24:08 -05:00
John Schoenick
28a895674e Bug 863792 - Handle re-entry during plugin instantiation. r=josh 2013-04-22 13:20:59 -07:00
John Schoenick
6b517509a0 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
Timothy Nikkel
320b248b56 Bug 864448. Add cycle collection for mAnonymousContentNode in nsDOMCaretPosition. r=smaug 2013-04-22 15:18:25 -05:00
Olli Pettay
f89de95a8d Bug 861529 - Remove nsDOMEventTargetHelper::Init, ,r=khuey
--HG--
extra : rebase_source : 3c2e2d6511c26f41428399fc3622c30c4ea7ff6b
2013-04-22 20:24:48 +03:00
Ehsan Akhgari
f2f47730d6 Bug 864086 - Simplify AudioNode::DestroyMediaStream callers; r=padenot 2013-04-22 08:14:10 -04:00
Ehsan Akhgari
5594609a69 Bug 864083 - Cleanup AudioBuffer::GetThreadSharedChannelsForRate; r=padenot 2013-04-22 08:12:45 -04:00
Ryan VanderMeulen
c3f7907f13 Backed out changesets 3b8fdfefcf5e and ab61f99fb584 (bug 864083) for bustage on a CLOSED TREE. 2013-04-22 08:58:32 -04:00
Ehsan Akhgari
6f9afe1879 Bug 864086 - Simplify AudioNode::DestroyMediaStream callers; r=padenot 2013-04-22 08:14:10 -04:00
Ehsan Akhgari
7440e00896 Bug 864083 - Cleanup AudioBuffer::GetThreadSharedChannelsForRate; r=padenot 2013-04-22 08:12:45 -04:00
David Zbarsky
2eb48097e7 Finish backout of part of bug 856472 2013-04-22 02:04:53 -04:00
David Zbarsky
38362a907a Backout 5e84af960621 for being wrong 2013-04-22 02:02:39 -04:00
David Zbarsky
730feee6f8 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky
2dc9f54469 Remove TitleChangedListener dead code, no bug, r=jlebar over irc 2013-04-21 21:25:29 -04:00
David Zbarsky
204a17f3b2 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
David Zbarsky
a670bfb881 Bug 856962 - Move Touch to WebIDL bindings; r=mounir 2013-04-21 08:42:19 +02:00
Ms2ger
933f682691 Bug 861507 - Move SVGStringList to WebIDL and remove nsIDOMSVGStringList; r=heycam,smaug 2013-04-21 08:42:00 +02:00
Ms2ger
52a59671a2 Bug 862084 - Mark HTMLSelectElement.{item,namedItem} as potentially returning null to fix a crash; r=bz 2013-04-21 08:41:54 +02:00
Ms2ger
e9e1fa61d5 Bug 862409 - Add the media.audio_data.enabled pref to all.js; r=bz 2013-04-21 08:41:21 +02:00
Ms2ger
d22c0a99f7 Bug 846634 - Followup: remove straggler EXPORT definitions; r=mshal 2013-04-21 08:41:06 +02:00
Ehsan Akhgari
5dc9f3b37e Bug 834513 - Part 4: Add tests for ScriptProcessorNode, and also test AudioBufferSourceNode using it; r=roc 2013-04-20 11:17:58 -04:00
Ehsan Akhgari
e6ef206ecb Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
Ehsan Akhgari
f25c4a0e7e Bug 834513 - Part 2: Add an AudioNode weak pointer to the AudioNodeEngine class; r=roc 2013-04-20 12:16:28 -04:00
Olli Pettay
46719a3897 Bug 856364 - Paris binding for KeyboardEvent, r=peterv 2013-04-21 02:48:55 +03:00
Masatoshi Kimura
2f61eb9fec Bug 859023 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/mathml/content/src. r=karlt 2013-04-21 05:36:44 +09:00
David Zbarsky
65a41e7101 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
89d57ba989 Bug 856472: Move CanvasPattern to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.h => content/canvas/src/CanvasPattern.h
2013-04-19 04:49:22 -04:00
David Zbarsky
7235cdcd53 Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
David Zbarsky
6d27540aee Bug 856472: Move TextMetrics to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.cpp => content/canvas/src/TextMetrics.h
2013-04-19 04:49:21 -04:00
David Zbarsky
ea2739d5d6 Bug 852055 - Pass an EventTarget argument to Document.createTouch in WebIDL r=bz 2013-04-19 04:49:20 -04:00
David Zbarsky
6595a220f8 [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 04:49:20 -04:00
Matt Brubeck
08b045fdd2 Back out cd218e07ede2, e57ac5581703, f53ad2a10ff8, ec91252c57d2, 2eca17711eff, 1997e63a1124 for build errors 2013-04-18 22:29:25 -07:00
David Zbarsky
0204cf180b Bug 852055 - Pass an EventTarget argument to Document.createTouch in WebIDL r=bz 2013-04-19 00:48:03 -04:00
David Zbarsky
25f835929b [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-19 00:48:03 -04:00
David Zbarsky
862cfc8663 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
b7c0e19185 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 5 r=Ms2ger 2013-04-19 00:48:02 -04:00
David Zbarsky
a4f035b988 [Bug 862129] Cleanup nsDocument r=Ms2ger 2013-04-19 00:48:01 -04:00
Chris Pearce
cdcda30e31 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-19 14:54:26 +12:00
David Zbarsky
37f93ee59f Bug 836176 Part 1.5: Fix nsIDocument::AsHTMLDocument() r=bz 2013-04-18 21:06:57 -04:00