Boris Zbarsky
b7d72d9da1
Bug 779048 followup. Add a comment that explains why the assert about exceptionCode being default when invalidEnumValueFatal is false is an ok thing to assert. r=peterv, DONTBUILD
2012-11-09 07:58:33 -08:00
Boris Zbarsky
b44862af8b
Bug 779048 part 10. Start using the new callback codegen in argument and return value conversion. r=peterv,smaug
2012-11-09 07:43:58 -08:00
Boris Zbarsky
2cca8f2c52
Bug 779048 part 9. Give JS-to-native conversion an object pointer to work with so it can convert callback objects. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
499ff69d95
Bug 779048 part 8. Handling of arguments for callbacks. r=peterv
...
Note that we're now using the array object as the "obj" when wrapping
sequence members, because we don't have an 'obj' around in our
code... and every single existing sequence-of-interfaces consumer
relied on there being an 'obj' floating about.
Also note that I needed to rearrange the various wrapping helpers so
that we can wrap things that are hanging out in const smartpointers or
in const OwningNonNull or in plain object references.
2012-11-09 07:43:58 -08:00
Boris Zbarsky
a087a0f7d6
Bug 779048 part 7. Make native-to-JS conversion support doing something other than "return false" on JS exceptions. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
5d6259af0a
Bug 779048 part 6. Handling of return values for callbacks. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
06263c8888
Bug 779048 part 5. Make js-to-native conversion support doing something other than "return false" on JS exceptions. r=peterv
2012-11-09 07:43:58 -08:00
Boris Zbarsky
1020c25604
Bug 779048 part 4. Implement basic codegen for callbacks, without handling of arguments or return values yet. r=peterv
2012-11-09 07:43:57 -08:00
Boris Zbarsky
c7949cb5a7
Bug 779048 part 3. Refactor the code we use for generating example declarations a bit so we can reuse it for callbacks. r=peterv
2012-11-09 07:43:57 -08:00
Boris Zbarsky
01d54b91df
Bug 779048 part 2. Rearrange how we do our includes and forward-declares to actually work with callbacks and dictionaries sanely. r=peterv
2012-11-09 07:43:57 -08:00
Boris Zbarsky
7399600c6f
Bug 779048 part 1. Implement a parent class for C++ reflections of callback functions in WebIDL. r=bholley,smaug
2012-11-09 07:43:57 -08:00
Boris Zbarsky
70d8b5a29b
Bug 805988. Add some asserts that new-binding objects are nsISupports if they claim to be or or can be safely reinterpret_cast to nsWrapperCache, if they have an nsWrapperCache at all, if they don't claim to be nsISupports. r=peterv
...
Note that everything except the new asserts just got moved with no changes.
2012-11-08 23:48:42 -08:00
Boris Zbarsky
938e5422f5
Bug 808991. Named getters should get called for indexed properties on objects that don't support indexed properties. r=peterv
2012-11-08 23:48:42 -08:00
Ehsan Akhgari
19a5f2cb0b
Bug 809654 - Implement BiquadFilterNode; r=bzbarsky
2012-11-07 20:59:14 -05:00
Robert O'Callahan
cd4b7e8862
Bug 792675. Part 1: Make the URL interface use WebIDL. r=bz
...
--HG--
extra : rebase_source : dbb7a3158b71446930400ad523a2896b6306de40
2012-09-25 15:24:43 +12:00
Robert O'Callahan
db88f5c454
Bug 792675. Part 0.6: Handle empty dictionary types in WebIDL bindings. r=bz
...
--HG--
extra : rebase_source : a38a2405d32b76bdef9095398c759346cfc28282
2012-11-07 17:56:55 -05:00
Robert O'Callahan
d4da4172b2
Bug 792765. Part 0.5: Fix WebIDL codegen to avoid emitting QueryInterface when there is no interface prototype object. r=bz
...
--HG--
extra : rebase_source : 7e1df198548d8a4f1b2f2a045f637412a5fe8450
2012-09-25 15:24:43 +12:00
Ehsan Akhgari
8426704b9f
Bug 809271 - Implement DynamicsCompressorNode; r=bzbarsky
2012-11-06 20:01:11 -05:00
Masatoshi Kimura
32a0cfd0f7
Bug 801487 - Implement ErrorResult::ThrowTypeError. r=bz
2012-11-06 18:23:14 -05:00
Ehsan Akhgari
5a4f074522
Bug 808876 - Part 1: Implement PannerNode; r=bzbarsky
...
--HG--
extra : rebase_source : a7b901dcc7758ff9c7a8917a956d0541187fea07
2012-11-05 21:14:13 -05:00
Boris Zbarsky
09c482c38b
Bug 804738 part 2. Fix codegen for indexed operations to be consistent about the naming of the index argument. r=peterv
2012-11-06 08:01:49 -08:00
Boris Zbarsky
3ca527fe47
Bug 804738 part 1. Fix codegen for named operations to be consistent about the naming of the string argument. r=peterv
2012-11-06 08:00:57 -08:00
Ehsan Akhgari
3bcb2b8761
Backed out changeset ecf0c2a7cb9f (bug 808876) for build bustage
2012-11-05 22:30:08 -05:00
Ehsan Akhgari
ad84bd3d7f
Bug 808876 - Implement PannerNode; r=bzbarsky
2012-11-05 21:14:13 -05:00
Ehsan Akhgari
448c1c4497
Bug 808841 - Implement AudioContext.listener; r=bzbarsky
2012-11-05 19:26:03 -05:00
Boris Zbarsky
0483bf931f
Bug 806033. Finish getting rid of stray [Infallible] annotation bits. r=khuey
2012-11-05 14:40:33 -05:00
Boris Zbarsky
c9690aeabf
Bug 804632. Allow certain reserved words as argument names in WebIDL. r=khuey
2012-11-05 14:40:32 -05:00
Boris Zbarsky
888a7ed3bc
Bug 804319. Implement parsing of the "stringifier;" shorthand. r=khuey
2012-11-05 14:40:32 -05:00
Boris Zbarsky
f8df52c6b0
Bug 804635. Make codegen deal with Document not being an external interface but not available in workers even though XMLHttpRequest (which can return or accept Document) is available there. r=peterv
2012-11-05 11:58:04 -05:00
Boris Zbarsky
bad3a03ce9
Bug 803129. Convert DOMStringMap to WebIDL. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
f054cbef56
Bug 803519. Require indexed/named getters if we have creators/deleters/setters. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
da22cd5b71
Bug 772869. Make getOwnPropertyNames work correctly for WebIDL proxy bindings. r=peterv,ms2ger
2012-11-05 11:58:03 -05:00
Boris Zbarsky
e0cb69bbd9
Bug 807548. Enumerating an Xray should not see the 'constructor' property on DOM prototypes unless we're told to include non-enumerable properties. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
aaed3ec0e2
Bug 803306. Calling a named creator should not define an expando. r=peterv
2012-11-05 11:58:03 -05:00
Boris Zbarsky
42cdade779
Bug 788225. Implement WebIDL deleters. r=peterv
2012-11-05 11:58:02 -05:00
Boris Zbarsky
b953ad4cdd
Bug 749866 part 4. Generate slightly better code when we know we're null or undefined. r=khuey
2012-11-05 11:58:02 -05:00
Boris Zbarsky
ddd24cd75e
Bug 749866 part 3. Rejigger overload resolution a bit more so we can tell argument conversion that we know the argument is null or undefined. r=khuey
2012-11-05 11:58:02 -05:00
Boris Zbarsky
603678c976
Bug 749866 part 2. Simplify the code generated by overload resolution a bit when we have sequences or dates at our distinguishing index. r=khuey
2012-11-05 11:58:02 -05:00
Boris Zbarsky
54dd77191f
Bug 749866 part 1. Add support for failureCode for sequence unwrapping. r=khuey
2012-11-05 11:58:02 -05:00
Ehsan Akhgari
41f9f14161
Bug 807533 - Implement DelayNode; r=bzbarsky
...
--HG--
extra : rebase_source : 36bb70c9f4b9c86fc1564447a34153d92fe7f347
2012-10-31 20:26:03 -04:00
Ehsan Akhgari
463e083c2e
Bug 807697 - Enable integer to float type coercion in the Web IDL parser; r=bzbarsky
...
--HG--
extra : rebase_source : 93907e32c1111773af0b207274aa32323aabfa03
2012-11-01 12:30:21 -04:00
Ehsan Akhgari
8ba6137c34
Bug 807526 - Implement GainNode; r=bzbarsky
2012-10-31 15:09:32 -04:00
William Chen
bcc2b792e9
Bug 807034 - Fix WebIDL codegen for static readonly attributes. r=bz
2012-10-30 11:38:58 -07:00
Vendelin Ruzicka
80dae24d12
Bug 806184 - Can't use 'delete' method in WebIDL. r=bz
2012-10-31 13:36:20 +01:00
Peter Van der Beken
9e18022b7d
Fix for bug 763643 (Implement static operations and attributes for WebIDL). r=bz.
...
--HG--
extra : rebase_source : d9dd5450af5d2b1f3e7e3a738ec2efdc7f7053da
2012-10-19 09:34:28 +02:00
Ehsan Akhgari
451773ee5b
Bug 803392 - Initial implementation of AudioParam; r=bzbarsky
...
This patch implements most of the semantics of AudioParam in a
templatized base class called AudioEventTimeline. This is done in order
to make it possible to test this code from C++ without the need of
linking to libxul. Basically we take everything that could depend on
libxul or is not suitable for a genertic implementation and put it in a
traits like type as a template argument. Then the test creates mock
objects that conform to the argument interfaces, and tests the logic of
AudioEventTimeline.
2012-10-16 21:19:06 -04:00
Peter Van der Beken
704bdbee45
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - followup to fix problem pointed out by reviewer. r=bz.
...
--HG--
extra : rebase_source : 13271029cb0c7cd18b98fa2ed409e43f1df13e47
2012-10-29 21:55:13 +01:00
Peter Van der Beken
1ef60a85a4
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript). r=bz.
...
Switch from using the interface objects from the Xrays compartment to wrapping
interface objects and interface prototype objects in Xrays. Make dom binding
Xrays deal with both instance objects and interface and interface prototype
objects.
2012-10-09 20:50:27 +02:00
Peter Van der Beken
d7322eea5c
Fix for bug 785277 (Implement PutForwards in the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 5153ebab17a9637946d0f0c322997c0c3d118190
2012-08-13 14:20:49 +02:00
Peter Van der Beken
78fac44a14
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - move some code. r=bz.
...
--HG--
extra : rebase_source : 524e537ee6c6b30fdb67cbced3dbb574de83be28
2012-10-09 20:50:27 +02:00