David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
Jeff Walden
e1c811e568
Bug 584811 - Date.prototype.toJSON isn't to spec. r=sayrer
2010-08-13 10:42:31 -07:00
David Mandelin
9376a78c81
[JAEGER] Merge from Tracemonkey. This picks up Yarr.
2010-08-12 11:42:16 -07:00
Chris Leary
e0ace5bc86
Bug 564953: Port YARR! Lands macroassembler. (r=gal)
2010-08-11 13:30:07 -07:00
Andrew Drake
bc97d0240e
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
Andrew Drake
ebfb6d0eca
Backed out changeset a8aeff259925 and fix due to random crashes.
2010-08-11 02:35:10 -07:00
Andrew Drake
e4ec6d69ff
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
David Mandelin
ddcca372a7
Backed out changeset a661b26a83a1 due to tinderbox failures.
2010-08-06 11:41:28 -07:00
Andrew Drake
469286fcd4
[JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154
2010-08-05 17:15:49 -07:00
Jeff Walden
443f3f510a
Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
...
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
Jeff Walden
ba064bca66
Bug 536472 - ES5: getters in object literals must have no arguments, and setters in object literals must have one argument. r=cdleary
...
--HG--
extra : rebase_source : 5335e6ebd22d8bc2255a3ddc7a7fcbb944dacd40
2010-08-02 12:35:08 -07:00
Jeff Walden
f6cbfcea4c
Bug 582643 - Reject '0x' without any hex digits. r=jorendorff
2010-07-29 17:37:25 -07:00
Dave Herman
484e1a2751
bug 533874, r=jimb: expose the parser as a JS API
2010-06-15 13:32:32 -07:00
Jeff Walden
151b088ab6
Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
...
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Chris Leary
c55687cccc
Back out changeset fecc8ed9e813.
2010-06-16 01:17:34 -07:00
Dave Herman
ddf90cda8e
bug 533874, r=cdleary: expose the parser as a JS API
2010-06-15 13:32:32 -07:00
Andreas Gal
3026562007
Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan).
2010-05-29 19:04:01 -07:00
Andreas Gal
4023a5b4e1
Check for invalid eval scope argument (566000, r=brendan).
2010-05-19 01:24:57 -07:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Jeff Walden
4d912ae324
Bug 556876 - PropertyDescriptor::initialize can throw a SyntaxError instead of a TypeError. r=jorendorff
...
--HG--
extra : rebase_source : d0a38deab525d8f78f81d56d9bc78dcd5f76fb97
2010-04-04 21:59:09 -07:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Vladimir Vukicevic
ae1559c751
b=532774; add native typed arrays to JavaScript; r=brendan,jorendorff
2010-01-09 13:01:37 -08:00
Jeff Walden
285792a4b4
Bug 430133 - Implement ES3.1's Object.defineProperty and Object.defineProperties. r=jorendorff
2009-06-05 12:56:45 -07:00
Igor Bukanov
da4f40e4dc
bug 528486 - eliminating GCF_CHILDREN. r=brendan
2009-12-14 10:55:17 +03:00
Jim Blandy
e412a5c444
Bug 514575: Forbid rebinding 'eval' or 'arguments' in ES5 strict mode code. r=mrbkap
2009-11-19 14:08:02 -08:00
Jim Blandy
740a8791c2
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
18f28c0cac
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
Jim Blandy
14f017ccd9
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
4ebb8ece60
Bug 514567: Detect duplicate property names. r=jorendorff
2009-11-19 12:35:55 -08:00
Jim Blandy
e1243b3edc
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
Jim Blandy
dccc422655
Bug 514576: Forbid 'with' statements in strict mode code. r=mrbkap
2009-11-19 09:49:00 -08:00
Jim Blandy
65ebe01f93
Bug 514559: Forbid octal literals or escape sequences in strict mode. r=mrbkap
2009-11-19 09:49:00 -08:00
Brendan Eich
797e4c7194
Fix old ES3 lexing bug where 3in scanned as 3 and in (523401, r=jorendorff).
2009-10-22 10:07:56 -07:00
Jeff Walden
c8f686672d
Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap
2009-07-21 19:35:59 -07:00
Jim Blandy
d73272bc1a
Bug 509510: Make Object.getPrototypeOf reject primitives, not coerce them. r=mrbkap
2009-08-17 14:54:52 -07:00
Jim Blandy
5f49bb8f1b
Bug 508637: Allow trailing commas in object initializers in strict mode. r=igor
2009-08-07 10:45:27 -07:00
Brendan Eich
77da9d75ed
Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap).
2009-06-04 18:58:47 -07:00
Brendan Eich
e9db6fcb64
Bug 375250 - Reject (JSON is fixed now) E4X masquerading as JS source (r=igor/mrbkap).
2009-04-29 16:46:43 -07:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb
Backed out changeset 972c44aa9d1f (bug 452598).
2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474
upvar2, aka the big one (452598, r=mrbkap).
2009-04-04 10:05:49 +01:00
Igor Bukanov
f7b0f5ece5
bug 455981 - duplicated arguments no longer supported when destructuring pattern is used. r=brendan
2009-03-22 10:54:17 +01:00
Robert Sayre
c5f751c11f
Bug 459161 - Process first argument to JSON stringify and parse methods as specified by ES3.1, part 2. r=jorendorff
2009-03-02 17:00:28 -05:00
Blake Kaplan
843dd4928c
Bug 469405 - Handle an __iterator__ implementation returning a primitive value on trace. r=brendan
2009-02-07 11:28:23 -08:00
Blake Kaplan
79c0a0ed2b
Bug 476940 - Report an error when a script tries to use duplicate flags on a regexp. r=brendan
2009-02-06 14:28:48 -08:00
Brendan Eich
9cd8e5a539
Upvar, v0.1 (limited to looking up from eval in a function, to the function's args and vars).
2008-08-21 03:47:33 -07:00
Igor Bukanov
b16852c1cd
bug 412296 - removal of minarg support for fast native
2008-08-08 18:02:50 +02:00
Graydon Hoare
aaf41f8ee5
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00
Igor Bukanov
fc68712767
bug 441686 - eliminating JSStackFrame.(nvars|vars). r=brendan
2008-07-20 22:13:17 +02:00