Commit Graph

192 Commits

Author SHA1 Message Date
Jacek Caban e1970c8547 jscript: Properly handle function expressions with identifiers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-06 21:09:04 +09:00
Piotr Caban 756c604d9a jscript: Fix handling of numbers starting with decimal separator.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 00:54:12 +09:00
Jacek Caban 35133dbe58 jscript: Find Function.arguments on the stack instead of storing it in FunctionInstance object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-29 10:40:06 +09:00
Jacek Caban 47cf3fe36d jscript: Added a few more arguments tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-25 00:52:09 +09:00
Jacek Caban b7a27333e3 jscript: Don't use builtin property for a few more constructors. 2015-02-06 00:28:34 +09:00
Jacek Caban 6eb49669aa jscript: Don't use builtin property for exposing Boolean constructor. 2015-02-05 00:23:14 +09:00
Jacek Caban 0eec97e29b jscript: Don't use builtin property for exposing ActiveXObject constructor. 2014-10-13 19:43:28 +09:00
Jacek Caban 4d9ea4b563 jscript: Added support for octal literals. 2013-11-06 18:01:00 +01:00
Jacek Caban 4dbd777de2 jscript: Fixed deleting nonexistent identifiers. 2012-12-17 20:31:17 +01:00
Jacek Caban 7f07bb9a7a jscript: Fixed deleting nonexisting properties from member expression. 2012-12-17 20:31:16 +01:00
Jacek Caban 10c2a2bba4 jscript: Properly handle return value evaluation in comma expression. 2012-12-14 11:54:44 +01:00
Jacek Caban 162f2e6be2 jscript: Moved eval return value logic to specific statement handlers. 2012-12-13 12:24:07 +01:00
Jacek Caban 0e5933f70a jscript: Added support for indexed string access. 2012-11-30 19:12:16 +01:00
Jacek Caban d9d8c8b716 jscript: Added support for DontDelete attribute and use it for arguments object. 2012-11-30 19:12:15 +01:00
Jacek Caban 6b56c65f8d jscript: Alias arguments properties to real values. 2012-11-30 19:12:14 +01:00
Jacek Caban 55f0663e3e jscript: Use proper object as 'this' when function is called on an activation object. 2012-11-14 16:37:49 +01:00
Jacek Caban fdbd536983 jscript: Don't leave current scope in return statement before evaluating the expression. 2012-09-13 16:47:22 +02:00
Jacek Caban dd0fe98646 jscript: Added support for no new line between return and expression rule. 2012-09-10 17:36:08 +02:00
Jacek Caban f1642ce1fc jscript: Added support for no new line between continue and identifier rule. 2012-09-10 17:36:05 +02:00
Jacek Caban dc2133cc66 jscript: Added support for no new line between break and identifier rule. 2012-09-10 17:36:02 +02:00
Jacek Caban 6ba7a1964a jscript: Fixed empty cases in the end of switch statement. 2012-09-04 16:15:45 +02:00
Jacek Caban d0aa78c096 jscript: Don't set constructor property to each object instance, it belongs to their prototypes. 2012-07-16 16:29:57 +02:00
Jacek Caban 49fd903205 jscript: Expose RegExpError constructor in global object. 2012-07-16 16:29:51 +02:00
Jacek Caban 27747d3a75 jscript: Properly set Error object's constructor property. 2012-07-16 16:29:45 +02:00
Jacek Caban bf7b7272ee jscript: Properly set Function constructor's constructor property. 2012-07-16 16:29:38 +02:00
Jacek Caban d492650332 jscript: Properly handle constructor property for most builtin constructors. 2012-07-16 16:29:31 +02:00
Jacek Caban cf8029717c jscript: Properly set Number.prototyp.constructor. 2012-07-16 16:29:21 +02:00
Francois Gouget 22fe702f7a jscript/tests: Fix the spelling of the testEmbeddedFunctions() function name. 2012-05-14 12:06:15 +02:00
Jacek Caban 05d59abc1c jscript: Make sure to jump out of switch before entering implicit default clausule. 2012-04-16 12:08:56 +02:00
Jacek Caban 353553e0aa jscript: Emit undefined statement return for switch without default clausule. 2012-04-02 14:14:30 +02:00
Jacek Caban 8f36daa422 jscript: Properly handle NULL bstr in str_to_number. 2012-03-28 17:28:34 +02:00
Jacek Caban 5c47f4a269 jscript: Added labelled statements tests. 2012-01-17 14:08:32 +01:00
Jacek Caban e7bb8813a9 jscript: Don't use break in finally block on pre-IE8 jscript. 2012-01-12 16:09:33 +01:00
Jacek Caban dc5a75a7ac jscript: Fixed continue inside for..in statement. 2012-01-10 17:58:57 +01:00
Jacek Caban d7fd00fdab jscript: Added more control flow tests. 2011-12-28 17:49:35 +01:00
Jacek Caban 3b56e49ef9 jscript: Added bytecode version of try statement. 2011-12-28 17:48:48 +01:00
Jacek Caban f6023c428a jscript: Use bytecode for block statement implementation. 2011-12-19 20:15:46 +01:00
Jacek Caban b268e41da6 jscript: Use bytecode for function expression implementation. 2011-12-16 16:38:28 +01:00
Jacek Caban 43a2d8b990 jscript: Don't pass EXPR_NEWREF to name expression in array_expression_eval. 2011-12-15 17:46:46 +01:00
Jacek Caban f8e3e92be3 jscript: Don't use EXPR_NEWREF in forin_statement_event. 2011-12-12 15:50:45 +01:00
Jacek Caban 106fcb8e87 jscript: Don't use EXPR_NEWREF in for_statement_event. 2011-12-12 15:50:45 +01:00
Jacek Caban a508149fad jscript: Use bytecode for post-increment expression. 2011-12-07 17:50:01 +01:00
Jacek Caban d3d2f063b6 jscript: Use bytecode for assignment to identifier. 2011-12-05 12:24:50 +01:00
Jacek Caban facc2189d2 jscript: Use bytecode for delete on array expression implementation. 2011-11-30 11:51:20 +01:00
Jacek Caban dcca57fd87 jscript: Added tests of unary '+' on not existent property. 2011-11-22 17:17:05 +01:00
Jacek Caban 2d83bdcfbe jscript: Use bytecode for binary negation implementation. 2011-11-21 16:16:42 +01:00
Jacek Caban 418af7eda9 jscript: Use bytecode interpreter for logical negation expression. 2011-11-18 15:37:08 +01:00
Detlef Riekenberg 4d1a28b299 jscript/tests: Fix copy & paste typos. 2011-06-27 16:41:52 -05:00
Jacek Caban 42c2bd7bd9 jscript: Correctly handle forin statement on pure IDispatch object. 2011-06-21 18:14:47 +02:00
Jacek Caban 3d1595dc81 jscript: Return 'unknown' in typeof operator for native object's values that can't be retrieved. 2010-12-29 17:43:13 +01:00