Commit Graph

48928 Commits

Author SHA1 Message Date
Tooru Fujisawa
ff4f2f1ecd Bug 1102219 - followup for Part 0: Fix code alignment and argument name in GlobalObject.h. r=me 2015-04-30 09:17:50 +09:00
Brian Hackett
24f2f8714b Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem. 2015-04-29 17:14:28 -07:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Tooru Fujisawa
9824d9b62b Bug 1102219 - Part 3: Replace more String.prototype.contains with String.prototype.includes in JS code. r=till 2015-04-30 00:32:01 +09:00
ziyunfei
cffa6ad6d2 Bug 1102219 - Part 2: Replace String.prototype.contains with String.prototype.includes in JS code. r=till 2015-04-30 00:32:01 +09:00
ziyunfei
df121464f3 Bug 1102219 - Part 1: Add String.prototype.includes; keep String.prototype.contains around as an alias with a (non-release builds only) warning. r=till 2015-04-30 00:32:01 +09:00
Tooru Fujisawa
178a2e3c00 Bug 1102219 - Part 0: Combine WARNED_* slots in GlobalObject and turn it into a bitset. r=till 2015-04-30 00:32:00 +09:00
Benjamin Bouvier
08f7e038cb Bug 1157624: A few AsmJSValidate cleanups; r=luke
--HG--
extra : rebase_source : 609745897948dff869d910b67a29840c8e09c033
2015-04-27 17:16:01 +02:00
Tom Schuster
c6207d1a51 Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Brian Hackett
1db59c7ba1 Bug 1158569 - Don't trigger sweeping of dead type information when scanning unboxed objects in minor GCs, r=terrence. 2015-04-28 11:09:16 -07:00
Brian Hackett
ee02850388 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 11:05:28 -07:00
Terrence Cole
bec02ac087 Bug 1158809 - Only use a single output from getTracingEdgeName; r=jonco
--HG--
extra : rebase_source : d8f3ee8ab0e0fbc61e30eb2a444dba571eb5498e
2015-04-28 10:28:56 -07:00
Ryan VanderMeulen
5cc9c16c38 Backed out changeset 9e3d626c89d8 (bug 1155292) for SM(cgc) failures in the newly-added test.
--HG--
extra : rebase_source : e3d033d921ac5d7a3b61cf91ab456fd88316f534
2015-04-28 13:30:58 -04:00
Steve Fink
81dfe6fc6e Bug 1149476 - Extend autospider.sh timeout and emit a log message, r=jonco
--HG--
extra : rebase_source : d34790d258f3c38c9c8d5591942823d4c16c5108
2015-04-28 10:28:36 -07:00
Boris Zbarsky
864f723c0c Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
Terrence Cole
102fa57f25 Bug 1158313 - Move Symbol marking out-of-line; r=jonco
--HG--
extra : rebase_source : b5cd1a6e21e891ec8f5115447331ace02b44331d
2015-04-24 14:52:55 -07:00
Terrence Cole
0659acef20 Bug 1156888 - Do not go out-of-line to eagerly scan LazyScript instances; r=sfink
--HG--
extra : rebase_source : 69d1e41c68b50ab1b08325d7571f7f317346ecfd
2015-04-21 09:26:37 -07:00
Terrence Cole
4c612396a4 Bug 1156552 - Move BaseShape marking out-of-line; r=sfink
--HG--
extra : rebase_source : af7788e517ea5a8e055a574fb653c9d8c1adca2e
2015-04-20 15:32:03 -07:00
Brian Hackett
baf6742f88 Bug 1155292 - Add a check for properties found on non-native prototypes during Ion caching, r=jandem. 2015-04-28 08:15:20 -07:00
Brian Hackett
c0862016bb Bug 1155807 - Watch for converted native groups with unknown properties, r=jandem. 2015-04-28 08:12:54 -07:00
Nick Fitzgerald
145cf72ef8 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time. r=shu 2015-04-22 09:49:07 -07:00
Ryan VanderMeulen
0d8e50dd6c Bug 1159096 - Skip recursion.js on Android debug.
--HG--
extra : rebase_source : 662b60ed41ec083194071d5f8f1d093b8abce13a
2015-04-28 09:40:09 -04:00
Paul Duguet
b7f487b922 Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier
--HG--
extra : rebase_source : b7831885ec947db798e028a33a63fe9e45da8490
2014-11-22 09:07:00 +01:00
Tooru Fujisawa
f1f24daae2 Bug 1151931 - Part 2: Warn about unreachable code after return statement. r=Waldo
--HG--
rename : js/src/jit-test/tests/basic/semicolon-less-return.js => js/src/jit-test/tests/basic/statement-after-return.js
2015-04-28 21:09:32 +09:00
Tooru Fujisawa
2a420c0b92 Bug 1151931 - Part 1: Avoid warning about unreachable code after return statement in some asm.js tests. r=Waldo 2015-04-28 21:06:19 +09:00
Shu-yu Guo
5e37047fdc Bug 1157963 - Don't delazify functions about to be finalized. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
c61fadcb41 Bug 1157963 - Fix LazyScript::hasUncompiledEnclosingScript. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
305cf394a2 Bug 1158407 - Stop using this one weird allocation fallback for MCreateThisWithTemplate. (r=terrence) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
f67e3b7686 Bug 1155474 - Consider the input to MThrowUninitializedLexical implicitly used. (r=Waldo) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
9aef1e19a2 Bug 1156190 - Do not emit DEBUGLEAVESCOPE if we're also going to emit POPBLOCKSCOPE. (r=jimb) 2015-04-28 01:44:22 -07:00
Shu-yu Guo
95ec4ecbe5 Bug 1148917 - Add a new option to FrameIter that allows stopping at debugger eval frames. (r=jimb) 2015-04-28 01:44:22 -07:00
Geoff Lankow
9b06d1932b Bug 1138336 - Adapt nsIScriptError so it can display log messages with filename and line number; r=jst,neil,past 2015-04-28 18:39:47 +12:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Steve Fink
e2408124bd Bug 1149476 - Lengthen timeout because we are hitting it with SM(cgc), r=me (also jonco for a more complex version)
The previous attempt seemed to cause problems with preventing the test script from exiting, which I was defending against by closing all file descriptors (even though I wasn't sure if it was necessary.) Sadly, I have no way to report the failure, but for now just lengthening the timeout seems like the simplest to make the intermittents go away.
2015-04-27 13:19:17 -07:00
Ryan VanderMeulen
105fa88eae Merge m-c to inbound. a=merge 2015-04-27 15:20:16 -04:00
Ryan VanderMeulen
ae67d6b344 Backed out 2 changesets (bug 1099149, bug 1154356) for suspicion that one of them is causing frequent Android debug recursion.js failures. a=me
Backed out changeset ecc645744a11 (bug 1154356)
Backed out changeset 1d7c532f2a62 (bug 1099149)
2015-04-27 15:14:19 -04:00
Nikhil Marathe
828e83e703 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : rebase_source : 001f43d9e08768111f8ece44f79ae3ab689e2fb6
extra : amend_source : 8b89c86ded224c90aa428cdfb24d25959c87b32b
2015-04-27 12:00:41 -07:00
L. David Baron
ca5ebe4305 Bug 1157648 - Make nsScriptError::ToString use only the first 512 characters of mSourceName and mSourceLine. r=bholley
This means that when mSourceName and mSourceLine are large, ToString is
not excessively expensive.

This is particularly important for CSS errors, where we don't make an
attempt to truncate these prior to constructing the script error, but we
do ensure that when we report multiple errors on the same line (which is
common for minified CSS), we share from the same string buffer and avoid
copying.

--HG--
extra : transplant_source : %1D%A7%13%DBWzPC%9A%3DzHb%11BW%0CBya
2015-04-27 11:35:10 -07:00
Ryan VanderMeulen
cb4391caa6 Backed out changeset c839f283bf28 (bug 1058695) for bustage.
CLOSED TREE
2015-04-27 14:04:24 -04:00
Nick Fitzgerald
fe7b1a60be Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald
655829ca7c Bug 1134865 - Part 2: Add constructor name to the allocations log; r=djvj 2015-04-27 10:57:06 -07:00
Nick Fitzgerald
669fee1c38 Bug 1134865 - Part 1: Add JSObject::constructorDisplayAtom; r=djvj 2015-04-27 10:57:06 -07:00
Nikhil Marathe
6e7fc932d3 Bug 1058695 - Add member to nsIGlobalObject to detect it is going away. Make promises use it. r=bholley
--HG--
extra : rebase_source : 3b3909b843efa2150edfcd79a6399535a12bd5aa
2015-04-22 16:34:21 -07:00
Boris Zbarsky
34d521e285 Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff 2015-04-27 13:38:12 -04:00
Terrence Cole
c82004a974 Bug 1156533 - Simplify how we trace Shapes for marking; r=sfink 2015-04-16 13:45:24 -07:00
Terrence Cole
4d7173dae1 Bug 1157829 - The markAndScan functions are now just an additional assertion; r=sfink
--HG--
extra : rebase_source : 2bc89fbf86a4d5a5ec5bcd79e3789a4bb3260008
2015-04-23 11:05:46 -07:00
Terrence Cole
b2be97e336 Bug 1157828 - Move ShouldMarkCrossCompartment adjacent to other marking invariant logic; r=jonco
--HG--
extra : rebase_source : 6e9b00f51e840ba3f5f7f71e1dfe514459c902d4
2015-04-23 11:02:02 -07:00
Paul Duguet
f84433c770 Bug 1099149 - Part 2: Add a more specific error message when 'js::ToSimdConstant' argument is of wrong type. r=bbouvier 2014-11-22 09:07:00 +01:00
Ginn Chen
8232df4203 Bug 1153707 jsval is wrongly passed to XPT Javascript method on ppc/32 and SPARC/32 r=bobbyholley 2015-04-27 13:47:17 +08:00
Kyle Machulis
6953137bf2 Bug 865222 - Add MOZ_GUARD_OBJECT_NOTIFIER_PARAM to JSAutoCompartment and JSAutoNullableCompartment; r=efaust 2015-04-26 08:49:03 -07:00