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:
parent
b1773131ac
commit
a8b5dc84bd
|
@ -208,10 +208,13 @@ function argumentsTest() {
|
||||||
return 1;
|
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();
|
argumentsTest();
|
||||||
|
|
||||||
|
(function callAsExprTest() {
|
||||||
|
ok(callAsExprTest.arguments === null, "callAsExprTest.arguments = " + callAsExprTest.arguments);
|
||||||
|
})(1,2);
|
||||||
|
|
||||||
tmp = (function() {1;})();
|
tmp = (function() {1;})();
|
||||||
ok(tmp === undefined, "tmp = " + tmp);
|
ok(tmp === undefined, "tmp = " + tmp);
|
||||||
tmp = eval("1;");
|
tmp = eval("1;");
|
||||||
|
|
Loading…
Reference in New Issue