gecko/dom/bindings
Boris Zbarsky 7a5392b28d 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
..
crashtests Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz. 2013-04-16 19:02:57 +02:00
parser Bug 864578 - Follow up, fixing test. 2013-04-22 18:22:47 -07:00
test 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 2013-04-25 19:03:05 -04:00
BindingDeclarations.h 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 2013-04-25 19:03:05 -04:00
BindingGen.py Bug 854532. Make _asInstance codegen always produce code in the same order. r=khuey 2013-04-03 22:22:14 -04:00
Bindings.conf Bug 864164 - Part 2: Send the AudioBufferSourceNode buffer parameter changes to the stream; r=padenot 2013-04-22 17:01:22 -04:00
BindingUtils.cpp Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz. 2013-04-16 19:02:57 +02:00
BindingUtils.h 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 2013-04-25 19:03:05 -04:00
CallbackFunction.h 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
CallbackInterface.cpp Bug 822470 part 6. Hook up callback interface codegen. r=peterv 2013-01-28 08:34:30 -05:00
CallbackInterface.h 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
CallbackObject.cpp Bug 835643 part 2. Store an EventListenerHolder, not an nsIDOMEventListener, in nsListenerStruct. r=smaug 2013-04-16 17:15:57 -04:00
CallbackObject.h 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
Codegen.py 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 2013-04-25 19:03:05 -04:00
Configuration.py 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 2013-04-25 19:03:05 -04:00
DOMJSClass.h Bug 864727 part 4. Pass a handle for the scope object to all the various Wrap*Object stuff in BindingUtils. r=ms2ger 2013-04-25 12:29:53 -04:00
DOMJSProxyHandler.cpp Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz. 2013-04-16 19:02:57 +02:00
DOMJSProxyHandler.h Bug 862092 - "Assertion failure: target->isNative() == obj->isNative()" adopting a <select>. r=bz. 2013-04-16 19:02:57 +02:00
ErrorResult.h Bug 860473 part 3. Root ErrorResult::ThrowJSException. r=evilpie,smaug 2013-04-11 14:31:06 -04:00
Errors.msg Bug 854323 - Move IDBFactory to Paris bindings. r=khuey 2013-03-31 10:18:30 +02:00
ExampleGen.py Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv 2012-12-02 09:59:08 +01:00
GenerateCSS2PropertiesWebIDL.py
GlobalGen.py Bug 802163 - Fix pyflakes warnings in bindings python; r=peterv 2012-12-02 09:59:08 +01:00
Makefile.in Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
moz.build Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
NonRefcountedDOMObject.h
Nullable.h 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 2013-04-25 19:03:05 -04:00
PrimitiveConversions.h Bug 832788. Part 4: PrimitiveConversions should avoid implicit narrowing casts to avoid compiler warnings; make them explicit. r=bzbarsky 2013-01-29 16:14:40 +13:00
TypedArray.h Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz 2012-11-14 09:56:26 -08:00