jscript: Fix 'object expected' error number.
This commit is contained in:
parent
90d2c25961
commit
782dea35f8
|
@ -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
|
||||||
|
|
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue