Carsten "Tomcat" Book
bca0a2c02e
Backed out changeset df26246112ad (bug 828137)
2015-03-09 16:49:34 +01: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
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
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
Nick Fitzgerald
57951abfec
Bug 1139217 - Make js::HashSet<T> work with move-only T types; r=luke
2015-03-03 17:54:00 +01:00
Terrence Cole
bb7d88df07
Bug 1134425 - Part 1: move the allocator interface code out of line; r=jonco
...
--HG--
extra : rebase_source : cbeb8097a3c55397cc0c0f476deb0011ad496f62
2015-03-04 09:32:02 -08:00
Kannan Vijayan
834ee9ffd2
Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu
2015-03-02 17:46:13 -05:00
Benjamin Bouvier
1c09b86cc2
Bug 1134638: 14. Inline SIMD getters (signMask, .x, .y, .z, .w) in Ion; r=nbp
...
--HG--
extra : rebase_source : ef4b04965069c83dc0c129cc86013fb484e7a1bd
2015-02-26 12:08:16 +01:00
Jan de Mooij
db18ff3df9
Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE
2015-02-27 16:08:15 +01:00
Boris Zbarsky
f027a773ea
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Wes Kocher
f657cd0135
Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
...
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky
8552abcc45
Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo
2015-02-26 15:58:59 -05:00
Jan de Mooij
140634b455
Bug 1136837 part 1 - Don't inline calls with incomplete type information for this or arguments. r=h4writer
2015-02-26 15:33:45 +01:00
Jon Coppeard
2b3e9874b8
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Jon Coppeard
8db99543e5
Bug 1136046 - Increase maximum capacity of js::HashMap and HashSet r=luke
2015-02-26 09:02:13 +00:00
Nicholas Nethercote
5454a067f6
Bug 979293 - Don't write collision bits in HashTable unnecessarily. r=luke.
...
This avoids no-op writes to the keyHash of entries when doing a no-add-lookup.
This removes a genuine data race in JSRuntime::permanentAtoms, which receives
frequent no-add-lookups from multiple threads after JSRuntime initialization
without any kind of locking.
--HG--
extra : rebase_source : bb0ccf75e674f28e21f0a7209699f68dd7977f04
2015-02-25 10:39:46 -08:00
Kannan Vijayan
ec632c2fe5
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 16:43:39 -05:00
Ryan VanderMeulen
2351be3127
Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts.
2015-02-25 13:44:19 -05:00
Kannan Vijayan
d784692baf
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-25 11:26:28 -05:00
Xidorn Quan
2db6e570ff
Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. r=luke
...
Fix warning:
js\src\jswrapper.h(58) : error C4275: non dll-interface class 'js::DirectProxyHandler' used as base for dll-interface class 'js::Wrapper'
obj-firefox\dist\include\js/Proxy.h(358) : see declaration of 'js::DirectProxyHandler'
js\src\jswrapper.h(57) : see declaration of 'js::Wrapper'
--HG--
extra : rebase_source : cc1e87a0b1ce01094263a20f40638b0532e3f24e
extra : source : 9207eefa78eea211092df344b7aa9752fbc7bfb3
2015-02-25 15:26:23 +11:00
Ryan VanderMeulen
b8ac223995
Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
...
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jon Coppeard
d6e694292c
Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence
2015-02-24 09:40:02 +00:00
Shu-yu Guo
ed68d9433a
Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
df02b37be7
Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj)
2015-02-23 20:33:56 -08:00
Shu-yu Guo
7c033d640a
Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj)
2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book
797908c3f9
Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE
2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book
feb55fb8f3
Backed out changeset 389c918b643c (bug 1129780)
2015-02-23 10:20:05 +01:00
Carsten "Tomcat" Book
6015ca9350
Backed out changeset b70a4383ee84 (bug 1131429)
2015-02-23 10:20:01 +01:00
Shu-yu Guo
ca893de00a
Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj)
2015-02-22 20:05:35 -08:00
Shu-yu Guo
d5ce4a4494
Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj)
2015-02-22 20:05:34 -08:00
Shu-yu Guo
b0462b3639
Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj)
2015-02-22 20:05:34 -08:00
Brian Hackett
5b341eb95b
Bug 1133254 - Improve type information and Ion compilation when dealing with converted unboxed objects, r=jandem.
2015-02-21 18:52:50 -06:00
Ryan VanderMeulen
a93d947fe1
Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
...
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan
a94b9501bb
Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu
2015-02-20 17:50:02 -05:00
Jon Coppeard
439686762a
Bug 1134255 - Add breakdown of allocated and unused GC things by kind in memory reports r=njn
...
--HG--
extra : rebase_source : aaec1857d252090c2aea9fc8e45a2a82ac492b6c
2015-02-19 11:56:00 +00:00
Jon Coppeard
5e9b465d18
Bug 1133759
- Always shrink GC buffers at the end of a shrinking GC r=terrence
2015-02-18 12:35:05 +00:00
Brian Hackett
d78cece7dd
Bug 1121554 - Include receiver argument in setProperty hooks, r=jorendorff.
2015-02-14 08:50:48 -07:00
Dan Gohman
0a60c87158
Bug 1131783 - Mark various unlikely conditions as MOZ_UNLIKELY r=waldo
2015-02-12 08:37:01 -08:00
Tom Schuster
797b78de4b
Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff
2015-02-13 12:20:02 +01:00
Tom Schuster
43324bd36f
Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust
2015-02-11 23:40:47 +01:00
Terrence Cole
88fdd783d6
Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
...
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Jeff Walden
1dc7ba8857
Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff
...
--HG--
extra : rebase_source : 5acd9fa837980dbe9f5471efc08d16bd1de00e42
2015-01-24 20:18:21 -08:00
Tom Schuster
fcb11bbe71
Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
...
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00