Brendan Eich
ee624984d8
Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff).
2009-11-20 16:14:42 -08:00
Brendan Eich
1d3f5d358c
Test branded *and* hasMethodBarrier consistently, and with a combined helper (529837, r=jorendorff).
2009-11-20 14:05:16 -08:00
Jason Orendorff
60dad890ae
Bug 509354 - Crash [@ DecompileDestructuringLHS] with destructuring and "arguments". r=mrbkap.
2009-11-20 11:33:30 -06:00
Jason Orendorff
aecd55e46e
Bug 519719 - TM: crash [@ JS_GetFrameThis] - SynthesizeFrame passes partly-uninitialized JSStackFrame to callHook. r=mrbkap.
2009-11-13 11:04:23 -06:00
Bob Clary
e8aa6c9da1
Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js
2009-11-20 00:12:05 -08:00
Bob Clary
612f16b3bd
Bug 528464 - Intermittent failures - js1_5/extensions/regress-342960.js
2009-11-20 00:11:52 -08:00
Bob Clary
4b8f46fc69
Bug 528284 - js1_5/extensions/regress-371636.js - random failure for opt/debug on mozilla-central
2009-11-20 00:11:40 -08:00
Bob Clary
66328c3fc8
Bug 522760 - js/src/tests/ecma_5 tests should not run as JavaScript 1.5, r=brendan
2009-11-20 00:11:27 -08:00
Bob Clary
9632f28ef5
Bug 529754 - set javascript.options.jit.chrome true in browser tests.
2009-11-20 00:11:14 -08:00
Jim Blandy
7f1ddefd7b
Bug 514575: Forbid rebinding 'eval' or 'arguments' in ES5 strict mode code. r=mrbkap
2009-11-19 14:08:02 -08:00
Jim Blandy
bab76e4afd
Bug 514562: Forbid assignments to 'eval' and 'arguments' in strict mode code. r=mrbkap
...
Drafts of the ES5 spec required a type error to be raised when an
assignment to "arguments" is evaluated in function code. In
ECMA/TC39/2009/050, this condition has been changed to a syntax error
in all code. By the rules of chapter 16, implementations must report
it early.
2009-11-19 14:08:02 -08:00
Jim Blandy
f0a0859c37
Bug 514580: Forbid duplicate formal parameter names in strict mode code. r=mrbkap
...
Note: this patch changes the JSOPTION_STRICT warning from a TypeError
into a SyntaxError, if JSOPTION_WERROR is also set.
2009-11-19 14:08:02 -08:00
Nicholas Nethercote
15ab6b2a18
Update nanojit-import-rev stamp.
2009-11-20 08:57:52 +11:00
Edwin Smith
218752cb33
Suppress unused parameter warning in PPC backend (r=me)
...
--HG--
extra : convert_revision : 4ac63c016a95f1c58082824cf6813692f51ae917
2009-11-19 10:09:38 -05:00
Nicholas Nethercote
b1c9724924
Bug 515311 - nanojit: kill reservations in the PPC backend. r=rreitmai.
...
--HG--
extra : convert_revision : e0a0d3915764c663ccf1f0b6bedc14c7303ad239
2009-11-19 10:41:16 +11:00
Edwin Smith
58a4416af5
Fix Sparc bustage from bug 528419 (r=me)
...
--HG--
extra : convert_revision : 018f529d80309686b99d109eb132f520cf72a2fc
2009-11-18 16:07:09 -05:00
Edwin Smith
eae4db818d
Fix PPC bustage (bug 513863, r=me)
...
--HG--
extra : convert_revision : 606f3e6e99b02907d3c983dd37aa7e011a7fa43e
2009-11-18 13:42:08 -05:00
Nicholas Nethercote
f1ea9d4970
ARM Bustage fix for bug 513863. r=me.
...
--HG--
extra : convert_revision : ee701ef7d0e4ca71ce73ac77a65fe8549429dce1
2009-11-18 12:33:34 +11:00
Nicholas Nethercote
cad44793c0
Bug 513863 - nanojit: refactor registerAlloc(). r=rreitmai.
...
--HG--
extra : convert_revision : 6b7cffb8984f821980d38d4c9ccd31f8bdd3e363
2009-11-18 12:27:57 +11:00
Nicholas Nethercote
c2e23635a7
Bustage fix: avoid compiler warning (which is treated as an error by tinderbox). r=me.
...
--HG--
extra : convert_revision : 225c22dfb86b51c2e28e0328d98032d52e10d58d
2009-11-18 11:35:39 +11:00
Nicholas Nethercote
59be6c7208
Bug 528419 - nanojit: overhaul i386 comparison handling. r=edwsmith.
...
--HG--
extra : convert_revision : f05d2e60125fd7ffc5ab67bb0541012638d4d1cb
2009-11-18 11:15:20 +11:00
Edwin Smith
8368eadfb7
One more try to make osx64 and linux64 compilers happy with printf
...
--HG--
extra : convert_revision : 440f14010965f1f70afd90b30007988617f064a0
2009-11-17 15:09:27 -05:00
Edwin Smith
3078dda1b6
Fix several underrunProtect bugs in X64 backend (bug 529219 r=edwsmith+)
...
I'm pushing this on behalf of nnethercote since tamarin had one additional
regression failure that this patch fixes. Comments from the bug:
Bug 520712 introduced some underrunProtect() problems in the X64 backend. A
follow-up patch fixed one of them, but there are several remaining. This patch
fixes all of them, AFAICT, and commons out some code in the process hopefully
making things less error-prone. (It also fixes a printf-style compile
warning.)
I tested this by reducing the size of chunks allocated by codeAlloc to only 128
bytes. After doing that, without this patch, Tracemonkey was fairly crashy and
Tamarin was totally crashy; with the patch both were fine, albeit slower than
usual. (I tried 64 bytes as well but got assertions in the code allocator,
that seems to be Just Too Small.)
--HG--
extra : convert_revision : 7972be6204883c0ba472fe8caaa08f0b08660e72
2009-11-17 14:34:43 -05:00
Jim Blandy
ddb03d7b9a
Bug 514572: Forbid deletion of variables, arguments and functions in ES5 strict mode. r=jorendorff
2009-11-19 12:35:55 -08:00
Jim Blandy
a4671283ad
Bug 514567: Detect duplicate property names. r=jorendorff
2009-11-19 12:35:55 -08:00
Jim Blandy
2dea41a987
Bug 514567: Define JSAutoAtomList, a variant of JSAutoAtomList with a destructor. r=jorendorff
2009-11-19 12:35:55 -08:00
Jim Blandy
a80284f7ff
Bug 514560: Forbid assignments to undeclared variables in strict mode code. r=jorendorff
...
--HG--
rename : js/src/tests/ecma_5/strict/shell.js => js/src/tests/js1_8_1/strict/shell.js
2009-11-19 12:35:55 -08:00
Brendan Eich
425fa48074
Beware CALLEE_UPVAR_SLOT when adjusting upvar cookie to skip over args to reach vars in the upar's home frame -- the callee is a special case with a magic slot that must not be changed (528082, r=mrbkap).
2009-11-19 12:14:52 -08:00
Luke Wagner
330595d2d0
Bug 526348 - pick higher pattern-length threshold for using BMH (r=waldo)
2009-11-19 10:34:28 -08:00
Jim Blandy
8dfa9723d8
Bug 514576: Forbid 'with' statements in strict mode code. r=mrbkap
2009-11-19 09:49:00 -08:00
Jim Blandy
97218a02fc
Bug 514559: Forbid octal literals or escape sequences in strict mode. r=mrbkap
2009-11-19 09:49:00 -08:00
Jim Blandy
9fd9ea3942
Bug 521868: Make code passed to a direct call to eval inherit the caller's strictness. r=jorendorff
2009-11-19 09:48:59 -08:00
Jim Blandy
ffac41c809
Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
...
2009-11-19: checkReportFlags adjusted to use js_GetTopStackFrame, to
satisfy static analysis checks. No effect on Sunspider.
At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script. Both cases
also check the context options. The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.
This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors. At run-time,
the new checkReportFlags handles the checks. At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-19 09:23:20 -08:00
Robert Sayre
97f0d13045
Merge mozilla-central to tracemonkey.
2009-11-19 09:24:51 +01:00
Dão Gottwald
23e3f21f03
check oldState in test_purge
2009-11-19 08:22:09 +01:00
Joe Drew
6c9a3355ec
Bug 529732 - Disable gif crashtests until we remove the NS_ABORT_IF_FALSE that fires on them.
2009-11-19 00:49:10 -05:00
Justin Dolske
b977f6ece8
Bug 520491 - Updater uses lots of memory and disk space for partial updates. r=rstrong, a=beltzner for mozilla-central
2009-11-18 21:58:16 -08:00
Robert Strong
5fd20691e3
Bug 407875 - Unprivileged users are not notified of security updates. r=dtownsend, r=vlad, a=dietrich
2009-11-18 21:50:05 -08:00
Dietrich Ayala
5278685601
Bug 529622 - JavaScript Error: "gCrashReporter is not defined" with --disable-crashreporter (r=dao)
2009-11-18 21:31:06 -08:00
Wan-Teh Chang
3877b947b4
Update NSPR to the NSPR_HEAD_20091118 CVS tag (a snapshot of NSPR
...
4.8.3 pre-release). Includes fixes for bug 521306 (blocking1.9.2+),
bug 522992, and bug 525221.
2009-11-18 19:01:27 -08:00
Robert O'Callahan
080d00aa29
Backout bug 528493 on suspicion of causing regression
2009-11-19 15:15:59 +13:00
Robert O'Callahan
5b498daffc
Backed out changeset 93a0acf68dd6
2009-11-19 15:15:44 +13:00
Robert Sayre
20e1a3f783
Merge mozilla-central to tracemonkey.
2009-11-19 02:47:57 +01:00
Jonas Sicking
0b77e1fa89
Bug 526500: Fix bug in OOM handing for nsTSubstring::SetLength. Also change Capacity to return 0 rather than -1 for immutable strings to avoid similar surprises in the future. Finally Make SetCapacity return a boolean indicating success/failure to make it easier to check for oom handling. r=bsmedberg sr=dbaron
2009-11-18 17:14:29 -08:00
Robert Sayre
f3126269b1
Merge.
2009-11-19 01:23:03 +01:00
Jonas Sicking
2404744133
Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder
2009-11-18 16:22:25 -08:00
Robert Sayre
9a8e17bf6f
Merge mozilla-central to tracemonkey.
2009-11-19 01:21:34 +01:00
Brendan Eich
6bb8477127
Fix uninitialized var bug (529679, r=jorendorff).
2009-11-18 15:56:34 -08:00
Alexander Surkov
bb21a29da4
Bug 529442. Don't hold a frame pointer in nsAccessibilityService::GetAccessible. r=roc,dbolter
2009-11-19 12:42:18 +13:00
Robert O'Callahan
0c196ee106
Bug 528493. Prevent script execution while initializing nsDocumentViewer. r=bzbarsky
2009-11-19 12:40:31 +13:00