Jason Orendorff
89bb3ca00b
Bug 1130537 - Reimplement js::SetPropertyIgnoringNamedGetter to follow ES6 draft rev 32 9.1.9 [[Set]]. r=efaust.
2015-02-06 16:55:49 -06:00
Jason Orendorff
3322381e4f
Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-04 12:01:01 -06:00
Jason Orendorff
d1204e0adb
Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-04 10:20:04 -06:00
Jason Orendorff
e065e5cceb
Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-03 19:51:40 -06:00
Jason Orendorff
f43c96af4d
Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
...
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
2015-01-30 11:37:07 -06:00
Jan de Mooij
c588ad661c
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Boris Zbarsky
0123e1e87e
Bug 1133746. Allow DOMProxyShadows to communicate to the JIT whether the shadowing is done by the expando object or not. r=efaust,peterv
2015-02-26 12:30:02 -05:00
Boris Zbarsky
2db9b439cb
Bug 1131796. Don't parent the DOM proxy expando object to the proxy. r=peterv
2015-02-13 14:34:53 -05:00
Wes Kocher
621f9a3c6f
Backed out changeset 4d03c3ba2969 (bug 1131796) for bustage on a CLOSED TREE
...
--HG--
extra : amend_source : 07e872ce971a620a08b68fbc2b3afdcccaff8539
2015-02-13 13:25:45 -08:00
Boris Zbarsky
d47e00b791
Bug 1131796. Don't parent the DOM proxy expando object to the proxy. r=peterv
2015-02-13 14:34:53 -05:00
Tom Schuster
a135bf8d75
Bug 783829 - Remove getEnumerablePropertyKeys. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
71db988913
Bug 783829 - Change from Proxy iterate to enumerate. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
5775dbcbf7
Bug 783829 - Rename Proxy enumerate trap to getEnumerablePropertyKeys. r=efaust
2014-11-14 16:21:12 +01:00
Boris Zbarsky
4944269edc
Bug 1087404. Get rid of XPCQuickStubs.h/cpp. r=bholley
2014-10-23 15:21:46 -04:00
Jeff Walden
065609283e
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
...
--HG--
extra : rebase_source : ea85bf1daa26ec7a32caf2656ebf99c6e2757cfa
2014-10-21 11:40:04 -07:00
Jeff Walden
63e44a7975
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 487b569d23ce18f39fc53697e5f25cc789885803
2014-10-19 01:18:43 -07:00
Carsten "Tomcat" Book
983ab2d153
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book
ecd1a7bd6c
Backed out changeset 4eee647a5bd4 (bug 1052139)
2014-10-22 08:59:05 +02:00
Jeff Walden
07d1baf5b1
Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
...
--HG--
extra : rebase_source : 18f69552bad6922c1b602cbf81d6961883e4d5b8
2014-10-21 11:40:04 -07:00
Jeff Walden
7f782a5fda
Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
...
--HG--
extra : rebase_source : 3b61c22efe8b5b2b3135b11556b6b329479d3dcd
2014-10-19 01:18:43 -07: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
Jason Orendorff
7e5a9a1af5
Bug 1082672, part 3 - Add some more symbol support for DOM bindings. r=bz.
...
--HG--
extra : rebase_source : 79b314cb464e9c77ac25bc19e91b6e13aa241aeb
2014-10-06 16:42:33 -05:00
Jason Orendorff
a23c16f28d
Bug 1082672, part 2 - Change mozilla::dom::GetArrayIndexFromId to cope with symbols. r=bz.
...
--HG--
extra : rebase_source : f183b8c543e42664e2374954b627600a5de5a42d
2014-09-17 15:37:58 -05:00
Jason Orendorff
2c80b8acba
Bug 1081280 - Rename BaseProxyHandler::keys -> getOwnEnumerablePropertyKeys. r=efaust.
...
--HG--
extra : rebase_source : 009323b607d53066b77191f9254918b61ea4d594
2014-10-08 22:01:55 -05: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
Eric Faust
96d6ad8f2d
Bug 1027964 - Standardize proxy handler families. (r=jorendorff)
2014-08-27 17:09:06 -07:00
Boris Zbarsky
8e7be996c0
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
82f8b28ac7
Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor
2014-07-03 09:40:52 -07:00
Eric Faust
ec142f1ef6
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
5f562e29f0
Backed out changeset 285c853fedfa (bug 1027402)
2014-06-27 14:21:20 +02:00
Eric Faust
a3511c108a
Bug 1027402 - Part 3: Mark all Proxy Handler methods const. (r=jorendorff, r=bz)
2014-06-27 04:44:06 -07:00
Jason Orendorff
d50e6f5a9b
Bug 547140, part 2 - Remove flags argument from JS_GetPropertyDescriptor and friends. r=Waldo.
2014-04-25 16:11:01 -05:00
Jason Orendorff
db966f6c54
Bug 987007, part 2a - Instead of generating identical DOMProxyHandler::set() methods for many interfaces, implement it in a common base class. r=bz.
...
--HG--
extra : rebase_source : 15e81591de2a7c07b34a23143b876feadc2d7a1e
2014-04-25 15:07:18 -05:00
Jason Orendorff
f7acb4f179
Bug 987007, part 2 - Handle assignment to named and indexed setters without using JSRESOLVE_ASSIGNING. r=bz, r=bholley.
...
--HG--
extra : rebase_source : a26eb85a086a18219a4d423cd7ad49a92cfd2584
2014-04-25 15:07:18 -05:00
Boris Zbarsky
ac9f0ba11d
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
739fa2381c
Bug 959787 - Handlify has property APIs r=terrence r=bz
2014-01-22 11:28:06 +00:00
Terrence Cole
10295353cd
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Terrence Cole
f017da90d9
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Wes Kocher
a8ec671341
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
0a79faf943
Bug 949183 - Fix jsid static constructor explosion. r=Waldo
2013-12-16 14:40:05 -08:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Jon Coppeard
cf6ff52940
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Ed Morley
361b4a192c
Backed out changeset 17ca97e65aa5 (bug 940727)
2013-11-20 16:37:55 +00:00
Jon Coppeard
abca7a17ab
Bug 940727 - Fix rooting hazard in DOMProxyHandler::GetAndClearExpandoObject() r=bholley
2013-11-20 15:37:30 +00:00
Ms2ger
5e1bd894df
No bug - Fix some style issues in DOM code.
2013-11-11 09:04:41 +01:00
Jeff Walden
04e9645fc3
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
...
--HG--
extra : rebase_source : 58dc71e7e58208a2cfa12b265adca7b189e5e5bd
2013-10-29 16:39:09 -07:00
Ryan VanderMeulen
9d31989c15
Backed out changeset 471db633b20c (bug 903332) for B2G desktop mochitest-1 failures.
2013-11-07 16:10:21 -05:00
Jeff Walden
39bee2a91f
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
...
--HG--
extra : rebase_source : b5bae3832b7718b579abb7c09f36c9c46907d7cc
2013-10-29 16:39:09 -07:00
Birunthan Mohanathas
7a599eb1ae
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00