Jacek Caban
f6c5da47f7
jscript: Suport generic error object for exception with no associated JavaScript exception value.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-02 16:24:51 +01:00
Francois Gouget
a4a1ba5a22
jscript/tests: Fix the spelling and slightly reword an ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-23 19:44:17 +02:00
Jacek Caban
922049a21d
jscript: Add support for string literals with embedded null bytes.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 13:09:22 +01:00
Jacek Caban
56be97fd5d
jscript: Add parser support for getters and setters in object initializer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-03 10:50:24 +01:00
Jacek Caban
4cabe3612f
jscript: Allow trailing comma in object literals.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 22:26:07 +02:00
Jacek Caban
5a90acf59c
jscript: Use global accumulator for storing function call results.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-12 14:08:07 +02:00
Jacek Caban
4fde6d4138
jscript: Properly parse large hexadecimal listerals.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 20:14:43 +02:00
Jacek Caban
f96aa1f32c
jscript: Properly support overloaded values in to_int32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-11 20:14:41 +02:00
Jacek Caban
d72acebd6c
jscript: Properly handle elisions in array literals.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 10:54:27 +01:00
Jacek Caban
4b5291a519
jscript/tests: Added more exception tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 19:29:15 +02:00
Jacek Caban
b7bb16673c
jscript: Simplify pop_to_stat implementation.
...
We no longer need to do stack pops before return expression evaluation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-01 19:29:15 +02:00
Jacek Caban
afc63fd570
jscript/tests: Added more tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-05 10:32:40 -05:00
Jacek Caban
1857cdf57d
jscript: More arguments object tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 11:13:50 -05:00
Jacek Caban
a8b5dc84bd
jscript: Removed obsolete FIXME comments in tests and add relevant tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-25 22:05:24 +09:00
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