Boris Zbarsky
3ab8b7383a
Bug 1088002 part 3. Stop requiring JSPROP_PROPOP_ACCESSORS just to use stub accessors. r=waldo
2014-10-29 15:06:32 -04:00
Boris Zbarsky
6ee4ab8789
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
Boris Zbarsky
87347c238d
Back out part of bug 1084001 because the tests are being silly.
2014-10-25 01:58:59 -04:00
Boris Zbarsky
96fe2231a2
Bug 1084001. Set the .name of DOM interface objects to the name of the interface. r=peterv
2014-10-25 00:50:28 -04:00
Boris Zbarsky
691a2b701a
Bug 1087404. Get rid of XPCQuickStubs.h/cpp. r=bholley
2014-10-23 15:21:46 -04:00
Boris Zbarsky
0929eae5cc
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
a688f3fefc
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
b87343d102
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
e4db1a7e1e
Bug 1019191 part 19. Change GlobalObject::GetAsSupports to not rely on UnwrapArg producing an nsISupports for non-reflectors. r=peterv
2014-10-22 11:40:50 -04:00
Boris Zbarsky
56c4d8609d
Bug 1019191 part 10. Stop using xpc_qsUnwrapArg directly in BindingUtils. r=peterv
2014-10-22 11:40:48 -04:00
Brian Hackett
87281e9299
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
Jason Orendorff
8ec9f238d9
Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
...
--HG--
extra : rebase_source : f78cbb83f63dfffd648c6d3c280273f4a61c9fe8
extra : amend_source : f006a096174eee166125430753e65e9a31bd930b
2014-09-18 12:30:38 -05:00
Tom Schuster
bf9324688d
Bug 1069694 - Remove OldDebugAPI from the browser. r=shu
2014-10-12 19:37:41 +02:00
Jason Orendorff
d35e6d1e8d
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
Bobby Holley
0eb719cc17
Bug 987794 - Don't unwrap XrayWrappers in HasPropertyOnPrototype. r=bz
2014-10-02 18:34:16 +02:00
Neil Rashbrook
2b34b65e9e
Bug 1074114 Propagate error thrown when constructing the JS implementation r=bz
2014-10-02 01:37:50 +01:00
Peter Van der Beken
ebc693bfd7
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
16b3a0fe7d
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
307531531b
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
...
--HG--
extra : rebase_source : 713a35d4bc7ffa4a25561823dbb0301a22565cb5
2013-10-18 13:22:08 +02:00
Peter Van der Beken
cbd064cb38
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
Peter Van der Beken
a756948971
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make global properties own on Xrays. r=bholley.
...
--HG--
extra : rebase_source : dc238b6eeed8299adc3995c2b8647f68499efb58
2014-09-15 16:49:04 +02:00
Peter Van der Beken
67e7fbe69f
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, make GetNativePropertyHooks detect global objects. r=bz.
...
--HG--
extra : rebase_source : 15dc7787cc8456da79d9c62536f241fc3dc94dbd
2014-08-22 11:25:35 +02:00
Peter Van der Beken
1ab9ffc995
Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
...
--HG--
extra : rebase_source : 7ba38f2b2625d0ff5405eda2fda6bad9608efa34
2014-09-15 16:45:38 +02:00
Bobby Holley
db168e5cde
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Ehsan Akhgari
28f0bef008
Bug 1065025 - Make the generated WebIDL ToJSON method const; r=baku
2014-09-09 14:00:22 -04:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Peter Van der Beken
dc7011c6cf
Bug 1059134 - ResolvePrototypeOrConstructor should take bool&, not bool, for cacheOnHolder. r=bz.
...
--HG--
extra : rebase_source : 063b8cd96dc8e5a7d7f73f292554ce11520c313a
2014-09-02 14:17:43 +02:00
Bobby Holley
9623afb943
Bug 1056332 - Remove cross-global adopt telemetry. r=gabor
2014-08-23 09:01:50 +02:00
Peter Van der Beken
63152eee22
Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
...
--HG--
extra : rebase_source : 9e86ba2d864e6894cc10722ddaf83ded41d88e42
2014-08-22 11:25:07 +02:00
Roshan Vidyashankar
2d98c38825
Bug 1038993
- Add UnsafeInPrerendering extended attribute to WebIDL. r=peterv
2014-08-20 16:32:19 -07:00
Bill McCloskey
ea56636cdf
Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley)
2014-08-20 18:14:56 -07:00
Wes Kocher
f1dcf77851
Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE
2014-08-20 16:08:04 -07:00
Bill McCloskey
d701ccf82e
Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley)
2014-08-20 15:16:07 -07:00
Bobby Holley
9b4a386a14
Bug 1036214 - Do a subsumes check on object and any parameters (and things containing them) to JS-implemented WebIDL. r=bz
2014-08-19 18:12:15 -07:00
Peter Van der Beken
2a4b38bbe9
Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
...
--HG--
extra : rebase_source : 5fd0eed62b999eabf4a7a46300f4d74a6888b1f8
2014-08-08 15:03:29 +02:00
Seth Fowler
0fd6e994ae
Bug 913586 (Part 4) - Update Maybe users in dom. r=bz
...
--HG--
extra : rebase_source : 7b6159b00b3bf4f919b30f1bccc8939cc04fe526
2014-08-13 15:39:41 -07:00
Ben Kelly
8d0e50e7d2
Bug 1025183
P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 16:23:48 -04:00
Ben Kelly
93f746a2f6
Revert bug 1025183
(revs 69373df15281, dd6d84edf08e, 728a5d18bcd9, 71babe0bc84b, c60f9054acf6) for bustage. r=me
2014-08-01 14:10:40 -04:00
Ben Kelly
e072a1a235
Bug 1025183
P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-08-01 13:56:59 -04:00
Ed Morley
9e28eb3441
Backed out changeset 01c51cb8d8bd (bug 1025183
)
2014-08-01 10:27:32 +01:00
Boris Zbarsky
3688e8eb15
Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley
2014-07-31 23:50:19 -04:00
Ben Kelly
9384922566
Bug 1025183
P3 Add ScalarValueString to webidl Codegen.py r=bz
2014-07-31 19:40:12 -04:00
Bobby Holley
8bee6258a0
Bug 1044205 - Invoke XPCWrappedNativeScope::TraceSelf from TraceXPCGlobal. r=billm
2014-07-29 08:48:32 -07:00
Bobby Holley
4aeae32f5c
Bug 1041626 - Only define unforgeable attributes on instances, and do a call to XrayEnumerateNativeProps when |type| is still set to eInstance. r=bz
2014-07-23 12:36:21 -07:00
Bobby Holley
e69028525a
Bug 1041626 - Use a macro in XrayEnumerateProperties to make the logic easier to follow. r=bz
2014-07-23 12:36:21 -07:00
Bobby Holley
3ee88775ff
Bug 1041626 - Make NativeProperties naming more consistent. r=bz
2014-07-23 12:36:21 -07:00
Bobby Holley
797a9c28be
Bug 1041626 - Mirror the logic for attribute enumeration in method enumeration. r=bz
2014-07-23 12:36:21 -07:00
Bobby Holley
5e7401f779
Bug 1041626 - Generalize XrayEnumerateAttributes. r=bz
2014-07-23 12:36:20 -07:00
Neil Rashbrook
5aea9a701a
Bug 1041140 Fix design flaws in FakeString r=bz
2014-07-19 14:23:19 +01:00
Jan de Mooij
cfcce18b5a
Bug 1037613 - rm js_GetLocalizedErrorMessage, localeGetErrorMessage callback. r=jorendorff
2014-07-15 15:14:38 +02:00