Commit Graph

516 Commits

Author SHA1 Message Date
Jacek Caban 5640da1414 jscript: Run script tests in version 2 by default. 2012-01-06 19:24:23 +01:00
Jacek Caban 11ccf0f33e jscript: Handle invalid continue statements in compiler. 2011-12-30 15:41:01 +01:00
Jacek Caban 7361cdc2f3 jscript: Handle invalid break statements in compiler. 2011-12-30 15:40:58 +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 fd6ecbd781 jscript: Throw type error on invalid delete. 2011-12-15 17:46:42 +01:00
Jacek Caban 7845fe595d jscript: Added more deleting tests. 2011-12-15 17:46:41 +01:00
Jacek Caban 2c8e8948df jscript: Properly handle NULL IDispatch in stack_pop_object. 2011-12-12 15:50: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 3aa7cee00e jscript: Use bytecode for calls on identifier and member expressions. 2011-12-07 17:50:00 +01:00
Jacek Caban 8511797c07 jscript: Use bytecode for invalid assignments. 2011-12-05 12:25:04 +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
Jacek Caban c46c47cbf3 jscript: Removed useless undef ACTSCPSITE_THIS. 2011-09-19 18:32:51 +02:00
Francois Gouget 405c3ef483 jscript/tests: Some tests require that the user interface be in English. 2011-09-19 17:56:04 +02:00
Piotr Caban 726f003293 jscript/tests: Added decodeURI tests. 2011-09-02 18:28:24 +02:00
Piotr Caban df96b7297b jscript: Throw exception on error in JSGlobal_encodeURIComponent. 2011-09-02 18:10:14 +02:00
Piotr Caban 71b58e56c2 jscript: Added Object.hasOwnProperty implementation. 2011-09-02 18:10:07 +02:00
Jacek Caban ff0cea33d0 jscript: Added more SetInterfaceSafetyOptions tests and fixes. 2011-09-01 18:16:28 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Jacek Caban 5b16e6e0fd jscript: Properly handle aggregation attempt. 2011-07-18 18:30:43 +02:00
Detlef Riekenberg 4d1a28b299 jscript/tests: Fix copy & paste typos. 2011-06-27 16:41:52 -05:00
Jacek Caban a7cc9441e9 jscript: Correctly throw an exception if instanceof expression is not used on function. 2011-06-21 18:14:49 +02:00
Jacek Caban 42c2bd7bd9 jscript: Correctly handle forin statement on pure IDispatch object. 2011-06-21 18:14:47 +02:00
Jacek Caban 04e9b16c5b jscript: Fixed corner cases in parseInt implementation. 2011-02-28 13:21:38 +01:00
Jacek Caban 01a6286b5f jscript: Added more uninitialization tests. 2011-02-22 12:28:09 +01:00
Austin English 4dc81b6518 jscript/tests: Remove a dead assignment (LLVM/Clang). 2011-02-17 18:33:43 +01:00
Marcus Meissner 45e2bd7c2e jscript: Fixed VT variable type for DISPID_GLOBAL_ISWIN64. 2011-01-03 11:54:06 +01: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
Jacek Caban 48202ee09e jscript: Don't unescape '\v'. 2010-12-29 17:01:46 +01:00
Jacek Caban 10b1a7edf6 jscript: Added conditional compilation tests. 2010-12-28 16:35:43 +01:00
Jacek Caban 0f36ef09b1 jscript: Ensure that the whole script is parsed. 2010-12-28 16:35:42 +01:00
Jacek Caban aab8a1ba3a jscript: Better syntax error tests. 2010-12-28 16:35:41 +01:00
Jacek Caban f8afae75b5 jscript: Added ScriptEngine*Version functions implementation. 2010-12-27 15:39:40 +01:00
Jacek Caban 36fe9472c2 jscript: Added ScriptEngine() implementation. 2010-12-27 15:39:39 +01:00
Jacek Caban 8bcc61fb66 jscript: Exception tests clean up. 2010-12-21 00:21:17 +01:00
Jacek Caban f2319fcd85 jscript: Added Date.setYear implementation. 2010-12-20 12:47:43 +01:00
Jacek Caban 668f417b9d jscript: Added Date.setYear stub implementation. 2010-11-08 11:56:13 +01:00
Piotr Caban ebb46f3fd0 jscript: Added invocation flag tests. 2010-10-20 10:24:27 +02:00
Piotr Caban b9b11c6c67 jscript: Add index, input and lastIndex properties to regexp functions results. 2010-10-19 15:26:16 +02:00
Piotr Caban dcdc6c7013 jscript: Improved VBArray related tests. 2010-10-19 15:25:40 +02:00
Piotr Caban 5a787b3a7f jscript: Added VBArray handling to to_object(). 2010-10-18 19:47:50 +02:00
Piotr Caban 29cdb21218 jscript: Added VBArray.toArray() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 41d7f8fc46 jscript: Added VBArray.getItem() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 2f4607887f jscript: Added VBArray.dimensions() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 2aa7e3c614 jscript: Added VBArray.ubound() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 10a11d539c jscrpt: Added VBScript.lbound() implementation. 2010-10-18 19:47:50 +02:00
Piotr Caban 17fc64157c jscript: Implement VBArray constructor. 2010-10-18 19:47:49 +02:00
Piotr Caban 705ce33a6e jscript: Added VBArray stub. 2010-10-18 19:47:49 +02:00
Piotr Caban f793d2cf04 jscript: Added more safety options flags handling to create_activex_object. 2010-10-15 11:33:35 +02:00
Jacek Caban 35968b9755 jscript: Don't lookup global variables on function invocation. 2010-10-14 17:54:52 +02:00
Reece Dunn 71e7b1c5bc jscript/tests: Add tests for ActiveScriptSite_OnScriptError and IActiveScriptError. 2010-10-13 15:54:38 +02:00
Reece Dunn e368fd545c jscript: Throw TypeError if T in 'new T' is not an object. 2010-10-05 14:07:48 +02:00
Jacek Caban a8e969236f jscript: Better checks for too old jscript.dll versions. 2010-09-21 20:16:15 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Jacek Caban d6648e4f6a jscript: Throw TypeError in in_eval. 2010-08-16 15:54:23 +02:00
Jacek Caban be3dc38183 jscript: Throw TypeError in instanceof_expression_eval. 2010-08-16 15:54:23 +02:00
Jacek Caban ae8cb5a1e6 jscript: Fixed Error.toString implementation for non-Error this. 2010-08-04 17:31:59 +02:00
Jacek Caban 6263f0079a jscript: Use generic property for Error.number. 2010-08-02 14:09:26 +02:00
Jacek Caban 636bc7494f jscript: Fixed test crash on some win9x installations. 2010-08-02 14:09:18 +02:00
Jacek Caban f824a1656d jscript: Use generic properties for NaN and Infinity implementation. 2010-08-02 14:09:08 +02:00
Jacek Caban 922efb88bb jscript: Added support for Function.arguments property. 2010-07-28 12:22:31 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Jacek Caban adb4e83eb2 jscript: Fixed sort_cmp for non-string arguments. 2010-07-19 14:37:59 +02:00
Alexandre Julliard b4d21efd12 jscript/tests: Fix a test that fails because of the reduced FPU precision. 2010-06-22 12:52:03 +02:00
Jacek Caban 0ce3bcee1b jscript: Added leftContext and rightCont4ext tests. 2010-05-27 14:46:42 +02:00
Jacek Caban fe86330d7e jscript: Treat no argument as "undefined" in RegExp.test. 2010-05-27 14:46:42 +02:00
Jacek Caban 0cbe1574fe jscript: Store builtin constructor's length in instance object. 2010-05-27 14:46:42 +02:00
Jacek Caban 6f17fa5298 jscript: Fixed String.match implementation for non-global regexps. 2010-04-15 14:19:19 +02:00
Jacek Caban e3ae02433a jscript: Use special case for lastIndex<0 only for global regexps in run_exec. 2010-04-15 14:19:16 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Jacek Caban 9fd4f4a44a jscript: Added support for constructor property. 2010-02-08 17:14:43 +01:00
Jacek Caban f623e3add8 jscript: Skip tests on old jscript.dll. 2010-01-25 12:53:26 +01:00
Jacek Caban 09651321e0 jscript: Moved resetting lastIndex to do_regexp_match_next. 2010-01-25 12:53:22 +01:00
Jacek Caban 43bc4af02d jscript: Added String.replace implementation. 2010-01-25 12:53:18 +01:00
Jacek Caban 2a81ef06f8 jscript: Skip tests on too old jscript.dll. 2010-01-22 12:25:43 +01:00
Piotr Caban 8644a083a6 jscript: Make Array.sort generic. 2010-01-20 20:06:58 +01:00
Piotr Caban 91dcc245f9 jscript: Make Array.pop generic. 2010-01-20 20:06:55 +01:00
Piotr Caban db137cc975 jscript: Make Array.join generic. 2010-01-18 14:19:21 +01:00
Piotr Caban 6f61893685 jscript: Added implementation of Array.reverse. 2010-01-18 14:19:16 +01:00
Jacek Caban b5290bde98 jscript: Added a test using script dispatch after closing engine. 2009-12-31 12:12:17 +01:00
Jacek Caban a0467ef11c jscript: Make undefined a property of global object. 2009-12-21 15:01:25 +01:00
Jacek Caban 7705fe64d6 jscript: Fixed tests on some Windows. 2009-12-10 12:01:12 +01:00
Jacek Caban 13d6e57e72 jscript: Added Function constructor tests. 2009-12-10 12:01:06 +01:00
Jacek Caban 1045bffcc0 jscript: Fixed String.split for missing regexp separator. 2009-12-08 12:36:05 +01:00
Jacek Caban c665b86cd0 jscript: Moved set_last_index call to do_regexp_match_next. 2009-12-08 12:36:01 +01:00
Jacek Caban 8d44d63849 jscript: Don't pass EXPR_NEWREF flag to evaluate member expression in array_expression_eval. 2009-12-07 14:18:28 +01:00
Jacek Caban ec769d2d95 jscript: Correctly handle NaN in to_integer. 2009-12-04 14:34:57 +01:00
Jacek Caban efda5561d0 jscript: Correctly handle NaN and Infinity in to_int32 and to_uint32. 2009-12-04 14:34:57 +01:00
Jacek Caban 9ac7949810 jscript: Correctly handle -1 index in regexp match result. 2009-12-03 10:22:20 +01:00