Commit Graph

229 Commits

Author SHA1 Message Date
Jason Orendorff
c4ece56f03 Merge from tracemonkey to jsdbg2. 2011-04-29 10:12:46 -05:00
Jason Orendorff
1481e9c3a6 Add Debug.Frame.prototype.live. 2011-04-28 18:44:28 -05:00
Jason Orendorff
37daf8c1f1 Merge from tracemonkey to jsdbg2. 2011-04-26 14:45:06 -05:00
Tom Schuster
12cae3c23a Bug 649575 - Date.prototype.toISOString must throw a RangeError for non-finite dates. r=jwalden 2011-04-22 22:46:59 -04:00
Jason Orendorff
bd790c83f7 Change Debug.prototype.uncaughtExceptionHook to require a function or null, and pass the Debug object to uncaughtExceptionHook as the this-value. 2011-04-20 14:45:14 -05:00
Jason Orendorff
9ab9356da1 Add rudimentary support for Debug.prototype.hooks.debuggerHandler. Note: A new constant JSPROP_NATIVE_ACCESSOR is added in jsapi.h, so that js_InitClass can create proper accessor properties. 2011-04-18 17:42:07 -05:00
Jim Blandy
0c4638bb91 merge tm 2011-04-16 09:22:09 -07:00
Jason Orendorff
1c9cc1e3a4 Make 'Debug(w)' and 'new Debug(w)' return a new Debug object. The argument w must be a cross-compartment wrapper. 2011-04-14 22:03:31 -07:00
Jeff Walden
331c4df9c9 Backed out changeset d2f2cac2e980, some compilers are complainy here and I don't immediately immediately and definitely see the problem -- to debug after backout. r=yunocompile 2011-04-08 09:29:44 -07:00
Jeff Walden
3a13a6a6e4 Bug 663300 - Treat \u not followed by four hexadecimal digits, or \x not followed by two hexadecimal digits, as syntax errors in string literals. r=njn 2011-06-10 11:21:57 -07:00
Jeff Walden
cb60f9c31c Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary 2011-06-21 09:53:19 -07:00
Jeff Walden
0f4b0be08a Bug 660517 - Kill XML objects as prototypes. r=mrbkap 2011-06-16 15:43:58 -07:00
Dave Herman
87de281682 disallow yield and arguments in generator expressions (bug 634472, r=cdleary) 2011-06-16 08:20:18 -07:00
Jeff Walden
c6f1000a63 Bug 589664 - Rewrite the JSON parser. r=njn, anticipating more review but getting it in-tree now for simplicity, even if more changes need to be made later 2011-03-23 16:34:53 -07:00
Jeff Walden
b3f34db032 Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary 2011-04-02 11:33:20 -07:00
Jeff Walden
eabda9ae13 Bug 589664 - Rewrite the JSON parser. r=njn, anticipating more review but getting it in-tree now for simplicity, even if more changes need to be made later 2011-03-23 16:34:53 -07:00
Andreas Gal
608509a85d js_UnbrandAndClearSlots leaks, use JS_ClearScope and throw if compile-N-go scripts are run after JS_ClearScope (630072, r=brendan). 2011-02-13 20:55:33 -08:00
David Anderson
7015b45047 Disallow for-in initializers that use let (bug 617288, r=brendan). 2011-01-10 16:58:22 -08:00
Jim Blandy
b6bb87d9ab Bug 609832: Fix message wording. r=brendan 2011-01-07 21:46:21 -08:00
Jim Blandy
56b418a307 Bug 609832: Function statements should be banned (for now) in ES5 strict mode. (r=cdleary) 2011-01-07 17:56:22 -08:00
Andreas Gal
d61ac14d5c Disallow non-native global objects (609990, r=brendan). 2011-01-05 19:56:42 -08:00
Blake Kaplan
b51420113a bug 601803 - Support adopting a node cross-compartment. r=gal/jst, a=blocker 2010-11-15 17:21:25 -08:00
Jason Orendorff
da96ddcb93 Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent. 2010-11-24 14:14:02 -06:00
Andreas Gal
ff0d0e38c3 typeof(regexp from sandbox) is "function" (bug 607799, r=brendan). 2010-11-10 15:56:00 -08:00
Brendan Eich
2454d143e3 Bug 609617 - delete(eval(...)) calls indirect eval (r=jimb). 2010-11-04 16:06:08 -07:00
Jason Orendorff
3ad5e4dfa9 Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal. 2010-09-30 19:47:10 -05:00
Brendan Eich
8b637e2374 Fix shape vs. slot management under putProperty, plus related layering and error reporting fixes (596805, r=jorendorff). 2010-09-16 11:56:54 -07:00
Jim Blandy
3aca9009a9 Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan 2010-09-21 11:35:29 -07:00
Jim Blandy
1f122c3e17 Bug 537873, Bug 514574: Have strict mode code report TypeErrors for assignments, deletions. r=brendan
TODO: Fix error messages.
2010-09-15 13:43:55 -07:00
Dave Herman
f28907f78e bug 569464, r=brendan: bad let-expression-statements in strict mode 2010-09-14 19:53:35 -07:00
David Mandelin
dcd575706b [JAEGER] Merge from Tracemonkey. 2010-08-30 11:38:48 -07:00
David Mandelin
6922cff5d6 [JAEGER] Merge from tracemonkey. 2010-08-20 11:34:59 -07:00
Robert Sayre
a513e77839 Merge mozilla-central to tracemonkey. 2010-08-20 10:04:58 -04:00
David Mandelin
aec1765297 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
David Mandelin
132b1fa4a3 [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
7f680033c5 Bug 584811 - Date.prototype.toJSON isn't to spec. r=sayrer 2010-08-13 10:42:31 -07:00
David Mandelin
a48b18cbc6 [JAEGER] Merge from Tracemonkey. This picks up Yarr. 2010-08-12 11:42:16 -07:00
Chris Leary
bae7c5f482 Bug 564953: Port YARR! Lands macroassembler. (r=gal) 2010-08-11 13:30:07 -07:00
Andrew Drake
1bd74f9169 [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Andrew Drake
fdb689eafd Backed out changeset a8aeff259925 and fix due to random crashes. 2010-08-11 02:35:10 -07:00
Andrew Drake
4dfad0405d [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
David Mandelin
790cba2ea9 Backed out changeset a661b26a83a1 due to tinderbox failures. 2010-08-06 11:41:28 -07:00
Andrew Drake
66b841e13d [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Jeff Walden
cb4843d90a Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb 2010-08-02 23:52:12 -07:00
Jeff Walden
fdcd258697 Bug 536472 - ES5: getters in object literals must have no arguments, and setters in object literals must have one argument. r=cdleary 2010-08-02 12:35:08 -07:00
Jeff Walden
45cbead2ee Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
c8c10d6497 Bug 588251 - fun.caller should throw if that value corresponds to a strict mode function. r=sayrer 2010-08-21 18:24:56 -04:00
Dave Herman
03de19dc89 bug 533874, r=jimb: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Jeff Walden
04064636db Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer 2010-07-13 23:32:28 -05:00
Mounir Lamouri
dbd9b4d550 Bug 345512 - Implement pattern attribute for input elements. f=ajvincent r=sicking,jorendorff sr=smaug a2.0=blocking 2010-08-18 21:26:22 +02:00