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>
This commit is contained in:
Jacek Caban 2016-05-25 14:08:15 +02:00 committed by Alexandre Julliard
parent b1773131ac
commit a8b5dc84bd
1 changed files with 5 additions and 2 deletions

View File

@ -208,10 +208,13 @@ function argumentsTest() {
return 1;
});
}
/* FIXME: It seems that when function is called as an expression, instance object arguments is not set.
* We currently always set it in Wine. */
argumentsTest();
(function callAsExprTest() {
ok(callAsExprTest.arguments === null, "callAsExprTest.arguments = " + callAsExprTest.arguments);
})(1,2);
tmp = (function() {1;})();
ok(tmp === undefined, "tmp = " + tmp);
tmp = eval("1;");