Commit Graph

47923 Commits

Author SHA1 Message Date
Boris Zbarsky
5d2ae0a555 Bug 1140573 part 4. Drop the parent argument from js::NewFunctionByIdWithReserved. r=waldo 2015-03-09 12:50:08 -04:00
Boris Zbarsky
cc3b42e52a Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo 2015-03-09 12:50:07 -04:00
Boris Zbarsky
8a4d4838fb Bug 1140573 part 2. Drop the parent argument from JS_NewFunctionById. r=waldo 2015-03-09 12:50:05 -04:00
Boris Zbarsky
dcb007a0d8 Bug 1140573 part 1. Drop the parent argument from JS_NewFunction. r=waldo 2015-03-09 12:50:03 -04:00
Boris Zbarsky
5d69db0b28 Bug 1140582. Remove the parent argument from JS_NewObjectWithUniqueType. r=waldo 2015-03-09 12:49:50 -04:00
Carsten "Tomcat" Book
54a4c96d39 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
caa09aaec2 Backed out changeset 0f393119201c (bug 1132522) 2015-03-09 16:49:36 +01:00
Carsten "Tomcat" Book
bca0a2c02e Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Brian Hackett
fca1be3e56 Bug 1138984 - Allow 'new' template objects to have dynamic slots, r=jandem. 2015-03-09 09:25:23 -06:00
Brian Hackett
69e6b9f055 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
1a22e29af0 Bug 1139834 - TraceLogger: refactor to add fail function, r=bbouvier 2015-03-09 15:25:55 +01:00
Heiher
1df9e925e2 Bug 1140821 - IonMonkey: MIPS: Fix profiler enter frame calculating. r=nbp 2015-03-08 00:40:00 -05:00
Heiher
1a310f1824 Bug 1139299 - Fix align stack in Simulator-mips::call. r=rankov, r=nbp 2015-03-04 01:01:00 -05:00
Jason Orendorff
659c8de550 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
--HG--
extra : rebase_source : ececca61c52296fb41e26e277a6bfa0d5eca63bb
extra : amend_source : 4229cb2652c2eb5b4347ebe043eccf1c0515e62a
2015-02-11 11:38:36 -06:00
Jason Orendorff
a735d8f183 Bug 1132522, part 2 - Treat false return from proxyHandler.set() as strict mode failure. r=efaust.
--HG--
extra : rebase_source : 438b6070a1770bc17cc455a457df2b033bbc972d
2015-02-13 09:49:31 -06:00
Jason Orendorff
555004b2bf Bug 1132522, part 1 - Treat false return from proxyHandler.defineProperty() as strict mode failure. r=efaust.
--HG--
extra : rebase_source : f2b3e7e643158fd46508856b27869722aa178d1a
2015-02-12 11:29:32 -06:00
Benjamin Bouvier
a942b867cf Bug 1141032: Fix a string comparison when checking for env overriding JIT defaults; r=h4writer
--HG--
extra : rebase_source : dccdbd6b8e4511ec21fde84f7adddc12dc3e404c
2015-03-06 19:35:46 +01:00
Benjamin Bouvier
c1545d8d9e Bug 1141032: fix = instead of == in an assert in NativeRegexpMacroAssembler.cpp; r=h4writer
--HG--
extra : rebase_source : 4c0063522a1175f96cfd0d229e97342522830511
2015-03-06 14:17:58 +01:00
Brian Hackett
828690c286 Bug 1138199. r=billm 2015-03-08 22:10:01 -04:00
Phil Ringnalda
8f5c1764fb Merge m-c to m-i 2015-03-07 19:39:49 -08:00
Phil Ringnalda
d5d934be28 Merge f-t to m-c, a=merge 2015-03-07 19:38:53 -08:00
Paolo Amadini
f638425f9d 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
fd4b480871 Bug 1138912 - Watch for MNewObject instructions without a template object when recovering, r=jandem. 2015-03-07 17:11:02 -06:00
Brian Hackett
ed7eebd0f5 Bug 1139474 - Watch for unboxed object properties when attaching Ion SETPROP ICs, r=jandem. 2015-03-07 17:05:21 -06:00
Ryan VanderMeulen
8aaa845a81 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
54445b17d2 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
e2f96cba3f Fix JSErr_Limit, broken by rev 41df9affe00f. No bug, r=red.
--HG--
extra : rebase_source : 5e52c66efe5475479f10f8aded036de6850eb365
2015-03-06 20:24:39 -06:00
Boris Zbarsky
27d9cf2be6 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
f0ef2a86aa 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
a14a442f94 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
d61b6923ca Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer
--HG--
extra : rebase_source : 34b09439f2229d01bd9dba1220d10b3a0da9b17f
extra : amend_source : e8aaa92d04f6579b006d11e53d3ebdfb54bf4253
2015-03-06 11:19:45 +01:00
Jon Coppeard
5b60f0ea54 Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence 2015-03-06 10:19:07 +00:00
Jon Coppeard
186408ba66 Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley 2015-03-06 10:19:07 +00:00
Boris Zbarsky
19d83a360f 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
14addff448 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
6181573297 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
f9c659ca6c Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : e712f5faf1463a447e52153c556605bb9552e990
2015-02-05 16:36:50 -06:00
Jason Orendorff
29bfe274bb Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff
cc85989b86 Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff
9a17368e8e Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff
de9e3b99dc 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.

--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Jason Orendorff
ce09b0bfc5 Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
--HG--
extra : rebase_source : fa947b315a7ede20a16893e3e44dd4118665c777
2015-01-29 23:02:26 -06:00
Jason Orendorff
844535d277 Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo.
--HG--
extra : rebase_source : 5494b04d773badadc2c33fd90ae67cad90aa88d3
2015-02-18 18:49:17 -06:00
Jason Orendorff
63891dbbf5 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").

--HG--
extra : rebase_source : fbf30988ed48412a10168e359848940123035e0f
2015-02-02 17:06:47 -06:00
Jason Orendorff
18470d8d6a Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak.
--HG--
extra : rebase_source : 40887fe2375350b3b183aff2a24e17053b02d349
2015-02-28 09:17:43 -06:00
Jason Orendorff
85abad51f2 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
Shu-yu Guo
1c4fd5e1a7 Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj) 2015-03-06 17:58:26 -08:00
Jeff Walden
be22d693ec Bug 1140196. r=jorendorff 2015-03-05 18:03:56 -08:00
L. David Baron
8de963d8ad 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
18e3ff59b1 Bug 1140182: JS GDB pretty-printers: Implement pretty-printer for js::AbstractFramePtr. r=sfink
--HG--
extra : rebase_source : a039fe37a7379dd738c8ddfc1bf15ecea3235edf
2015-03-04 17:34:49 -08:00