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
Jason Orendorff
143ed465ec
Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
2015-01-29 23:02:26 -06:00
Jason Orendorff
de1c1c9fb9
Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo.
2015-02-18 18:49:17 -06:00
Jason Orendorff
d7beadeba1
Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
...
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").
2015-02-02 17:06:47 -06:00
Jason Orendorff
1c7d0cb2b3
Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak.
2015-02-28 09:17:43 -06:00
Jason Orendorff
155abd81e7
Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
2015-01-30 13:56:15 -06:00
Shu-yu Guo
6882fefbde
Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj)
2015-03-06 17:58:26 -08:00
Jeff Walden
4250c0166a
Bug 1140196. r=jorendorff
2015-03-05 18:03:56 -08:00
L. David Baron
6d3ce826c6
Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
...
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
Jim Blandy
98dc527088
Bug 1140182: JS GDB pretty-printers: Implement pretty-printer for js::AbstractFramePtr. r=sfink
2015-03-04 17:34:49 -08:00
Boris Zbarsky
01957edaef
Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo
2015-03-06 16:33:31 -05:00
Boris Zbarsky
57f6535651
Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley
2015-03-06 16:33:31 -05:00
Boris Zbarsky
76179d5e5e
Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv
2015-03-06 16:33:31 -05:00
Boris Zbarsky
4997daa8b5
Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence
2015-03-06 16:33:30 -05:00
Boris Zbarsky
5d6bc44366
Bug 1140399. Add friend API to check whether a given function object has a JSNative and to get that JSNative as needed. r=jandem
2015-03-06 16:33:30 -05:00
Ryan VanderMeulen
9df25bfc88
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
b86edfa586
Bug 1083359
- Part 2 - Allow C++ code to provide an async stack when calling a JS function. r=jimb
2015-03-06 15:50:28 +00:00
Benjamin Bouvier
0cc342bdc7
Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer
2015-03-06 11:19:45 +01:00
Jon Coppeard
623227aaec
Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence
2015-03-06 10:19:07 +00:00
Jon Coppeard
dc04a20f73
Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley
2015-03-06 10:19:07 +00:00
Boris Zbarsky
458e969f4e
Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug
2015-03-06 01:08:06 -05:00
Paolo Amadini
861e0237ae
Bug 1083359
- Part 1 - Add the asyncCause and asyncParent properties to the native SavedFrame object. r=jimb
2015-02-21 11:56:00 +00:00
Jeff Walden
894e42cf7b
Bug 1139769 - Self-host %TypedArray%.prototype.subarray. r=till
2015-03-03 11:29:49 -08:00
Jeff Walden
311179ef78
Bug 1139769 - Add TypedArrayBuffer, TypedArrayByteOffset, and TypedArrayElementShift intrinsics to safely get the relevant information for a typed array. r=till
2015-03-03 11:29:45 -08:00
Jeff Walden
e40dae4a4c
Bug 1139759 - Self-host %TypedArray%.prototype.copyWithin. r=till
2015-03-03 11:29:02 -08:00
Jeff Walden
8a79499588
Bug 1127012. r=jorendorff
2015-03-02 17:06:46 -08:00
Jim Blandy
4aae8d92a0
Bug 1139570: JS GDB pretty-printer: Add a pretty-printer for js::InterpreterRegs. DONTBUILD r=ttromey
2015-03-04 11:40:47 -08:00
Jim Blandy
b6a4446f8b
Bug 1140179: Adapt to new JSObject structure, which indirects through the ObjectGroup. DONTBUILD r=sfink
2015-03-05 15:00:13 -08:00
Jim Blandy
aec334ce0d
Bug 1139535: In js/src/gdb: Remove workaround for 2012 GDB bug. DONTBUILD r=sfink
2015-03-04 10:33:44 -08:00
Steve Fink
78b3d91140
Bug 1136309 - Rename the spidermonkey build variants, r=terrence
2015-02-24 11:27:45 -08:00
Guillaume Maudoux
e0d3eee0e6
Bug 1136189 - SIMD: inline SIMD constructors with missing arguments. r=bbouvier
2015-03-05 16:38:40 -08:00
Shu-yu Guo
60209c024c
Bug 1140077 - Don't invoke read barriers inside IsTypeMarkedFromAnyThread. (r=terrence)
2015-03-05 16:23:17 -08:00
Terrence Cole
3cc9a2ea49
Backout a0844d972d08 (Bug 1133140) for OOM bustage on TBPL test machines on a CLOSED TREE.
2015-03-05 11:31:57 -08:00
Terrence Cole
0af3e9a222
Bug 1139983 - Fail the alloc if the nursery is full in NoGC; r=bhackett
2015-03-05 08:57:34 -08:00
Terrence Cole
a7554d6cda
Bug 1133140 - Move runtime heap size limit checks up to GCIfNeeded; r=sfink
2015-03-05 08:57:32 -08:00
Terrence Cole
e9c9f8d557
Bug 1134425 - Part 2: templatize the GC's allocation routines; r=jonco
2015-03-04 11:30:24 -08:00
Jan de Mooij
eb04d3bd48
Bug 1059364 - Don't emit ObjectGroupDispatch fallback path if we know it's never used. r=bhackett
2015-03-05 15:47:13 +01:00
Jan de Mooij
4c00c60cad
Bug 1129977
- Fix bogus MarkOffThreadNurseryObjects assert when post-barrier verifier is used. r=terrence
2015-03-05 15:47:11 +01:00
Jon Coppeard
186d726ceb
Bug 1138874 - Change ReparentWrapper() to avoid multiple JS objects pointing to the same native r=bholley
2015-03-05 13:39:53 +00:00
Hannes Verschore
be0a2f6c6c
Bug 1138265: update testcase to be more correct, r=bbouvier ON CLOSED TREE
2015-03-05 13:30:07 +01:00
Nick Fitzgerald
1535cf4051
Bug 1139217 - Make js::HashSet<T> work with move-only T types; r=luke
2015-03-03 17:54:00 +01:00
Hannes Verschore
22a306fa7b
Bug 1138265 - TraceLogger: Throw more errors, r=bbouvier ON CLOSED TREE
2015-03-05 11:53:10 +01:00
Hannes Verschore
ece0c25731
Bug 994016 - IonMonkey: Improve type information at branches with TypeOf (boolean, you are worthy too), r=jandem
2015-03-05 11:03:51 +01:00
Hannes Verschore
03d7abbb00
Bug 1138265 - TraceLogger: Throw error when trying to enable in AsmJS, r=bbouvier
2015-03-05 10:46:13 +01:00
Shu-yu Guo
cc03107517
Bug 1137780 - Fix marking JitcodeGlobalTable. (r=terrence)
2015-03-04 23:17:23 -08:00
Shu-yu Guo
50db4d4227
Bug 1137780 - Add a skiplist enumerator for JitcodeGlobalTable for removing while traversing. (r=djvj)
2015-03-04 23:17:23 -08:00
Wes Kocher
46191b926e
Backed out changeset f88b64c38d3d (bug 1120655) for adding hazards to a CLOSED TREE
2015-03-04 17:01:09 -08:00
Kannan Vijayan
1dbd6c9828
Bug 1139506 - Check for null JSRuntime in tableticker stack trace merge. r=shu
2015-03-04 18:18:08 -05:00
Steve Fink
85d4031eac
Bug 1120655 - Label various compartment iters as GCPointers, r=terrence
2015-01-12 14:09:21 -08:00
Terrence Cole
e0d0e39876
Bug 1134425 - Part 1: move the allocator interface code out of line; r=jonco
2015-03-04 09:32:02 -08:00