jscript: Fix 'object expected' error number.

This commit is contained in:
Piotr Caban 2009-09-03 10:43:27 +02:00 committed by Alexandre Julliard
parent 90d2c25961
commit 782dea35f8
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#define IDS_NOT_FUNC 0x138A #define IDS_NOT_FUNC 0x138A
#define IDS_NOT_DATE 0x138E #define IDS_NOT_DATE 0x138E
#define IDS_NOT_NUM 0x1389 #define IDS_NOT_NUM 0x1389
#define IDS_OBJECT_EXPECTED 0x128F #define IDS_OBJECT_EXPECTED 0x138F
#define IDS_ILLEGAL_ASSIGN 0x1390 #define IDS_ILLEGAL_ASSIGN 0x1390
#define IDS_UNDEFINED 0x1391 #define IDS_UNDEFINED 0x1391
#define IDS_NOT_BOOL 0x1392 #define IDS_NOT_BOOL 0x1392

View File

@ -1492,7 +1492,7 @@ exception_test(function() {eval("for(i=0;i<10")}, "SyntaxError", -2146827284);
exception_test(function() {eval("while(")}, "SyntaxError", -2146827286); exception_test(function() {eval("while(")}, "SyntaxError", -2146827286);
exception_test(function() {eval("if(")}, "SyntaxError", -2146827286); exception_test(function() {eval("if(")}, "SyntaxError", -2146827286);
exception_test(function() {eval("'unterminated")}, "SyntaxError", -2146827273); exception_test(function() {eval("'unterminated")}, "SyntaxError", -2146827273);
exception_test(function() {eval("nonexistingfunc()")}, "TypeError", -2146823537); exception_test(function() {eval("nonexistingfunc()")}, "TypeError", -2146823281);
function testObjectInherit(obj, constr, ts, tls, vo) { function testObjectInherit(obj, constr, ts, tls, vo) {
ok(obj instanceof Object, "obj is not instance of Object"); ok(obj instanceof Object, "obj is not instance of Object");