gecko/dom/bindings
Kyle Huey e85fc55550 Bug 1031051: Part 13 - Support ToJSValue()ing CallbackObjects and nsTArrays of raw pointers. r=bz
Without special handling CallbackObject subclasses will fall into the "nsISupports but not nsWrapperCache" case which goes through an XPConnect wrapping path that has no idea how to cope with a CallbackObject.  We need both the CallbackObject overload and the EnableIf bit in the template because the template will bind to the subclass and thus be preferred to the CallbackObject overload which requires an implicit conversion to the base class.

Before this patch nsTArray<T*> will eventually try to ToJSValue a T* which will select the boolean overload.  Thanks C++!  The new template overload that takes a T and attempts to dereference it will be preferred because it can bind to the type directly and does not require the implicit (and terrible!) conversion to bool.  This template is written in terms of T and not T* so we can test to see if T is a pointer type (and not merely something that can be coerced to a T*, such as a T[N]).
2014-06-30 16:02:03 -07:00
..
crashtests Bug 1010658 part 1. Stop using the DOMClass stored in DOM_PROTO_INSTANCE_CLASS_SLOT for doing type checks in the jit, and do them directly on the instance classes instead. r=efaust 2014-05-19 16:37:59 -04:00
docs
mozwebidlcodegen
parser Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
test Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
AtomList.h
BindingDeclarations.h Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
Bindings.conf Bug 1029104 - Convert XPathExpression to WebIDL bindings, add WebIDL API and switch to the WebIDL binding. r=bz. 2014-06-27 21:39:50 +02:00
BindingUtils.cpp Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
BindingUtils.h Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley) 2014-06-23 16:33:37 -07:00
CallbackFunction.h
CallbackInterface.cpp Bug 1019160 - part 4 - use jsids to access JS-implemented interface properties; r=bz 2014-06-05 14:47:13 -04:00
CallbackInterface.h Bug 1019160 - part 4 - use jsids to access JS-implemented interface properties; r=bz 2014-06-05 14:47:13 -04:00
CallbackObject.cpp Bug 1019149. For calls into JS-implemented WebIDL, don't check whether it's OK to run the script (it is) and whether the script lives in a window (it doesn't). r=bholley 2014-06-03 11:38:37 -04:00
CallbackObject.h Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Codegen.py Bug 1031051: Part 1 - Allow codegenerating an InitFooEvent method for legacy event types. r=smaug,bz 2014-06-30 16:00:31 -07:00
Configuration.py Bug 1019705 - replace binaryNames accesses with binaryNameFor; r=bz 2014-06-03 12:20:16 -04:00
Date.cpp
Date.h
DOMJSClass.h Bug 1011660 - Remove separate DOMClass struct. (r=bz) 2014-06-18 13:19:19 -07:00
DOMJSProxyHandler.cpp Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz) 2014-06-27 04:44:06 -07:00
DOMJSProxyHandler.h Bug 1027402 - Part 4: Mark Proxy Handler uses const. (r=jorendorff, r=bz) 2014-06-27 04:44:08 -07:00
DOMString.h
ErrorResult.h
Errors.msg
Exceptions.cpp Bug 1028588 - Fix dangerous public destructors in dom/bindings - r=bz 2014-06-23 14:49:08 -04:00
Exceptions.h Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
GenerateCSS2PropertiesWebIDL.py
JSSlots.h Bug 1010658 part 2. Stop storing a DOMClass* in a slot on DOM prototypes. r=peterv 2014-05-19 16:37:59 -04:00
mach_commands.py Bug 1029102. Don't drop webidlyacc.py files caching the webidl grammar in the source dir when running webidl parser tests. r=gps 2014-06-24 23:36:39 -04:00
Makefile.in
moz.build Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey 2014-05-23 17:32:38 -04:00
MozMap.h Bug 1029812 Make webidl Sequence and MozMap distinguishable. r=bz 2014-06-25 10:25:09 -07:00
NonRefcountedDOMObject.h
Nullable.h Bug 1023762 part 2. Add basic support for sequences of non-containers to event codegen. r=smaug 2014-06-23 16:03:58 -04:00
OwningNonNull.h Bug 767924 part 2. Introduce both const and non-const versions of GetAs* methods on unions, with the former returning the public-facing type and the latter returning the internal type. r=peterv 2014-06-23 16:03:57 -04:00
PrimitiveConversions.h
RootedDictionary.h
ToJSValue.cpp Backed out 3 changesets (bug 996474, bug 996831) for B2G bustage on a CLOSED TREE. 2014-04-16 19:31:41 -04:00
ToJSValue.h Bug 1031051: Part 13 - Support ToJSValue()ing CallbackObjects and nsTArrays of raw pointers. r=bz 2014-06-30 16:02:03 -07:00
TypedArray.h Bug 1020034. r=bz 2014-06-03 18:47:59 -07:00
UnionMember.h