Boris Zbarsky
f306089853
Bug 1140670 part 2. Just use the global as the parent in js::CreateThis and js::CreateThisForFunctionWithProto. r=waldo
2015-03-09 12:50:56 -04:00
Boris Zbarsky
d4c8cb1ba8
Bug 1140670 part 1. Just use the global, not the proto's parent, as the default parent in NewObjectWithGivenTaggedProto. r=waldo
2015-03-09 12:50:55 -04:00
Boris Zbarsky
c008103de3
Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. r=waldo
2015-03-09 12:50:08 -04:00
Boris Zbarsky
47026f3bb1
Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo
2015-03-09 12:50:07 -04:00
Boris Zbarsky
008425d0df
Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. r=waldo
2015-03-09 12:50:05 -04:00
Boris Zbarsky
094c91a53c
Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo
2015-03-09 12:50:03 -04:00
Boris Zbarsky
f5b8026532
Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo
2015-03-09 12:49:50 -04:00
Carsten "Tomcat" Book
4fd822080e
Backed out changeset 95fa879e6855 (bug 1132522) for JP test failures on a CLOSED TREE
2015-03-09 16:50:02 +01:00
Carsten "Tomcat" Book
925ababa09
Backed out changeset 0f393119201c (bug 1132522)
2015-03-09 16:49:36 +01:00
Carsten "Tomcat" Book
fc419d3fc2
Backed out changeset df26246112ad (bug 828137)
2015-03-09 16:49:34 +01:00
Brian Hackett
9543414e06
Bug 1138984 - Allow 'new' template objects to have dynamic slots, r=jandem.
2015-03-09 09:25:23 -06:00
Brian Hackett
d47ad735ea
Bug 1140888 - Make sure Ion code depending on unboxed layouts is invalidated when unboxed objects are converted to natives, r=jandem.
2015-03-09 09:17:27 -06:00
Hannes Verschore
e3f66a7d62
Bug 1139834 - TraceLogger: refactor to add fail function, r=bbouvier
2015-03-09 15:25:55 +01:00
Heiher
985c22a610
Bug 1140821 - IonMonkey: MIPS: Fix profiler enter frame calculating. r=nbp
2015-03-08 00:40:00 -05:00
Heiher
aaeb76e5cc
Bug 1139299 - Fix align stack in Simulator-mips::call. r=rankov, r=nbp
2015-03-04 01:01:00 -05:00
Jason Orendorff
7ec6070dc3
Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
2015-02-11 11:38:36 -06:00
Jason Orendorff
0d62712dc6
Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
2015-02-13 09:49:31 -06:00
Jason Orendorff
d8b9ff41ec
Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
c3f7d8c441
Bug 1141032: Fix a string comparison when checking for env overriding JIT defaults; r=h4writer
2015-03-06 19:35:46 +01:00
Benjamin Bouvier
039b8750e7
Bug 1141032: fix = instead of == in an assert in NativeRegexpMacroAssembler.cpp; r=h4writer
2015-03-06 14:17:58 +01:00
Brian Hackett
319b55303d
Bug 1138199. r=billm
2015-03-08 22:10:01 -04:00
Phil Ringnalda
7b93f80e01
Merge m-c to m-i
2015-03-07 19:39:49 -08:00
Phil Ringnalda
612cc1c896
Merge f-t to m-c, a=merge
2015-03-07 19:38:53 -08:00
Paolo Amadini
8458c288b0
Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz
2015-03-07 13:30:34 +00:00
Brian Hackett
889f630c4c
Bug 1138912 - Watch for MNewObject instructions without a template object when recovering, r=jandem.
2015-03-07 17:11:02 -06:00
Brian Hackett
870b7115ac
Bug 1139474
- Watch for unboxed object properties when attaching Ion SETPROP ICs, r=jandem.
2015-03-07 17:05:21 -06:00
Ryan VanderMeulen
fe04c04f8b
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
e5cee22752
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
Jason Orendorff
a540754217
Fix JSErr_Limit, broken by rev 41df9affe00f. No bug, r=red.
2015-03-06 20:24:39 -06:00
Boris Zbarsky
b79a81341e
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
641311e52c
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
c22dccd2a1
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
Benjamin Bouvier
4b59f1b01a
Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer
2015-03-06 11:19:45 +01:00
Jon Coppeard
f8ff917624
Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence
2015-03-06 10:19:07 +00:00
Jon Coppeard
8ea42ccf13
Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley
2015-03-06 10:19:07 +00:00
Boris Zbarsky
b8657d7de0
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
152fa174e3
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
Brian Hackett
fd71c78938
Bug 1138740 - Notify Ion when changing a typed array's data pointer due to making a lazy buffer for it, r=sfink.
2015-03-07 09:46:27 -06:00
Jason Orendorff
c32a32620b
Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
2015-02-05 16:36:50 -06:00
Jason Orendorff
10eabe9c79
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
64f8ab950a
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
84c7008b45
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
ea302a9012
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
a217e88e3e
Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
2015-01-29 23:02:26 -06:00
Jason Orendorff
8df02cae75
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
729237bb78
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
6e02d69aea
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
6adeea7142
Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
2015-01-30 13:56:15 -06:00
Shu-yu Guo
4d336ec104
Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj)
2015-03-06 17:58:26 -08:00
Jeff Walden
e93bb60339
Bug 1140196. r=jorendorff
2015-03-05 18:03:56 -08:00