Boris Zbarsky
ffbd31df6a
Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace
2014-11-26 14:25:20 -05:00
Tom Schuster
977a743145
Bug 1091900 - Make GetIterator and others take an object as outparam. r=efaust
2014-11-19 01:44:03 +01:00
Tom Schuster
892aa58156
Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust
2014-11-14 16:21:12 +01:00
Tom Schuster
c913a24c50
Bug 993026 - Rename NewResolve to Resolve in browser. r=bz
2014-11-08 01:07:12 +01:00
Boris Zbarsky
9bf1eb6c29
Bug 1090749. Reverse the isSelfHosted test in XrayWrapper and jsapi.cpp. r=waldo
2014-10-29 17:00:48 -04:00
Boris Zbarsky
2adab31a77
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
28a09cbcd7
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
888ec64050
Bug 1087374. Make .wrappedJSObject on Xrays a JSNative accessor. r=bholley
2014-10-23 15:21:46 -04:00
Jeff Walden
33ab4b19be
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
2014-10-21 11:40:04 -07:00
Jeff Walden
7eab2a3226
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
2014-10-19 01:18:43 -07:00
Jeff Walden
ad24a6a495
Bug 1052139 - Implement the ability to prevent modifying an extensible object's [[Prototype]]. r=efaust, r=bholley
2014-09-23 13:03:40 -07:00
Carsten "Tomcat" Book
d82ffbcf70
Backed out changeset 77ff6a4dd3f1 (bug 1052139)
2014-10-22 08:59:11 +02:00
Carsten "Tomcat" Book
77dee816cc
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
6b7490c4d7
Backed out changeset 4eee647a5bd4 (bug 1052139)
2014-10-22 08:59:05 +02:00
Jeff Walden
5ca615d0c4
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
2014-10-21 11:40:04 -07:00
Jeff Walden
58c90aac1c
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
2014-10-19 01:18:43 -07:00
Jeff Walden
7b088a79a1
Bug 1052139 - Implement the ability to prevent modifying an extensible object's [[Prototype]]. r=efaust, r=bholley
2014-09-23 13:03:40 -07:00
Bobby Holley
95313c9a25
Bug 1084656 - Properly propagate exceptions out of getExpandoObjectInternal. r=bz
2014-10-21 11:59:30 +02:00
Jason Orendorff
6b4db7d3a8
Bug 1082672, part 4 - Change XrayWrapper code to be able to resolve symbol-keyed methods. r=bz, r=bholley.
2014-09-18 12:30:38 -05:00
Jason Orendorff
74f6308ca4
Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
2014-10-08 22:01:55 -05:00
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
Bobby Holley
342d0710f0
Bug 1065185 - Expand XrayWrapper console messages for COWs. r=bz
2014-10-03 10:05:51 +02:00
Peter Van der Beken
3b4afc744e
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, stop forwarding sets to Traits. r=bholley.
2014-09-15 16:52:11 +02:00
Peter Van der Beken
487915a1b7
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.
2014-09-15 16:51:40 +02:00
Peter Van der Beken
0853409783
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, move some code around. r=bholley.
2013-10-18 13:22:08 +02:00
Peter Van der Beken
4b8b0c89fb
Bug 1067501 - Make stringification of DOM Xrays use Object.prototype.toString. r=bholley.
2014-09-15 16:45:38 +02:00
Bobby Holley
f204dd3faa
Bug 1065811 - Expose isCallable()/isConstructor() in JS_PUBLIC_API. r=billm
2014-09-25 13:13:28 +02:00
Bobby Holley
3912bf0c68
Bug 1072174 - Handle all the cases XrayWrapper.cpp. r=peterv
2014-09-24 21:58:33 +02:00
Jeff Walden
44540b0763
Bug 896116 - Implement %TypedArray% and %TypedArray%.prototype. r=till, r=bholley
2014-08-21 20:39:30 -07:00
Jeff Walden
2e21002891
Bug 896116 - Morph the dependent-JSProtoKey system to explicitly store a JSProtoKey, rather than relying on a system where a single class represents the parent and dependent both. Also convert error objects (Error, RangeError, &c.) to be represented by multiple classes, not a single one. r=bholley, r=till
2014-09-18 20:06:32 -07:00
Bobby Holley
7d0c27ef8e
Bug 1060521 - Remove infrastructure for Xrayed NewResolve, GetProperty, and SetProperty on XPCWrappedNatives. r=peterv
2014-09-15 14:13:02 +02:00
Ehsan Akhgari
7e755801f0
Bug 1060977 - Fix more bad implicit constructors in xpconnect; r=smaug
2014-08-31 21:06:35 -04:00
Eric Faust
e24e711dc5
Bug 1027425 - Make all Proxy handler constructors use MOZ_CONSTEXPR. (r=bz, r=froydnj)
2014-08-28 13:47:16 -07:00
Eric Faust
98caef77fd
Bug 1017862 - Remove virtual destructor from BaseProxyHandler. (r=jorendorff)
2014-08-28 13:30:56 -07:00
Peter Van der Beken
82418365e7
Bug 1041731 - Unforgeable Xrayed methods aren't getting cached on the holder. r=bholley.
2014-08-22 11:25:07 +02:00
Seth Fowler
6d30ddc363
Bug 913586 (Part 6) - Update Maybe users in js. r=luke
2014-08-13 15:42:00 -07:00
Jason Orendorff
d25f85f375
Bug 1041261, part 6 - Update a few comments in XPConnect for symbol jsids. r=bholley.
2014-08-02 06:54:58 -05:00
Bobby Holley
e9841317e0
Bug 1042436 - Warn once to the console when XrayWrappers deny access to an object. r=gabor,sr=smaug
2014-08-06 23:32:23 -04:00
Bobby Holley
94daf19f93
Bug 1042436 - Lowercase the "reason" param to SilentFailure. r=me
2014-08-06 23:32:22 -04:00
Bobby Holley
8f010bb4b9
Bug 1042436 - Always enter the wrapper's compartment before invoking SilentFailure. r=gabor
2014-08-06 23:32:22 -04:00
Bobby Holley
010d1c0e0a
Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor
2014-07-30 12:23:03 -07:00
Bobby Holley
b892a36e71
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-30 12:23:02 -07:00
Bobby Holley
24a6a77567
Backed out 16 changesets (bug 965898) for rooting hazards. CLOSED TREE
...
Backed out changeset ac4abde3579f (bug 965898)
Backed out changeset c4c7ab1a2f70 (bug 965898)
Backed out changeset e0bf3598dfe1 (bug 965898)
Backed out changeset 8f2788a0ba24 (bug 965898)
Backed out changeset 0d1cda4decaa (bug 965898)
Backed out changeset 3d80ffc439fb (bug 965898)
Backed out changeset ad66ab36fe2d (bug 965898)
Backed out changeset dcf7ccf6eff2 (bug 965898)
Backed out changeset d3f02e80355d (bug 965898)
Backed out changeset 212f2d05d9e7 (bug 965898)
Backed out changeset c350a2c0aa6d (bug 965898)
Backed out changeset c75acd0663a9 (bug 965898)
Backed out changeset d68f7ef0ae69 (bug 965898)
Backed out changeset 610e6d6e1a88 (bug 965898)
Backed out changeset 54d40a30f6ad (bug 965898)
Backed out changeset 403a0e1d2324 (bug 965898)
2014-07-29 22:57:59 -07:00
Bobby Holley
4ed05f74bb
Bug 965898 - Switch policies for get{,Own}PropertyDescriptor. r=gabor
2014-07-29 21:35:32 -07:00
Bobby Holley
544f901fa4
Bug 965898 - Implement proper behavior for [[Enumerate]] And [[OwnPropertyKeys]]. r=gabor
2014-07-29 21:35:31 -07:00
Boris Zbarsky
d9044e7cd5
Bug 1021066. Make named setters work even for non-overridebuiltins bindings over Xrays. r=bholley,jorendorff
2014-07-23 01:06:33 -04:00
Bobby Holley
746ea001ec
Bug 856067 - Add some helpful logging to the console when we deny access to a non-Xrayable object. r=gabor
2014-07-14 10:09:07 -07:00
Bobby Holley
aae46cc234
Bug 856067 - Make unwaived non-Xrayable objects opaque from privileged code. r=gabor
2014-07-14 10:09:07 -07:00
Bobby Holley
86b779c53e
Bug 987669 - Just use macros because MSVC and gcc don't have real constexpr support. r=me CLOSED TREE
2014-07-11 09:37:00 -07:00