Commit Graph

17022 Commits

Author SHA1 Message Date
Hannes Verschore
7e2997e6b4 Add testcase for bug 476088. r=jruderman 2011-12-03 03:29:59 -05:00
Hannes Verschore
6a2f03a63f Add a test for bug 373843. r=jruderman 2011-12-03 03:29:59 -05:00
Steve Fink
86a46c0c75 Bug 700202 - Propagate exceptions from ConstructSlimWrapper (r=bholley)
--HG--
extra : rebase_source : 8ce6d12e100a2e3639c4d1fddbadee25e6dd12cf
2011-11-21 09:28:19 -08:00
Steve Fink
5e5f0351b2 Bug 702740 - Add JS_SetFunctionCallback to JSAPI proper (still gated on --enable-trace-jscalls). r=luke
--HG--
extra : rebase_source : 1d77493b4a5a39bf1b2c615f13d77021324ea6d2
2011-12-01 11:25:37 -08:00
Mike Hommey
7ed7c76f49 Bug 703842 - Avoid R_SPARC_WDISP22 relocation in TrampolineSparc.s. r=bhackett 2011-11-19 09:37:34 +01:00
Mike Hommey
0cedbb4d10 Bug 703534 - Fix build failure on platforms without YARR JIT. r=luke 2011-11-18 11:49:28 +01:00
Nicholas Nethercote
eb43c0df30 Bug 704391 - follow-up to f1c49a3b76e7 that unbreaks non-JS_THREADSAFE shell builds. r=me. 2011-12-01 21:25:13 -08:00
Nicholas Nethercote
d95fe08cf3 Bug 704391 - Add more JS runtime memory reporters and fix the existing ones. r=luke. 2011-12-01 19:08:20 -08:00
Bobby Holley
0e75bd9e56 Bug 705875 - Check for null IID pointers and references in XPCConvert. r=khuey
This is a regression from http://hg.mozilla.org/mozilla-central/rev/c428312abbc7 . The rest of the changes in that patch should be fine.
2011-12-01 18:24:28 -08:00
Chris Leary
39c9740c62 Bug 706442: Shorten LifoAlloc chunk chain. (r=luke) 2011-12-01 17:59:50 -08:00
Christian Holler
a3281271fb Bug 706433 - Add JS shell compile flag (--enable-more-deterministic) for more determinism, used for differential testing. r=jorendorff 2011-12-01 15:46:28 -08:00
Brian Hackett
ef53126ae5 Remove JSOP_NOTRACE, rename JSOP_TRACE -> JSOP_LOOPHEAD, bug 706611. r=dvander 2011-12-01 15:13:51 -08:00
Felix Fung
2a48036e59 Bug 498543 - Null-checking JS_THIS_OBJECT Results. r=jwalden 2011-12-01 13:30:28 -08:00
David Mandelin
f19ac55dc1 Bug 685321 followup: land another test case
--HG--
rename : js/src/jit-test/tests/basic/bug685321.js => js/src/jit-test/tests/basic/bug685321-1.js
2011-12-01 14:44:30 -08:00
Jacek Caban
1dac1965f5 Bug 706474 - Use -fno-keep-inline-dllexport in mingw builds r=khuey 2011-12-01 12:03:15 +01:00
Johnny Stenback
62a29bb3e4 Fixing bug 690952. Move window.navigator from the outer window to the inner window, and stop persisting it across same origin page navigations. r=mrbkap@gmail.com 2011-12-01 00:28:16 -08:00
Marty Rosenberg
3fbe921e5a Don't place a pool in the middle of a C call (bug 696748, r=dmandelin) 2011-11-30 17:57:30 -08:00
Marco Bonardo
b5caa28910 Backout 281583d67072 (bug 702179) for Win64 opt build failure 2011-11-30 11:12:57 +01:00
Ginn Chen
05dc4d4c9f Bug 702179 dtrace probes are not installed on Solaris with static js lib r=glandium 2011-11-30 11:23:46 +08:00
Bobby Holley
26cc5f0c55 Bug 705019 - Allow access to {C,Pointer,Struct,Array,Function}Type.prototype.prototype. r=jorendorff 2011-11-29 18:29:19 -08:00
Bobby Holley
373b613af3 Bug 705019 - Make toSource() and toString() work on sCTypeProtoClass and sCDataProtoClass objects. r=jorendorff 2011-11-29 18:26:12 -08:00
Bobby Holley
457374946b Bug 705019 - Introduce CType::IsCTypeProto() and CData::isCDataProto(). r=jorendorff 2011-11-29 18:26:12 -08:00
Chris Leary
7822e56c0d Bug 691299: Lower maximum quantifier. (r=dmandelin)
--HG--
extra : rebase_source : ea2cdc1664171309d60c02094913483e2af3a61a
2011-11-29 15:24:44 -08:00
Brian Hackett
43a83a7006 Only inline construction of 'this' for 'new' on singleton functions, bug 706110. r=billm 2011-11-29 13:26:37 -08:00
Chris Leary
fae62a16ef Bug 691797: Optimize RegExp.prototype.test with leading .*, take 2. (r=mrbkap,luke)
--HG--
extra : rebase_source : 49c190dc6dec6ab2a05fbbd1479135082a053690
2011-11-28 13:35:12 -08:00
Boris Zbarsky
947ce13fde Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Mounir Lamouri
477f1cb570 Bug 705280 - (1/2) Quickstub nsIDOMHTMLDocument.head. r=mrbkap 2011-11-29 17:30:13 +01:00
Ryan VanderMeulen
22349ca270 Bug 517298 - Re-enable tests that had been skipped previously. r=bclary 2011-11-29 17:22:13 +01:00
Chris Leary
512f0b07a4 Back out 9541ced017f7 -- performance didn't improve as expected. 2011-11-28 17:23:02 -08:00
David Mandelin
f0008d63aa Bug 684922 followup: fix test metadata to expect error
--HG--
extra : rebase_source : b9deb96721dc65822968fec49273010367f0e2ff
2011-11-28 16:59:05 -08:00
Alon Zakai
052ec1805b Bug 705508 - Add printErr to JS console. r=cdleary 2011-11-28 16:49:34 -08:00
Ryan VanderMeulen
62a927d2f5 Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
David Mandelin
e989f473fd Bug 684922: avoid infinite recursion through GetCustomIterator, r=luke 2011-11-28 15:20:15 -08:00
Ryan VanderMeulen
6c5d50b5ed Bug 524732 - Re-enable tests that had been skipped previously. r=bclary 2011-11-28 14:57:31 -08:00
Ryan VanderMeulen
c99172b952 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Chris Leary
8a09202cc6 Bug 691797: Optimize RegExp.prototype.test with leading .* (r=mrbkap)
--HG--
extra : rebase_source : 83c8bf66164a4f6f5895beeeb857179de280c241
2011-11-28 13:35:12 -08:00
Terrence Cole
fb465cb23d Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Rafael Ávila de Espíndola
9799f824dd Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Brendan Eich
1319d0d674 Bug 685321: detect closed-over variables conservatively, r=jorendorff 2011-11-28 11:57:10 -08:00
Jeff Walden
75178a4438 Bug 701973 - Make callers pass the type of function body being parsed to Parser::functionBody, rather than inferring it from the current token. r=jorendorff
--HG--
extra : rebase_source : 6fe4c4dc4bcb0b7b44383da995934f2ff2383046
2011-11-12 01:38:24 -08:00
Jeff Walden
f4134134c8 Bug 701973 - Make js::Parser::variables not depend on the current token, and extract TOK_CONST from TOK_VAR. r=jorendorff
--HG--
extra : rebase_source : f6825ae9b1780fd1ecb2bc7831e14639abaeb735
2011-11-11 19:23:25 -08:00
Jeff Walden
3c5ca419bc Bug 701620 - Split up PNK_LC into PNK_STATEMENTLIST and PNK_XMLCURLYEXPR. r=jorendorff
--HG--
extra : rebase_source : 4d781725639c6c94da53fd33fcfcedf221634a35
2011-11-11 18:05:43 -08:00
Jeff Walden
2a586af759 Bug 701620 - Rename PNK_DO to PNK_DOWHILE to make the meaning clearer. r=jorendorff
--HG--
extra : rebase_source : c3320c052e937a7700ed8c1dd2259c9c4b6f0b03
2011-11-06 07:51:39 -08:00
Jeff Walden
7293d6c2ce Bug 701620 - Split parse nodes for the parenthesized heads of for loops into PNK_FORHEAD (for(;;) loops) and PNK_FORIN (for(var _ in _) loops) kinds. r=jorendorff
--HG--
extra : rebase_source : d98eeba2b14581aae589fd6e3eb12ba4220c1670
2011-11-05 12:43:39 -07:00
Jeff Walden
444d050d4e Bug 701620 - Use two different kinds for the + operator when used in unary and binary expressions, likewise for -. r=jorendorff
--HG--
extra : rebase_source : ae4b6490a658893b51a069ac40151ca63fff0055
2011-11-05 12:20:22 -07:00
Jeff Walden
071dfc0efb Bug 701620 - Split default parse nodes into PNK_DEFAULT into PNK_DEFAULT (for default cases in switches) and PNK_DEFXMLNS (for those other uses). r=jorendorff
--HG--
extra : rebase_source : 795141b3c10ccc731a8690a1c91df6db441ed46c
2011-11-05 12:10:33 -07:00
Nicholas Nethercote
f1e77095c2 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Mounir Lamouri
631be0b19b Backout 2040980c0792 (bug 705280) to investigate perf regression on dromaeo v8 deltablue. 2011-11-27 16:59:10 +01:00
Rafael Ávila de Espíndola
0ea58cfe7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Andrew Paprocki
eb7980a023 Bug 620452 - Always define sharpnum to prevent compiler error when JS_HAS_SHARP_VARS is undefined. r=mrbkap 2011-11-21 21:54:35 -05:00