gecko/dom/webidl
Ehsan Akhgari 697bec41a5 Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
This is the full implementation of the AudioBuffer object.  There are
two ways to create these objects from an audio context and this patch
implements only one of them.

The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it.  InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.

We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.

The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
..
AnonXMLHttpRequest.webidl
Attr.webidl
AudioBuffer.webidl Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug 2012-09-25 17:58:50 -04:00
AudioBufferSourceNode.webidl Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky 2012-09-21 11:33:03 -04:00
AudioContext.webidl Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug 2012-09-25 17:58:50 -04:00
AudioDestinationNode.webidl Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky 2012-09-21 11:33:03 -04:00
AudioNode.webidl Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky 2012-09-21 11:33:03 -04:00
AudioSourceNode.webidl Bug 792646 - Implement the skeleton of Web Audio source and destination nodes; r=bzbarsky 2012-09-21 11:33:03 -04:00
Blob.webidl Bug 789691 - Migrate BlobPropertyBag to WebIDL binding dictionary, r=bzbarsky 2012-09-10 09:57:15 -04:00
CanvasRenderingContext2D.webidl Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
CharacterData.webidl
ClientRectList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Comment.webidl
CSS2Properties.webidl.in Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
CSS2PropertiesProps.h Bug 753517 part 4. Set up auto-generation of CSS2Properties.webidl from nsCSSPropList.h and enable Paris bindings for CSSStyleDeclaration and CSS2Properties. r=khuey,peterv,dbaron 2012-08-23 21:08:09 -07:00
CSSStyleDeclaration.webidl Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
CustomEvent.webidl
Document.webidl
DocumentFragment.webidl
DocumentType.webidl
DOMError.webidl
DOMImplementation.webidl
DOMSettableTokenList.webidl
DOMStringList.webidl
DOMTokenList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Element.webidl
Event.webidl
EventListener.webidl
EventTarget.webidl Bug 778150 part 2. Default methods to infallible. Allow annotation of fallible methods in WebIDL using [Throws]. r=peterv 2012-09-05 09:21:33 -04:00
FileList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
FileReaderSync.webidl Bug 793025: Convert FileReaderSync to WebIDL bindings. r=bz 2012-09-20 19:47:47 -07:00
Function.webidl
HTMLCollection.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
HTMLOptionsCollection.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
HTMLPropertiesCollection.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Node.webidl
NodeFilter.webidl
NodeIterator.webidl
NodeList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
PaintRequestList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Performance.webidl Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv 2012-09-05 09:21:33 -04:00
PerformanceNavigation.webidl Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv 2012-09-05 09:21:33 -04:00
PerformanceTiming.webidl Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv 2012-09-05 09:21:33 -04:00
ProcessingInstruction.webidl
Range.webidl
SVGLengthList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
SVGNumberList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
SVGPathSegList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
SVGPointList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
SVGTransformList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
Text.webidl
TouchList.webidl Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz. 2012-09-05 22:49:53 +02:00
TreeWalker.webidl
WebGLRenderingContext.webidl Bug 787543. Put all the typedeffy bits back in WebGLRenderingContext now that we can. r=peterv 2012-09-11 20:08:30 +01:00
WebIDL.mk Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug 2012-09-25 17:58:50 -04:00
WebSocket.webidl Bug 775368 - Porting Websockets to WebIDL, r=bz 2012-09-10 09:48:14 -04:00
XMLHttpRequest.webidl Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv 2012-09-11 20:08:24 +01:00
XMLHttpRequestEventTarget.webidl Bug 778150 part 3. Default attributes to infallible. Allow annotation of fallible attributes in WebIDL. r=peterv 2012-09-05 09:21:33 -04:00
XMLHttpRequestUpload.webidl