mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
rename catch var to "e"
This commit is contained in:
parent
b8ff1ba1bd
commit
b4ad0e657e
@ -47,15 +47,15 @@ try {
|
|||||||
obj.verifySetFunction1 = value;
|
obj.verifySetFunction1 = value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e1) {
|
} catch (e) {
|
||||||
if (!result) {
|
if (!result) {
|
||||||
$ERROR('Expected result to be true, actually ' + result);
|
$ERROR('Expected result to be true, actually ' + result);
|
||||||
}
|
}
|
||||||
|
|
||||||
accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
|
accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
|
||||||
|
|
||||||
if (!(e1 instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + e1);
|
$ERROR("Expected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -47,15 +47,15 @@ try {
|
|||||||
obj.verifySetFunction1 = value;
|
obj.verifySetFunction1 = value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e1) {
|
} catch (e) {
|
||||||
if (!result ) {
|
if (!result ) {
|
||||||
$ERROR('Expected result to be true, actually ' + result );
|
$ERROR('Expected result to be true, actually ' + result );
|
||||||
}
|
}
|
||||||
|
|
||||||
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
||||||
|
|
||||||
if (!(e1 instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + e1);
|
$ERROR("Expected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ try {
|
|||||||
obj.verifySetFunction1 = value;
|
obj.verifySetFunction1 = value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e1) {
|
} catch (e) {
|
||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
$ERROR('Expected result to be true, actually ' + result);
|
$ERROR('Expected result to be true, actually ' + result);
|
||||||
@ -56,8 +56,8 @@ try {
|
|||||||
|
|
||||||
accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
|
accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false);
|
||||||
|
|
||||||
if (!(e1 instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + e1);
|
$ERROR("Expected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ try {
|
|||||||
obj.verifySetFunction1 = value;
|
obj.verifySetFunction1 = value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e1) {
|
} catch (e) {
|
||||||
if (!result) {
|
if (!result) {
|
||||||
$ERROR('Expected result to be true, actually ' + result);
|
$ERROR('Expected result to be true, actually ' + result);
|
||||||
}
|
}
|
||||||
@ -56,8 +56,8 @@ try {
|
|||||||
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
||||||
|
|
||||||
|
|
||||||
if (!(e1 instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + e1);
|
$ERROR("Expected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -49,15 +49,15 @@ try {
|
|||||||
obj.verifySetFunction1 = value;
|
obj.verifySetFunction1 = value;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (e1) {
|
} catch (e) {
|
||||||
if (!result ) {
|
if (!result ) {
|
||||||
$ERROR('Expected result to be true, actually ' + result );
|
$ERROR('Expected result to be true, actually ' + result );
|
||||||
}
|
}
|
||||||
|
|
||||||
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false);
|
||||||
|
|
||||||
if (!(e1 instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + e1);
|
$ERROR("Expected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -29,11 +29,11 @@ try {
|
|||||||
configurable: true
|
configurable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,11 @@ try {
|
|||||||
enumerable: true
|
enumerable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,11 +34,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,11 @@ try {
|
|||||||
set: function () { }
|
set: function () { }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
writable: true
|
writable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", undefined, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", undefined, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -33,11 +33,11 @@ try {
|
|||||||
value: "abc"
|
value: "abc"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,11 +27,11 @@ try {
|
|||||||
value: -0
|
value: -0
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", +0, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", +0, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", -0, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", -0, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -29,11 +29,11 @@ try {
|
|||||||
value: 36
|
value: 36
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,11 @@ try {
|
|||||||
value: "efgh"
|
value: "efgh"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", "abcd", false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", "abcd", false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -29,11 +29,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", true, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", true, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "1", obj1, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "1", obj1, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -33,11 +33,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -35,11 +35,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
|
accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
get: undefined
|
get: undefined
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
|
accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,11 +27,11 @@ try {
|
|||||||
value: 36
|
value: 36
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,11 +27,11 @@ try {
|
|||||||
writable: true
|
writable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "property", undefined, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "property", undefined, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -28,11 +28,11 @@ try {
|
|||||||
enumerable: true
|
enumerable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,11 +27,11 @@ try {
|
|||||||
configurable: true
|
configurable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -35,11 +35,11 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,11 @@ try {
|
|||||||
set: function () { }
|
set: function () { }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
enumerable: true
|
enumerable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
configurable: true
|
configurable: true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -31,11 +31,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, false, false, false);
|
dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
|
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, true, false);
|
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, true, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -29,11 +29,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
|
dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -39,11 +39,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "verifySetFun", false, false, false);
|
accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "verifySetFun", false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -35,11 +35,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
|
accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,11 +34,11 @@ try {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (ex) {
|
} catch (e) {
|
||||||
accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", true, false);
|
accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", true, false);
|
||||||
|
|
||||||
if (!(ex instanceof TypeError)) {
|
if (!(e instanceof TypeError)) {
|
||||||
$ERROR("Expected TypeError, got " + ex);
|
$ERROR("Epected TypeError, got " + e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user