Jan de Mooij
8dde2de579
Bug 1094255 - Optimize GetElements on NodeLists to make fun.apply(x, nodeList) faster. r=bz,evilpie
2014-11-11 11:56:44 +01:00
Tom Schuster
107172fa13
Bug 993026 - Rename NewResolve to Resolve in browser. r=bz
2014-11-08 01:07:12 +01:00
Tom Schuster
93dc15aa0c
Bug 993026 - Change resolve hook in browser/XPC. r=bholley
2014-11-08 01:07:12 +01:00
Tom Schuster
9d229e017e
Bug 993026 - Change XPIDLScriptable NewResolve to simpler Resolve. r=bholley
2014-11-08 01:07:12 +01:00
Tom Schuster
2a73ddb7b1
Bug 1091900 - Remove iteratorObject hook. r=jorendorff
...
* * *
Bug 1091900 - Fix build on CLOSED TREE
2014-11-05 20:36:49 +01:00
Wes Kocher
1dabf1f0b5
Backed out changesets 156eee9f2d2a,6e5aee097c86 (bug 1094545) for bc1 and xpcshell orange on a CLOSED TREE
2014-11-07 14:23:05 -08:00
Boris Zbarsky
0730704a75
Bug 1094545 followup: only do system stuff for non-worker descriptors, and rename one consumer that was colliding with the new URL global. r=bholley pending, but checking in now to fix CLOSED TREE
2014-11-07 15:48:51 -05:00
Carsten "Tomcat" Book
fac6a9db7c
Backed out changeset dc265cc31095 (bug 1091900)
2014-11-06 09:11:18 +01:00
Tom Schuster
5e10b64908
Bug 1091900 - Remove iteratorObject hook. r=jorendorff
2014-11-05 20:36:49 +01:00
Boris Zbarsky
4781da7e61
Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv
2014-10-30 17:43:42 -04:00
Wes Kocher
554446ac26
Backed out 6 changesets (bug 1088228) for static analysis bustage
...
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
499434862e
Bug 1088228 part 6. Simplify the DOM GetParentObject setup, now that we no longer rely on it for scope chains. r=peterv
2014-10-30 17:43:42 -04:00
Jason Orendorff
26dfad38c3
Bug 918828, part 1 - Change iteration code to call iterable[Symbol.iterator]() rather than iterable["@@iterator"](). r=Waldo with earlier review work by nbp.
...
--HG--
extra : rebase_source : 5780eed342b1780570650d140c7f14f966b7f1e1
2014-07-01 21:01:21 -05:00
Boris Zbarsky
e783498ddd
Bug 1088002 part 2. Change JS_DefineElement, JS_DefineProperty, JS_DefineUCProperty, JS_DefinePropertyById, and JS_DefineProperties to default to using JSNative accessors, not JSPropertyOp accessors. r=waldo
2014-10-29 15:06:31 -04:00
Jon Coppeard
3132765f93
Bug 650161 - Fix crashes moving partially initialized DOM objects r=bz
2014-10-28 10:18:36 +00:00
Boris Zbarsky
4944269edc
Bug 1087404. Get rid of XPCQuickStubs.h/cpp. r=bholley
2014-10-23 15:21:46 -04:00
Boris Zbarsky
1a046acfcb
Bug 1019191 part 23. Eliminate the ppArgRef argument of xpc_qsUnwrapArgImpl and UnwrapArg, since we're now always handing out a ref in ppArg. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
a89efc8112
Bug 1019191 part 22. Eliminate the effectively unused vp argument of xpc_qsUnwrapArgImpl. r=peterv
2014-10-22 11:40:51 -04:00
Boris Zbarsky
bbf70ae2f4
Bug 1019191 part 21. Change xpc_qsUnwrapArgImpl and UnwrapArg to take a HandleObject, not a HandleValue. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
4d6d33db4c
Bug 1019191 part 16. Remove nsDOMQS.h. r=peterv
2014-10-22 11:40:49 -04:00
Boris Zbarsky
bf226de154
Bug 1019191 part 9. Remove now-dead JS-to-C++ quickstub conversion functions. r=peterv
2014-10-22 11:40:48 -04:00
Akshendra Pratap
1b0c1aeb1b
Bug 1058651 - Added MOZ_UNLIKELY to Codegen.py argument number and exception checks; r=bz
2014-10-20 05:54:00 +02:00
Peter Van der Beken
8b6010b5ce
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Peter Van der Beken
fe40c8a917
Bug 1082583 - Avoid shadowing iter variable in DOM bindings generated code. r=bz.
...
--HG--
extra : rebase_source : dcf91cdcb4676ac37772756d4ac42126352f3675
2014-10-14 16:12:36 +02:00
Boris Zbarsky
54a7afdac9
Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley
2014-10-19 22:25:49 -04:00
Olli Pettay
329a5d00db
Bug 1084421 - Only Events with a wrapper should trigger GC more likely, r=mccr8
...
--HG--
extra : rebase_source : 398e18dfc3d103ee139cc3c5d49710855c925e82
2014-10-18 02:16:58 +03:00
Brian Hackett
1a86feed43
Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem.
2014-10-17 16:57:52 -07:00
Boris Zbarsky
0d7de1cbc4
Bug 1073124 part 2. Define Exposed=System things in BackstagePass::NewResolve as needed. r=bholley
2014-10-17 11:30:19 -04:00
Jason Orendorff
907735d0c8
Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 359dceadb4dfcfc9c724d2995c121a56af610c7d
2014-09-26 19:39:35 -05:00
Jason Orendorff
b2769f4dd7
Bug 1026918, part 1 - Rename BaseProxyHandler::getOwnPropertyNames -> ownPropertyKeys to match the ES6 [[OwnPropertyKeys]] internal method. r=efaust, r=bz.
...
Also renamed in this patch:
ENUMERATE_IF_DEFINED -> ADD_KEYS_IF_DEFINED
XrayEnumerateAttributesOrMethods -> XrayAttributeOrMethodKeys
XrayEnumerateNativeProperties -> XrayOwnNativePropertyKeys
XrayEnumerateProperties -> XrayOwnPropertyKeys
WrapperOwner::getPropertyNames -> getPropertyKeys
These make sense because JSITER_* flags are involved; the functions in
question are not for finding enumerable properties only.
--HG--
extra : rebase_source : 35fb0fa3c8f3d7bc952409ea8c584e58f3c1d78f
2014-09-26 15:16:36 -05:00
Peter Van der Beken
9254096129
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Peter Van der Beken
82ea691e0a
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make Xrays walk the prototype chain when resolving DOM properties. r=bholley.
...
* * *
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, remove obsolete code. r=bholley.
--HG--
extra : rebase_source : 7a9aa81d3e9d74ed958374942020474147aa4f86
2014-09-15 16:51:40 +02:00
Peter Van der Beken
34ffd8ca34
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, add a named properties object type to DOMObjectType and how to get the parent prototype object in DOMIfaceAndProtoJSClass. r=bz, r=bholley.
...
--HG--
extra : rebase_source : fdd72f5027b365554ab0b986de685204c8030c58
2014-09-09 15:19:10 +02:00
Peter Van der Beken
165dc310ea
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, cache named properties objects. r=bz.
...
--HG--
extra : rebase_source : ed4b2cc3c095690b8d91bee3202e8316e4531f60
2014-09-15 16:51:33 +02:00
Peter Van der Beken
f5362987e1
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, create the named properties object from the binding code. r=bz.
...
--HG--
extra : rebase_source : 9147c989b0f6b5791d3e98041029e730036c3892
2014-09-05 22:36:36 +02:00
Peter Van der Beken
4e39df8970
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, calculate parent prototype names in one place. r=bz.
...
--HG--
extra : rebase_source : c3ffbba076fed4ef2157ca8bb430a0d9cbaedd61
2014-09-09 15:19:09 +02:00
Peter Van der Beken
ee873a6dce
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make CreateInterfaceObjects take a js::Class instead of a JSClass. r=bz.
...
--HG--
extra : rebase_source : 8b37d59b5f43215c5acef9f8219e631024ece207
2014-08-05 12:46:42 +02:00
Bobby Holley
54afe3012b
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Boris Zbarsky
4de4a7b20e
Bug 1030192 part 2. Codegen changes to handle cases when a sequence is actually overloaded with a dictionary. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
f86d27c82d
Bug 1070764. Don't try to use the uninitialized temp value while default-constructing a dictionary with a required member. r=khuey
2014-09-24 09:11:30 -04:00
Boris Zbarsky
53e2c94cad
Bug 958887 part 3. Fix codegen support for IDL attribute names and methods with dashes in them. r=peterv
2014-09-19 22:58:27 -04:00
Jon Coppeard
c8cbf89441
Bug 650161 - Use the object moved hook to update the wrapper cache r=terrence r=bz r=bholley
...
* * *
Add exception for objectMoved hook as we do for finalize hook
2014-09-17 15:35:11 +01:00
Eric Faust
9b8255f0c4
Bug 966518 - Part 0: Make proxy callability into a trap, rather than a class check. (r=bholley, r=djvj, r=peterv)
2014-09-10 15:52:36 -07:00
Peter Van der Beken
a8288d3e91
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use overloaded functions and auto to select the right type to store return values. r=bz.
...
--HG--
extra : rebase_source : 50f86f20966fee33cfa039abc227ee2560640fd4
2014-08-28 00:43:56 +02:00
Peter Van der Beken
fc7a01c9c0
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, statically assert that we keep a strong reference to return values of NewObject methods. r=bz.
...
--HG--
extra : rebase_source : b0d62c7a8ecf73de3e24a9ab31ec2cae64174c24
2014-08-28 00:43:56 +02:00
Peter Van der Beken
867461ad4e
Bug 849567 - Automatically handle raw and already_AddRefed return values in Paris bindings and remove resultNotAddRefed, use templatized class to hold strong or weak pointer depending on the return type. r=bz.
...
--HG--
extra : rebase_source : 243e9ea15e2f4c213aa8a17a97fbaf53520804ac
2014-08-28 00:43:56 +02:00
Ehsan Akhgari
2f2c34f333
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
b3b77faddd
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Boris Zbarsky
cb658776f3
Bug 1063889. Fix the handling of sequences of wrapper types in unions. r=khuey
2014-09-08 11:28:57 -04:00
Boris Zbarsky
45593d2f34
Back out bug 1063889 (rev 2f5df573f4a3) because windowsx.h defines GetFirstChild/GetNextSibling macros, so will make the world blow up if you include it anywhere near nsIDOMNode/nsINode. r=bustage
2014-09-08 12:25:17 -04:00