Jan de Mooij
22735e1619
Bug 1170182 - Remove dead functions from js/src. r=jorendorff
2015-06-27 08:56:58 -07:00
Eric Faust
415fa4eb81
Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu)
2015-06-03 02:01:14 -07:00
Carsten "Tomcat" Book
7ce74c457c
Backed out changeset d038c5da19b0 (bug 1141865)
2015-06-03 12:44:59 +02:00
Eric Faust
5d84eb21cd
Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu)
2015-06-03 02:01:14 -07:00
Wes Kocher
8e5645b783
Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
...
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Eric Faust
241e7a2be7
Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu)
2015-06-01 15:03:32 -07:00
Terrence Cole
3ffd505617
Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink
2015-05-13 14:07:34 -07:00
Brian Hackett
9fd6f781f1
Bug 1157703 - Cache iterators involving unboxed objects, r=jandem.
2015-05-03 15:27:12 -07:00
Brian Hackett
fef42ee57d
Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem.
2015-05-03 08:14:04 -07:00
Jon Coppeard
5d7b834fef
Bug 1155618 - Fix some places where OOM errors are not reported to the context r=terrence
2015-05-01 16:26:10 +01:00
Jan de Mooij
960e7c935d
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Tom Schuster
cfb8dae901
Bug 1152550 - Make sure that cross-global Iterator can not be broken. r=Waldo
2015-04-19 18:13:59 +02:00
Terrence Cole
266d818bdd
Bug 1149352 - Part 8: Move Object marking to TraceEdge; r=jonco
2015-03-30 16:08:06 -07:00
Terrence Cole
09d02cf58b
Bug 1149352 - Part 7: Move String marking to TraceEdge; r=jonco
2015-03-30 15:14:23 -07:00
Jan de Mooij
c6596c5fa8
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706
Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850
Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Brian Hackett
6d9f789b99
Bug 1143256 - Store object metadata using a weak map, r=luke.
2015-03-25 09:07:51 -07:00
Ryan VanderMeulen
f274f35656
Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks.
2015-03-20 16:07:42 -04:00
Brian Hackett
6ff7784fe1
Bug 1143256 - Store object metadata using a weak map, r=luke.
2015-03-20 06:33:33 -07:00
Tom Schuster
e6076c9c35
Bug 837630 - Stop hiding __proto__ from O.getOwnPropertyNames. r=Waldo,peterv,past
2015-03-19 17:42:15 +01:00
Boris Zbarsky
4f37d6fcf0
Bug 805052 part 3. Remove parents from SpiderMonkey. r=waldo,terrence
2015-03-14 01:36:17 -04:00
Boris Zbarsky
b8d2a8311c
Bug 1142296. Remove the parent argument from NewObjectWithGivenProto. r=waldo
2015-03-14 01:36:16 -04:00
Emanuel Hoogeveen
a1c6820032
Bug 1139552 - Convert js::gc::AllocKind to an enum class and eliminate non-AllocKind indexing. r=terrence
2015-03-13 02:13:00 +01:00
Jason Orendorff
495d3b16a3
Bug 1133081, part 5 - Remove non-asserting PropertyDescriptor accessors in favor of the new PropDesc-inspired asserting accessors. r=efaust.
...
value() can't assert hasValue() because too many places have plausible reasons for calling it on a PropertyDescriptor they basically know nothing about. One such place is CompartmentChecker::check(Handle<JSPropertyDescriptor>). Another is DefinePropertyByDescriptor. Maybe this will change with time.
In some cases we do things like `desc.hasWritable() && desc.writable() != existing_desc.writable()`. It is OK to write it this way, even though we have not checked existing_desc.hasWritable(), because in these cases we already know existingDesc is a complete property descriptor.
2015-02-15 06:18:30 -06:00
Brian Hackett
ea773cf9f2
Bug 1137497 - Remove shape from unboxed objects, r=jandem.
2015-03-04 08:32:45 -06:00
Jan de Mooij
b3f1ff13a2
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Terrence Cole
7870a76e56
Bug 1131877 - Part 2: Handlify the proto arg to NewObject functions; r=sfink
2015-02-13 09:36:40 -08:00
Tom Schuster
34ccb29137
Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
2015-02-10 19:58:18 +01:00
Brian Hackett
c3f0b200df
Bug 1130849 - Rename jsinfer files, r=jandem.
2015-02-09 09:20:25 -07:00
Brian Hackett
f3b8c29553
Bug 1130708 - Remove js::types namespace, r=jandem.
2015-02-08 06:01:13 -07:00
Brian Hackett
e6467f3148
Bug 1129226 - Refactor ObjectGroup class and accessors, r=jandem.
2015-02-06 09:13:29 -07:00
Tom Schuster
6bad7f314c
Bug 1124935 - Remove LookupProperty from JS_GetPropertyDescriptor. r=efaust,bz
2015-02-06 15:43:20 +01:00
Brian Hackett
34240c11e3
Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem.
2015-02-02 11:20:38 -07:00
Tom Schuster
01891781b2
Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff
2015-01-24 16:38:08 +01:00
Jason Orendorff
da806812c7
Bug 1112778, part 10 - Rename the remaining nonstandard internal methods, such as JSObject::getGenericAttributes -> js::GetPropertyAttributes. r=Waldo.
2014-12-18 13:28:06 -06:00
Jason Orendorff
134d3aec0e
Bug 1112778, part 9 - Rename JSObject::freeze -> FreezeObject and others. r=Waldo.
...
Some of the bits of implementation added for ES5 have been given names in ES6, so
JSObject::sealOrFreeze -> js::SetIntegrityLevel
JSObject::isSealedOrFrozen -> js::TestIntegrityLevel
JSObject::ImmutabilityType -> js::IntegrityLevel
2014-12-18 10:48:42 -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
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
Nicholas Nethercote
9e54e882a6
Bug 1117017 - Initialize the IdSet lazily in jsiter.cpp:Snapshot(). r=sfink.
2015-01-07 13:47:10 -08:00
Tom Schuster
af1a9202a1
Bug 783829 - Fix for bug when enumerating just enumerable symbols. r=efaust
2014-12-17 00:28:38 +01:00
Tom Schuster
147cbd415a
Bug 783829 - Remove getEnumerablePropertyKeys. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
a3bf7d8937
Bug 783829 - Change from Proxy iterate to enumerate. r=efaust,bholley
2014-12-17 00:28:38 +01:00
Tom Schuster
75ebb54849
Bug 783829 - Factor out NativeIteratorNext. r=efaust
2014-12-17 00:28:37 +01:00
Boris Zbarsky
dfaf46b2f4
Bug 924059. Give ArrayIterator and its prototype different JSClasses so we can't confuse them for each other. r=waldo
2014-12-13 22:05:46 -05: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
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