Boris Zbarsky
d975beea20
Bug 861022 part 1. Root the non-globals in WebIDL prototype and interface object setup. r=peterv,terrence
2013-05-01 23:44:11 -04:00
Kyle Huey
7598959bca
Bug 866918: Don't include WorkerPrivate.h in all the binding code. r=bz
2013-05-01 13:24:19 -07:00
Ehsan Akhgari
13fd72e30d
Bug 865234 - Part 1: Add DOM bindings for the channel mixing attributes; r=roc
2013-04-27 18:44:50 -04:00
Jim Blandy
4c02ff838f
Bug 862531: Replace BaseProxyHandler::obj_toString with className. r=jorendorff
2013-04-30 14:44:50 -07:00
Andrew McCreight
18efb67705
Bug 851639 - Allow JS implemented WebIDL to be registered on window.navigator. r=bz
2013-04-30 13:30:25 -07:00
Terrence Cole
6acd98dd37
Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco
2013-04-16 16:20:44 -07:00
Olli Pettay
df759e4f3b
Bug 866347 - Don't include jsapi.h in ErrorResult.h, r=waldo
...
--HG--
extra : rebase_source : e2b44338cf71a858b0a40c59a1af4e90620ed3aa
2013-04-30 17:04:52 +03:00
Boris Zbarsky
9e0ae56b05
Bug 865961. Root the scope argument of wrap-the-xpconnect-object helpers in WebIDL bindings. r=ms2ger
2013-04-29 17:33:42 -04:00
Boris Zbarsky
3394bf9a4a
Bug 717637. Stop using non-global parent objects for everything that's not an element, since having a mix of parent objects makes us fail shape guards in the JIT. r=peterv
2013-04-29 17:33:41 -04:00
Ehsan Akhgari
3163802ff4
Bug 865246 - Part 3: Update the BiquadFilterNode IDL to match the current spec; r=padenot
2013-04-26 17:11:23 -04:00
Boris Zbarsky
830afc067e
Bug 865975. Better rooting for the 'this', 'callable', and 'rval' values in WebIDL callbacks. r=bholley
2013-04-26 13:41:21 -04:00
Boris Zbarsky
69e8214aeb
Bug 865964. Remove dead WrapCallbackInterface code. r=smaug
2013-04-26 13:41:21 -04:00
David Zbarsky
4a3500d5bc
Bug 856472: Wrappercache CanvasGradient r=bz
2013-04-26 10:55:56 -04:00
David Zbarsky
7a28fe1f0b
Bug 856472: Convert CanvasGradient to WebIDL r=bz
2013-04-26 10:55:54 -04:00
David Zbarsky
6ea0ae0156
Bug 856472: Wrappercache CanvasPattern r=bz
2013-04-26 10:55:37 -04:00
David Zbarsky
842496f8c2
Bug 856472: Convert CanvasPattern to WebIDL r=bz
2013-04-19 04:49:22 -04:00
Aryeh Gregor
2223e977f2
Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan
2013-04-21 14:56:06 +03:00
Ms2ger
0a58b78352
Merge m-c to m-i.
2013-04-26 12:32:27 +02:00
Ms2ger
538b2b03a2
No bug - Sort the entries in Bindings.conf alphabetically.
2013-04-26 08:48:37 +02:00
Ms2ger
184931f9b9
Bug 852135 - Part d: Move nsDOMAttributeMap to WebIDL bindings, remove CI and QS; r=bz
2013-04-26 08:48:27 +02:00
Ms2ger
f25020c780
Bug 864509 - Make SVGStringList inherit from nsISupports; r=bz
2013-04-26 08:47:11 +02:00
Boris Zbarsky
92c3c727a2
Bug 863898. Add support for dictionary arguments in JS-implemented WebIDL bindings. r=mccr8
2013-04-25 12:29:55 -04:00
Boris Zbarsky
1f2af992c7
Bug 864727 part 7. Make the WebIDL binding Wrap methods take a handle for the scope object and use a Rooted for the parent. r=ms2ger
2013-04-25 12:29:55 -04:00
Boris Zbarsky
b834439797
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Boris Zbarsky
47de9d3ebe
Bug 864727 part 4. Pass a handle for the scope object to all the various Wrap*Object stuff in BindingUtils. r=ms2ger
...
Note: The JS::Rooted in CGWrapWithCacheMethod is just there until we start passing a handle to Wrap().
2013-04-25 12:29:53 -04:00
Boris Zbarsky
73485c55dd
Bug 864727 part 3. Pass a handle for the parent object to WebIDL dictionary ToObject. r=ms2ger
2013-04-25 12:29:53 -04:00
Boris Zbarsky
395cf489d9
Bug 864727 part 2. Pass a handle for the scope object to union conversions. r=ms2ger,terrence
2013-04-25 12:29:52 -04:00
Andrew McCreight
14a0aa1894
Bug 863880 - Take a less ad hoc approach to forward declarations in bindings generation. r=bz
2013-04-25 08:42:43 -07:00
Andrew McCreight
ab223cc59f
Bug 863964 - clean up forward class declarations in codegen. r=bz
2013-04-25 08:42:43 -07:00
Boris Zbarsky
2d1373eb86
Bug 865940. Remove AsMutable now that our binding stack variables aren't const. r=bholley
2013-04-25 22:46:18 -04:00
Boris Zbarsky
02a352a2dc
Bug 766583 part 7. Stop declaring variadic arguments as const on the stack in bindings code. r=smaug
2013-04-25 19:03:07 -04:00
Boris Zbarsky
3cb984ef8b
Bug 766583 part 6. Stop declaring unions as const on the stack in bindings code. r=smaug
2013-04-25 19:03:07 -04:00
Boris Zbarsky
0ec7bc5226
Bug 766583 part 5. Stop declaring optional arguments as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
e012e5ef28
Bug 766583 part 4. Stop declaring strings as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
38276f8d99
Bug 766583 part 3. Stop declaring nullable things as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
158db47252
Bug 766583 part 2. Stop declaring sequences as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
eb318bbb88
Bug 766583 part 1. Stop declaring dictionaries as const on the stack in bindings code. r=smaug
2013-04-25 19:03:06 -04:00
Boris Zbarsky
1ffcf1ad91
Bug 861493. When passing arguments to an Xray for a WebIDL constructor, make sure to do the argument unwrapping before entering the content compartment. r=bholley,waldo
...
There are several changes here:
1) Adds some MutableThis methods to Optional, Nullable, and dictionaries to
effectively allow doing a const_cast without knowing the actual type being
templated over. I needed this because I do not in fact know that type in
the relevant code. I'm open to suggestions for a better name for this
method.
2) Adds some operator& to RootedJSValue to make it look more like a JS::Value,
and in particular so I can JS_WrapValue the thing in it.
3) Adds a Slot() method to NonNullLazyRootedObject, just like NonNull has.
4) Adds an operator& to LazyRootedObject to make it look more like JSObject* so
I can JS_WrapObject the thing in it.
5) Implements the actual rewrapping of the arguments into the content compartment.
6) Fixes a small preexisting bug in which we didn't look at named constructors
in getTypesFromDescriptor (this was causing my tests to not compile).
7) Changes Xrays to not enter the content compartment when calling a WebIDL
constructor.
8) Adds some friend API to report things as not being functions.
2013-04-25 19:03:05 -04:00
Andrew McCreight
dcaa7d2183
Bug 865544 - Add support for nsIDOMGlobalPropertyInitializer to JS-implemented WebIDL. r=bz
2013-04-25 14:31:42 -07:00
Boris Zbarsky
f760939bec
Bug 731746 part 4. When wrapping a JS-implemented webidl object, define the new object as a property on the implementing object. r=mccr8
2013-04-24 22:44:28 -04:00
Boris Zbarsky
45135ea107
Bug 731746 part 3. Change JS-implemented webidl codegen to always invoke the parent constructor if there is a parent interface. r=mccr8
2013-04-24 22:44:28 -04:00
Boris Zbarsky
529764fe78
Bug 731746 part 2. Change JS-implemented webidl codegen to pass an nsPIDOMWindow, not an nsISupports, to the object constructor. r=mccr8
2013-04-24 22:44:27 -04:00
Boris Zbarsky
30064ae263
Bug 864590. Assert that the object is not null when wrapping WebIDL objects. r=peterv
2013-04-24 14:59:15 -04:00
Boris Zbarsky
4672697c11
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
f3f44cfa74
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
Boris Zbarsky
d7b1013b15
Bug 843264. Allow returning sequences of non-primitive types from callback methods. r=mccr8
2013-04-24 14:59:14 -04:00
Boris Zbarsky
d9ed7658f1
Bug 864535. Drop some comments from WebIDL proxy [[Delete]] implementations, since the spec has changed. r=waldo
2013-04-24 14:59:14 -04:00
Ehsan Akhgari
f4ede88cdf
Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot
2013-04-22 17:01:22 -04:00
Andrea Marchesini
846945f3f9
Bug 864747 - Optional<T&> should be able to receive a value in the constructor. r=bz
2013-04-24 08:36:10 -04:00
Robert O'Callahan
310eed83a8
Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup
2013-03-27 14:32:51 +13:00