Boris Zbarsky
fc1f1a5fd4
Fix up indentation of the generated code for event handler return values. No bug.
2012-11-28 02:33:50 -05:00
Boris Zbarsky
dce41beebc
Bug 810641. Implement support for variadic callback arguments in WebIDL. r=peterv
2012-11-26 21:14:45 -05:00
Boris Zbarsky
3727b0d820
Bug 813623. Fix Xrays to actually work correctly for static methods and properties. r=peterv
2012-11-26 21:14:45 -05:00
Peter Van der Beken
a428926b2d
Fix for bug 812333 (Replace Node quickstubs with new binding methods) - part 2: install Node's binding methods on the XPConnect proto. r=bz.
2012-11-22 12:09:41 +01:00
Peter Van der Beken
40e1016078
Fix for bug 812333 (Replace Node quickstubs with new binding methods) - part 1: make WrapNewBindingObject asserts deal with HTMLCollection. r=bz.
2012-11-22 11:46:53 +01:00
Peter Van der Beken
243151f563
Fix for bug 814022 (Make instanceof for new DOM bindings work across scopes). r=bz.
2012-11-19 11:59:13 +01:00
Daniel Holbert
0db2b629d3
Bug 811057: Make DeferredFinalizeFunction take a uint32 instead of an int32 as its "slice" parameter. r=peterv
2012-11-21 10:20:32 -08:00
Boris Zbarsky
f956455475
Bug 813423. A bit more inlining for stuff that should really be inline. r=peterv
2012-11-20 11:36:06 -05:00
Boris Zbarsky
4479610b88
Bug 813419. Add a non-null-checking version of xpc_UnmarkGrayObject. r=mccr8
2012-11-20 11:36:06 -05:00
Ehsan Akhgari
7d0b7e0454
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
Peter Van der Beken
9ac91a75ad
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
e27790ae3f
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 4: inline xpc_qsUnwrapObj. r=bz.
...
--HG--
extra : rebase_source : 8506cc86db7ebfe8832ed5696aeb45c79364af1f
2012-11-27 10:20:05 +01:00
Peter Van der Beken
1b22e5c449
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
Peter Van der Beken
9b1c163cdc
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 1: use qsObjectHelper instead of xpcObjectHelper in HandleNewBindingWrappingFailure. r=bz.
...
--HG--
extra : rebase_source : 748e0343d37e2b9a25b5b6644bebff428474310c
2012-11-27 10:20:04 +01:00
Boris Zbarsky
67bc51cf16
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
1c31e545ec
Bug 767933 part 2. Implement codegen for 'unrestricted float' and 'unrestricted double', as aliases for float and double for now. r=khuey
2012-11-27 15:32:05 -05:00
Boris Zbarsky
11ebd08a60
Bug 767933 part 1. Implement parser support for 'unrestricted float' and 'unrestricted double', and for the [LenientFloat] extended attribute. r=khuey
2012-11-27 15:32:05 -05:00
Boris Zbarsky
6451b2a018
Bug 812742. Fix sequence codegen to not do AppendElement multiple times by accident. r=peterv
2012-11-27 15:20:40 -05:00
Bobby Holley
e3a419e442
Bug 811152 - Decxify various DOM methods. r=me
2012-11-15 11:54:34 -08:00
Boris Zbarsky
d23220892d
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Bobby Holley
46b9d205df
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Boris Zbarsky
2562abec42
Bug 810618. Make sure we don't allow layout statics to go away while we're still trying to use them. r=khuey
2012-11-13 00:26:55 -08:00
Boris Zbarsky
2bb6e39346
Bug 810520. Correctly handle static methods and attributes in the NativeProperties structs that Xrays use. r=peterv
...
Note that at this point we actaully do Xrays for all of our various
property types, except in worker code. The real substantive change
here is the change to what usedForXrays returns. The rest is minor
cleanup.
2012-11-13 00:26:55 -08:00
Ryan VanderMeulen
2c380fb37b
Backed out de9fff3a523, c567df2244f5, 8e3d976d5dc5, and c7499faaec23 (bug 800915) for bustage.
...
--HG--
extra : rebase_source : c823063bfa31d59d32b3402bd4b458b84b703cd5
2012-11-12 21:43:39 -05:00
Bobby Holley
24950d41c9
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-12 17:35:32 -08:00
Andrew McCreight
526256fc6b
Bug 792090 - Ignore unused result in CGProxy...PresenceChecker. r=bz
2012-11-12 14:21:46 -08:00
Peter Van der Beken
508194a997
Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
...
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Boris Zbarsky
c8deffa677
Bug 809260. Example codegen should include ErrorResult.h in the header. r=mccr8
2012-11-09 08:24:32 -08:00
Boris Zbarsky
d5b4efd9db
Bug 808698. Set up example codegen for proxy bindings to work correctly. r=jst
2012-11-09 08:24:32 -08:00
Boris Zbarsky
3f0cab408f
Bug 796983 followup to address peterv's comments. r=presumably-peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
efa02843d9
Bug 805310. Add some documentation for our object-wrapping helpers. r=peterv
2012-11-09 08:24:32 -08:00
Boris Zbarsky
2789f45d35
Bug 807224 followup to address review comments. r=presumably-peterv
2012-11-09 08:24:31 -08:00
Boris Zbarsky
e1ded25637
Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
bf51164dc8
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
721e804d9a
Bug 807224. Implement native-to-JS conversion for WebIDL unions. r=peterv
2012-11-09 07:59:33 -08:00
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
Peter Van der Beken
efd72d6b0c
Fix for bug 778152 (Content window does not have an XMLHttpRequest property when accessed via an Xray wrapper in a subscript) - rename ProtoOrIfaceArray. r=bz.
...
--HG--
extra : rebase_source : c426270fc1ebee818629bd94dfc8d11af59bfc00
2012-10-09 20:50:27 +02:00
Bobby Holley
6bae1ef04d
Bug 797821 - Address Ms2ger's review comments. r=me
2012-10-25 17:01:09 +02:00
Bobby Holley
c562949e50
Bug 797821 - Hoist XPConnect-y stuff out of the compartment private and into the XPCWrappedNativeScope. r=mrbkap
...
This change means we no longer have to keep around a set of XPConnect compartments.
We keep the compartment private around for non-xpconnecty stuff like about:memory
instrumentation that needs to happen on non-xpconnect compartments.
2012-10-25 17:01:09 +02:00
Bobby Holley
a257acaeb2
Bug 797821 - Removed the unused reserved slot for XPConnect globals. r=mrbkap
2012-10-25 17:01:09 +02:00
Bobby Holley
05aea8b835
Bug 797821 - Replace usage of XPCWrappedNativeScope::FindInJSObjectScope(ccx, obj) with GetObjectScope(obj). r=mrbkap
2012-10-25 17:01:08 +02:00
Boris Zbarsky
82bd188144
Bug 804725. Use the right type name for interface arguments for binding example codegen. r=jst
2012-10-24 16:10:49 -04:00
Boris Zbarsky
f2b84a3ae9
Bug 793267. Add support for [Unforgeable] in WebIDL. r=peterv
...
Unforgeable attributes are defined directly on the object, not on the
prototype. So we keep them in a separate spec array and define them
during object creation as needed.
This means that we have to pass that separate spec array to the Xray
helpers, unfortunately, which somewhat complicates those.
2012-10-24 16:10:49 -04:00
Boris Zbarsky
85cc57baf9
Bug 798187 even more followup. Disable broken WebGL test, and update to Peter's review comments. r=peterv
2012-10-22 15:14:30 -04:00
Boris Zbarsky
0b95078494
Bug 798187 followup. Actually return our newly-created object from dictionary ToObject. r=peterv
2012-10-22 14:35:08 -04:00
Boris Zbarsky
3011384d8c
Bug 798187 part 2. Switch WebGLContextAttributes to being a dictionary. r=peterv,bjacob
2012-10-22 13:08:52 -04:00
Boris Zbarsky
640f21eb69
Bug 798187 part 1. Add support for dictionary return values. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
b3b06a3510
Bug 798151. Support stringifier operations (but not yet attributes!) on non-proxy bindings, and fix Object.prototype.toString for proxy bindings. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
5d16209106
Bug 801712 part 3. Make object return values faster by only doing the JS_WrapValue if needed. r=peterv
2012-10-22 13:08:52 -04:00
Boris Zbarsky
2c0d8809e7
Bug 801712 part 2. Switch ImageData to WebIDL bindings. r=peterv
2012-10-22 13:08:52 -04:00
Ms2ger
c2f432be69
Bug 796903 - Part a: Move DOMImplementation to its own file and move it to Paris bindings; r=bz
2012-10-21 09:38:41 +02:00
Peter Van der Beken
0fca6b2112
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00
Peter Van der Beken
328657410b
Fix for bug 802739 (Make parent wrapping for DOM bindings fall back to XPConnect for nsISupports classes).
...
--HG--
extra : rebase_source : 212a49060710b5b3791203b9472c9efcad578a58
2012-10-19 09:33:18 +02:00
Peter Van der Beken
57adeb4354
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Boris Zbarsky
3fa042ace2
Bug 802636. Add a test that makes sure that codegen and example generation agree with each other. r=jst
2012-10-17 21:17:16 -04:00
Boris Zbarsky
ac7e3e09f9
Bug 796983 part 2. Add a way to generate an example class declaration for a given WebIDL interface. r=jst
...
We mark constructors as static in the parser because they are. This
allows us to just use the isStatic() for the IDLMember to mark our
declarations static.
To generate an example interface implementation, just "make
interfacename-example" in $objdir/dom/bindings. This will place files
called interfacename-example.h and interfacename-example.cpp in that
directory. For example, "make XMLHttpRequest-example" will get you
$objdir/dom/bindings/XMLHttpRequest-example.h and
$objdir/dom/bindings/XMLHttpRequest-example.cpp.
Attribute getters currently default to const methods, while setters
and operations default to non-const methods.
--HG--
rename : dom/bindings/BindingGen.py => dom/bindings/ExampleGen.py
2012-10-17 17:01:55 -04:00
Boris Zbarsky
7e68ba84af
Bug 796983 part 1. Switch nullable primitives to using a const Nullable. r=jst
2012-10-17 17:01:55 -04:00
Benoit Jacob
d568e3410c
Bug 742781 - Implement WEBGL_debug_renderer_info extension - r=bz,jgilbert
2012-10-17 15:11:51 -04:00
Ehsan Akhgari
2c5f5e810e
Merge mozilla-central into mozilla-inbound
2012-10-16 20:43:47 -04:00
Olli Pettay
94fafd006f
Bug 797806 - Helper method to handle stringified JSON in C++, part2, r=khuey
2012-10-16 18:37:44 +03:00
Olli Pettay
725f23d5ee
Bug 797806 - Helper method to handle stringified JSON in C++, r=khuey
2012-10-16 17:52:10 +03:00
Boris Zbarsky
670a63e43a
Bug 800386. Fix getInterface from JS on XMLHttpRequest objects to actually work. r=khuey
2012-10-15 23:12:03 -04:00
Trevor Saunders
09edcbfe3e
Bug 742191 - Part d: Throw TypeErrors for Paris binding exceptions; r=bz
2012-10-16 14:06:10 -04:00
Ed Morley
25701792b7
Merge mozilla-central to mozilla-inbound
2012-10-15 16:09:10 +01:00
Ryan VanderMeulen
da830356a6
Merge inbound to m-c.
2012-10-14 16:39:23 -04:00
Ms2ger
95bc3a5347
Bug 793244 - Part b: Convert Screen to WebIDL; r=bz
2012-10-14 09:40:11 +02:00
Ms2ger
fe70fde7f8
Bug 798014 - Remove dead DefineConstructor definition; r=khuey
2012-10-14 09:39:05 +02:00
Ed Morley
8fc88262ba
Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning
2012-10-12 14:45:38 +01:00
Peter Van der Beken
ff8e573925
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - allow non-nsISupports object to be parents, take care of review comment. r=bz.
...
--HG--
extra : rebase_source : 0e0373a0dfb0d3a3a3846c87529bde31f072866f
2012-10-12 14:52:32 +02:00
Peter Van der Beken
de52d9ea80
Fix for bug 798264 (Split property tables). r=bz.
...
--HG--
extra : rebase_source : 71456ae48d3d3e6014e8095837f7942cfe733a37
2012-10-09 20:50:05 +02:00
Peter Van der Beken
e737736f98
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - remove nsISupports from AudioContext. r=ehsan.
...
--HG--
extra : rebase_source : f37b849c020bd9e4bc72e16df71a0241fafb0829
2012-10-09 20:50:26 +02:00
Peter Van der Beken
fd7820cf79
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - allow non-nsISupports object to be parents. r=bz.
...
--HG--
extra : rebase_source : 00c805373f99213bee8b17b24fed3024b8ac4752
2012-10-09 20:50:26 +02:00
Peter Van der Beken
cd96494172
Fix for bug 798264 (Split property tables). r=bz.
...
--HG--
extra : rebase_source : fd96e8c0241411e7724fc950c3dce8d2b95d662d
2012-10-09 20:50:05 +02:00
Peter Van der Beken
12f507617a
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
rename : dom/tests/mochitest/chrome/file_bug800817.xul => dom/tests/mochitest/chrome/file_bug799299.xul
rename : dom/tests/mochitest/chrome/test_bug800817.xul => dom/tests/mochitest/chrome/test_bug799299.xul
extra : rebase_source : bed68ffa15fe5933994c33fbd94ad2b597b5b1b9
2012-09-26 20:12:15 +02:00
Peter Van der Beken
67399d2474
Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
...
--HG--
extra : rebase_source : d7be35954ba69563ed26b2173c75fe9e74707847
2012-09-13 18:04:31 +02:00
Peter Van der Beken
1df4bdb1b6
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - remove nsISupports from AudioContext. r=ehsan.
...
--HG--
extra : rebase_source : 80c344181c26d41332fbf2780e80d0de559b5d84
2012-10-09 20:50:26 +02:00
Peter Van der Beken
7521f2f905
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - allow non-nsISupports object to be parents. r=bz.
...
--HG--
extra : rebase_source : 2a8b1d0d9fe23ea3b849ac384202de30161429a9
2012-10-09 20:50:26 +02:00
Peter Van der Beken
52e6c5623d
Fix for bug 799465 (Add complete support for non-nsISupports objects in new DOM bindings) - fix CC traversal and wrapper preservation. r=bz.
...
--HG--
extra : rebase_source : 42b0e6db4b418901f253d66e7323ba5a7cd83eea
2012-09-26 20:12:15 +02:00
Nicholas Cameron
404ba9b65d
Bug 734668; reviewer's changes. r=Ms2ger,roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
extra : rebase_source : 827a45dd8cc2bdc77e850e8b1d1e23e9f2f72f7d
2012-10-12 22:42:53 +13:00
Nicholas Cameron
2e1a97f864
Bug 734668; rename files and classes. r=roc
...
--HG--
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.cpp => content/canvas/src/CanvasRenderingContext2D.cpp
rename : content/canvas/src/nsCanvasRenderingContext2DAzure.h => content/canvas/src/CanvasRenderingContext2D.h
extra : rebase_source : ded29b0c029bbcee232c4760c49539f465d40399
2012-10-12 22:42:52 +13:00
Nicholas Cameron
108187d686
Bug 734668; remove prefable; r=roc
...
--HG--
extra : rebase_source : b29e89a14c5a96eae71dadbee2eea6fd18b376f8
2012-10-12 22:42:51 +13:00
Peter Van der Beken
1735393652
Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
...
--HG--
extra : rebase_source : e21a429d85fc60a972752a2a7deb88a7cb648f3c
2012-09-13 18:04:31 +02:00
Boris Zbarsky
3e1f7e4e46
Bug 792890. Fix JS-wrapping of callback interfaces to just return the underlying JS object. r=peterv
...
There are several changes here:
1) When wrapping a callback interface object for JS, just extract the
underlying JSObject from inside it and hand that object out.
2) Flag callback interface descriptors as "not concrete" (only matters
for cases when they have constants on the interface object) and not
wrappercached (will catch bugs if someone tries to treat them as a
Gecko object).
3) Fix a preexisting bug in sequence wrapping where we'd try to
JS_DefineElement twice if we were wrapping a null value for a
sequence of nullable interface objects.
2012-10-10 15:57:57 -04:00
Boris Zbarsky
1ecbdb1149
Bug 792137. [TreatNonCallableAsNull] lives on the callback type now. r=peterv
2012-10-10 15:53:02 -04:00
Benoit Jacob
966189fec7
Bug 779611 - part 9: port WebGLActiveInfo to WebIDL bindings - r=bz
2012-10-09 14:39:49 -04:00
Ed Morley
5abdf356a2
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Ms2ger
2c2ac37f8d
No bug - Improve error message when declaring an interface both as WebIDL and external in Bindings.conf; r=bz
2012-10-06 09:23:25 +02:00
Bobby Holley
02fbd34534
Bug 761695 - Implement expando traps for ProxyXrayTraits DOMXrayTraits. r=peterv
...
For new DOM proxies, we could probably use the Xray expando machinery for the
regular expando object as well, and free up one of the reserved slots. That's
more than I want to bite off for the moment, though.
I also decided not to block on bug 760095 and just kick the problem of globals
with new binding down the road a little bit.
2012-10-05 18:59:23 +02:00
Benoit Jacob
7c88e5e534
Bug 779611 - reland parts 5-8 - port WebGLTexture, WebGLBuffer, WebGLFramebuffer, WebGLRenderbuffer, WebGLShader, WebGLProgram to WebIDL bindings - r=bz
2012-10-04 16:35:54 -04:00
Benoit Jacob
3c55b8bae9
back out 6f3714945438, 5732dca84958, bfb93cf89612, e697a832c60b for Mac build error
2012-10-04 15:06:31 -04:00
Benoit Jacob
75765490e7
Bug 779611 - part 8 - port WebGLShader and WebGLProgram to WebIDL bindings - r=bz
2012-10-04 14:45:35 -04:00
Benoit Jacob
3c8b827724
Bug 779611 - part 7 - port WebGLFramebuffer and WebGLRenderbuffer to WebIDL bindings - r=bz
2012-10-04 14:45:33 -04:00
Benoit Jacob
5fed8a3b08
Bug 779611 - part 6 - port WebGLBuffer to WebIDL bindings - r=bz
2012-10-04 14:45:32 -04:00
Benoit Jacob
f0b59e1bef
Bug 779611 - part 5 - port WebGLTexture to WebIDL bindings - r=bz
2012-10-04 14:45:25 -04:00
Benoit Jacob
3a142c6980
Bug 779611 - part 3 - port WebGL extensions to WebIDL bindings, refactor them - r=bz,jgilbert
2012-10-03 17:13:05 -04:00
Benoit Jacob
8a7f727099
Bug 779611 - part 1 - port WebGLShaderPrecisionFormat to WebIDL bindings - r=bz
2012-10-03 17:13:05 -04:00
Boris Zbarsky
bc0118a179
Bug 792980. Don't force consumers to list descriptors for interfaces that are using all teh defaults. r=peterv
...
The new setup is:
* Consequential interfaces with no explicit descriptor are still skipped.
* If no information is provided about an interface, an empty descriptor is
assumed.
* If a list is provided and the only entry is a worker descriptor, an empty
main-thread descriptor is assumed.
2012-10-01 08:56:31 -04:00
Boris Zbarsky
0c92627751
Bug 795751. Make CSS2Properties stuff work even with pref names that are not identifiers. r=dholbert
2012-10-01 08:45:12 -04:00
Boris Zbarsky
2279ce8914
Bug 793528. Worker bindings should default to looking for headers in mozilla/dom/workers/bindings/. r=khuey
2012-10-01 08:45:11 -04:00
Peter Van der Beken
2561b4b1e6
Fix for bug 791774 (Hook DOM lists up to the new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 873020edd9cd3defc932d77bd26b5d65ebf263cb
2012-06-13 17:18:30 +02:00
Peter Van der Beken
dadc1f518a
Fix for bug 794959 (Use the right cast in GetAs* functions of union types in new DOM bindings). r=bz.
...
--HG--
extra : rebase_source : 051181aa319edd386679119846fd61c574957b54
2012-09-26 16:17:46 +02:00