Eric Faust
310c02137b
Bug 747289 - Part 1/2 - Update Paris bindings to expose DOM constants. r=bz
2012-11-28 16:28:36 -05:00
Peter Van der Beken
147e2bb1eb
Fix for bug 814195 (Replace Element quickstubs with new binding methods). r=bz.
...
--HG--
extra : rebase_source : 360b2ee1bc678265781991149185a1c1d262642e
2012-11-22 12:09:43 +01:00
Ehsan Akhgari
88689f2f34
Merge mozilla-central into mozilla-inbound
2012-11-28 09:43:30 -05:00
Olli Pettay
1e72329799
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Peter Van der Beken
44aba20f63
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 4: inline xpc_qsUnwrapObj. r=bz.
...
--HG--
extra : rebase_source : 712ff5573098f9d29fce555fb8cd548c5900d60e
2012-11-27 10:20:05 +01:00
Peter Van der Beken
2aa20fb76b
Fix for bug 814821 (Dromaeo dom-traverse regression from bug 812333) - part 2: make WrapNewBindingObject a little faster. r=bz.
...
--HG--
extra : rebase_source : ea52aea5d91436b516c8aa439f4af741cdea824c
2012-11-27 10:20:04 +01:00
Peter Van der Beken
1830a6a0b7
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 : 32e20aec9cf2ea8a6e8d878ce758f792e6b8a67f
2012-11-27 10:20:04 +01:00
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