Jason Orendorff
1f0a68cd53
Bug 1112778, part 8 - Rename JSObject::deleteGeneric -> js::DeleteProperty. r=Waldo.
2014-12-18 08:47:06 -06:00
Jason Orendorff
3e0e414743
Bug 1112778, part 7 - Rename JSObject::{get,set}Generic etc. -> js::{Get,Set}Property and add a few comments. r=Waldo.
2014-12-18 08:35:42 -06:00
Jason Orendorff
776fbd3af1
Bug 1112778, part 6 - Rename JSObject::lookupGeneric, etc. -> js::LookupProperty and JSObject::hasProperty -> js::HasProperty. r=Waldo.
2014-12-18 07:32:36 -06:00
Jason Orendorff
b41daa37f2
Bug 1112778, part 5 - Rename JSObject::defineGeneric etc. -> js::DefineProperty, js::DefineOwnProperty -> js::StandardDefineProperty (for the moment--the plan is to unite these soon, both the name and the implementation). r=Waldo.
2014-12-18 06:54:09 -06:00
Jason Orendorff
fc99a057ea
Bug 1112778, part 4 - Rename a static function HasProperty -> GetPropertyIfPresent, to get it out of the way for js::HasProperty, which is coming in a subsequent patch. Remove the js::GetOwnPropertyDescriptor signature that makes an object: it was only used in one place. r=Waldo.
2014-12-18 06:17:10 -06:00
Jason Orendorff
9f1eea4067
Bug 1112778, part 3 - Rename JSObject::preventExtensions -> js::PreventExtensions and a few others, and move them to jsobj.cpp. Uninline several functions that have no business being inlined. r=Waldo.
2014-12-18 05:26:42 -06:00
Jason Orendorff
2e2ce24f6f
Bug 1112778, part 2 - Rename js::DefaultValue -> js::OrdinaryToPrimitive. r=Waldo.
2014-12-18 05:02:30 -06:00
Jason Orendorff
792b981f50
Bug 1112778, part 1 - Remove namespace baseops. Rename js::baseops::DefineGeneric -> js::NativeDefineProperty and so on. r=Waldo.
2014-12-17 15:55:32 -06:00
Ted Mielczarek
b9580005dd
bug 1100335 - Use OutputDebugString on Windows in js_DumpBacktrace. r=jorendorff
2014-12-17 13:24:57 -05:00
Lars T Hansen
ee941c62b0
Bug 1121363 - remove misc PJS code. r=shu
2015-01-15 11:00:16 +01:00
Shu-yu Guo
14798039c0
Bug 963879 - Part 1: Overhaul ScopeIter and StaticScopeIter to share iteration logic and to go through evals. (r=luke)
2015-01-14 22:57:35 -08:00
Wes Kocher
a6c9b5c649
Backed out 4 changesets (bug 963879) for jit1 bustage
...
Backed out changeset 4acf60209a94 (bug 963879)
Backed out changeset bbbcf8b4d66d (bug 963879)
Backed out changeset dd7b619dc152 (bug 963879)
Backed out changeset b14f46d65f73 (bug 963879)
2015-01-14 17:11:23 -08:00
Shu-yu Guo
6a971fdaf0
Bug 963879 - Part 1: Overhaul ScopeIter and StaticScopeIter to share iteration logic and to go through evals. (r=luke)
2015-01-14 15:18:42 -08:00
Brian Hackett
f040b091e2
Bug 1116017 - Don't scan all type sets in compartments on type mutations, r=jandem.
2015-01-14 08:00:28 -07:00
Shu-yu Guo
4a2cb860fc
Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in object ops. (r=lth)
2015-01-09 00:06:03 -08:00
Jeff Walden
00b26fe8fc
Bug 603201 - Move js::ToObject to JS::ToObject. r=shu over IRC, much thanks for this as it helps land another large patch without delay
2015-01-03 00:18:03 -06:00
Nicolas B. Pierron
f78bc4fac7
Bug 1073033 part 2.3 - Update callee uses, extract information form the maybe-recovered callee. r=shu
2014-12-19 15:28:29 +01:00
Nicolas B. Pierron
c1a1cea45a
Bug 1073033 part 1 - Enable recovering the scope chain. r=shu
2014-12-19 15:28:28 +01:00
Tom Schuster
e407db072b
Bug 1097267 - Change to the simpler enumerate hook in the js engine. r=jorendorff
2014-12-11 19:31:10 +01:00
Jason Orendorff
ddde8586c6
Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
2014-11-22 12:23:39 -06:00
Jason Orendorff
19d34d3db0
Bug 1103368, part 4 - Ban stub getter/setter arguments to js::CheckDefineProperty. r=bhackett.
2014-11-22 08:43:56 -06:00
Jason Orendorff
479a998f1f
Bug 1103368, part 3 - Ban stub getter/setter arguments to JSObject::define{Generic,Property,Element} and js::SetPropertyIgnoringNamedGetter. r=bhackett.
2014-11-22 08:10:20 -06:00
Jason Orendorff
63279d45a5
Bug 1103368, part 2 - Ban stub getter/setter arguments to js::baseops::Define{Property,Generic,Element}, DefineNativeProperty, and DefinePropertyOrElement. r=bhackett.
2014-11-21 21:07:13 -06:00
Jason Orendorff
a9ad39494e
Bug 1103368, part 1 - Forbid stub getter/setter arguments to NativeObject::{add,change,put}Property. r=bhackett.
2014-11-21 19:33:45 -06:00
Jason Orendorff
6c66fe3b7e
Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
2014-12-02 16:56:35 -06:00
Jason Orendorff
9ca7dd0388
Bug 1097694 - js::HasOwnProperty sanity surgery. r=efaust.
...
* Rename the clownshoes js::HasOwnProperty signature to js::NonProxyLookupOwnProperty,
which is what it really is.
* Change the sane js::HasOwnProperty signature to use the hasOwn handler when the
argument is a proxy, as that's what it's there for.
* Change the DirectProxyHandler::hasOwn implementation to use js::HasOwnProperty, so
that when target is also a proxy, we end up calling its hasOwn handler. Similar
changes in ScriptedDirectProxyHandler.cpp.
2014-11-11 11:14:48 -06:00
Terrence Cole
3851b20cc1
Bug 1107349 - Always build in enerational GC support; r=jonco
2014-12-04 09:45:05 -08:00
Terrence Cole
7d77f04553
Bug 1107288 - Always build in incremental GC support; r=billm
2014-12-04 09:43:22 -08:00
Jan de Mooij
b62623b2ad
Bug 1108289 - Whitelist String object resolve hook for non-integers so that our ICs work. r=bhackett
2014-12-07 20:03:03 -08:00
Brian Hackett
6ac79b58e5
Bug 1107496 - Add PlainObject subclass, r=luke.
2014-12-05 18:52:28 -07:00
Ryan VanderMeulen
11d669cc74
Backed out changeset 64ec5c15d182 (bug 1107496) for SM(ggc) orange.
2014-12-05 13:28:40 -05:00
Brian Hackett
2f8a3eaad6
Bug 1107496 - Add PlainObject subclass, r=luke.
2014-12-05 07:27:37 -07:00
Jon Coppeard
365b998701
Bug 1105232 - Remove race updating COW shared elements owner pointer r=terrence
2014-12-04 10:15:20 -08:00
Jon Coppeard
8d751df3a1
Bug 1105232 - Fix race condition updating copy-on-write array owner pointer in compacting GC r=terrence
2014-12-01 06:05:41 -08:00
Jan de Mooij
1b8c2ef4cb
Bug 1100594 - Whitelist the function resolve hook in LookupPropertyPureInline. r=bhackett
2014-11-20 12:07:23 +01:00
Bill McCloskey
2074a18500
Bug 1101083 - js_DumpBacktrace should dump all frames (r=bholley,nbp)
2014-11-18 21:45:01 -08:00
Shu-yu Guo
32f41fe591
Bug 1032869 - Part 1: Rename isDebuggerFrame to isDebuggerEvalFrame. (r=jimb)
2014-11-13 14:39:39 -08:00
Jason Orendorff
1f2d492298
Bug 1090537, part 3 - Pass receiver argument through from JSObject::setGeneric and setElement to Proxy::set. r=efaust.
...
ES6 specifies [[Set]] as an operation taking both a "this" object and a "receiver" parameter. Both JSObject::setGeneric and Proxy::set support the receiver parameter, but ObjectOps::setGeneric does not; in this patch, we add a little workaround for that. The test shows how this is observable using only standard builtins.
The changes in JSObject::setElement are untestable since currently all call sites pass the same value for obj as for receiver.
(This was reviewed as "part 2" but it was necessary to switch parts 2 and 3 and add part 2b.)
2014-10-15 22:54:57 -05:00
Tom Schuster
8970bba793
Bug 993026 - Simplify JS resolve hook. r=jorendorff
2014-11-08 01:07:12 +01:00
Jan de Mooij
570d01c6a9
Bug 1093573 part 2 - Remove GENERATOR frame flag. r=wingo
2014-11-06 10:12:57 +01:00
Brian Hackett
93f0d3862a
Bug 1089665 - Fixup dictionary objects earlier after swapping them, r=billm.
2014-11-04 18:44:03 -07: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
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
Carsten "Tomcat" Book
77dee816cc
Backed out changeset 9e900e87b4bb (bug 1085566)
2014-10-22 08:59:09 +02: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
Jon Coppeard
170a662019
Bug 650161 - Relocate global objects r=terrence
2014-10-20 09:07:43 +01:00
Brian Hackett
67215f4ab4
Bug 1073842 - Rename NativeObject slots/elements to slots_/elements_, sr=luke.
2014-10-18 10:51:50 -07:00
Brian Hackett
851423a90a
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
Jan de Mooij
2ff41ee575
Bug 987560 - Greatly refactor generator implementation. Patch mostly written by Andy Wingo. r=wingo
2014-10-17 10:19:40 +02:00
Jason Orendorff
4b80caaee5
Bug 1042567 - Reflect JSPropertyOp properties more consistently as data properties. r=efaust.
2014-08-28 15:43:57 -05:00