Jason Orendorff
448bc4a4ce
Bug 1026918, part 2 - Rename js::GetPropertyNames -> GetPropertyKeys. r=efaust.
2014-09-26 19:39:35 -05:00
Jason Orendorff
5823a20a9a
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.
2014-09-26 15:16:36 -05:00
Eric Faust
eb76d911cb
Bug 1027964 - Standardize proxy handler families. (r=jorendorff)
2014-08-27 17:09:06 -07:00
Boris Zbarsky
8ac66c86d8
Bug 1043690 part 2. Change the codegen for DOM proxies to ignore named props when looking up property descriptors on [[Set]]. r=efaust
2014-08-01 23:37:14 -04:00
Bobby Holley
d39c5e3b16
Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor
2014-07-03 09:40:52 -07:00
Eric Faust
122811aa1e
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Carsten "Tomcat" Book
6d91e7ccb9
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
7c512d564b
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Jason Orendorff
d3d65bb33a
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
f08d9d6a0c
Bug 987007, part 2a - Instead of generating identical DOMProxyHandler::set() methods for many interfaces, implement it in a common base class. r=bz.
2014-04-25 15:07:18 -05:00
Jason Orendorff
56e94c837d
Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
2014-04-25 15:07:18 -05:00
Boris Zbarsky
829f8e8296
Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv
2014-04-15 22:58:44 -04:00
Jon Coppeard
172017a5b4
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Terrence Cole
fb06b8575f
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
2014-01-17 10:08:51 -08:00
Terrence Cole
5403e658ff
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
2014-01-16 09:48:58 -08:00
Wes Kocher
4e742eeab0
Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE
2013-12-16 18:27:43 -08:00
Sean Stangl
4a839043a9
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Birunthan Mohanathas
c04d0ff563
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Jon Coppeard
20bc53f105
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Ed Morley
cb4bda1af5
Backed out changeset 17ca97e65aa5 (bug 940727)
2013-11-20 16:37:55 +00:00
Jon Coppeard
3c2a0fccb6
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Ms2ger
503d7fdd5e
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Jeff Walden
be96300fce
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
2013-10-29 16:39:09 -07:00
Ryan VanderMeulen
c2f6e87108
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
45a3a85ce6
Bug 903332 - Make watch/unwatch into proxy hooks and such, and make watching/unwatching work on DOM proxies and windows (or at least work as much as it ever did, which is to say kinda-sorta-ish). r=bhackett, r=efaust
2013-10-29 16:39:09 -07:00
Birunthan Mohanathas
fd194c1851
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Peter Van der Beken
e46609f302
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Ms2ger
69b50c2dad
Backout changeset 2e466ccc7bd0 for devtools test failures.
2013-10-26 17:02:20 +02:00
Peter Van der Beken
d659070fdf
Bug 918345 - Turn on WebIDL binding generation for Window and hook it up to quickstubs. r=bz.
2013-10-08 17:51:42 +02:00
Tom Schuster
668d9f8856
Bug 884410 - Remove JS_ValueToNumber. r=terrence
2013-10-19 18:39:52 +02:00
Dan Gohman
3434ead5d8
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
af14eac203
Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
...
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
9d738eeddb
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Boris Zbarsky
a30fb1fc8e
Bug 908351. Stop over-including DOMJSClass.h, so we don't rebuild as much when PrototypeList.h changes. We do this by factoring out the slot macros into a separate header and including that. r=khuey
2013-08-23 22:42:39 -04:00
Jon Coppeard
247e4f0b6c
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Peter Van der Beken
a4c6cd24e4
Bug 895758. Make the global scope polluter a proxy. r=bzbarsky
2013-07-09 10:45:13 -04:00
Terrence Cole
f3b496ba3b
Bug 862115 - Use Rooted<JSPropertyDescriptor> in favor of JSPropertyDescriptor::AutoRooter r=terrence r=smaug r=bholley
2013-04-30 10:29:40 -07:00
Nicholas Nethercote
f7d6f07d24
Bug 898914 (part 1) - Remove JSBool.
2013-08-08 15:53:04 -07:00
Jon Coppeard
28abf58d87
Bug 900979 - Change JS_DeleteProperty APIs to use a boolean out param rather than a value r=waldo r=bz
2013-08-05 14:01:53 +01:00
Boris Zbarsky
20f8a84412
Bug 707564 part 4. Teach WebIDL Xrays about the GetOwnProperties methods on WebIDL objects that have NewResolve. r=smaug
2013-08-03 23:38:55 -04:00
Jon Coppeard
9275cd7c1a
Bug 899973 - GC: Convert the rest of the JS property API to use MutableHandleValue for out params - browser changes r=bz
2013-08-02 13:15:39 +01:00
Tom Schuster
5f28c2402f
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Nicholas Nethercote
1a00800376
Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
2013-06-20 22:39:22 -07:00
Jeff Walden
8e7858fd5f
Bug 888106 - Add too-much-recursion detection to isExtensible tests, and make the isExtensible hook capable of failing. r=bholley, r=ejpbruel
2013-06-28 14:01:09 -07:00
Andrew McCreight
56bc9d2d58
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
Ms2ger
bbc41074ac
Bug 884268 - Part b: Move nsContentUtils::PreserveWrapper to nsWrapperCache; r=smaug
2013-06-23 09:15:42 +02:00
Jon Coppeard
5f0e17f56a
Bug 885310 - 1 Rename JSHandleFoo in the browser r=bz
2013-06-21 14:12:46 +01:00
Ryan VanderMeulen
454e8e0143
Bug 875449 - Bustage fix.
2013-06-07 08:54:13 -04:00
Anand Soni
b170f0c713
Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj
2013-06-07 00:02:26 +05:30
Peter Van der Beken
a83b1cb4df
Bug 871849 - Correctly trace expando objects for OverrideBuiltin proxies. r=bzbarsky.
2013-05-17 17:04:08 +02:00