From b4ad0e657ef8a5aa11ca17d8a0ff649006a25fe0 Mon Sep 17 00:00:00 2001 From: smikes Date: Mon, 10 Nov 2014 16:56:21 -0700 Subject: [PATCH] rename catch var to "e" --- test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js | 6 +++--- test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js | 6 +++--- 36 files changed, 108 insertions(+), 108 deletions(-) diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js index 567ba9ae6e..77387e50b6 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-1.js @@ -47,15 +47,15 @@ try { obj.verifySetFunction1 = value; } }); -} catch (e1) { +} catch (e) { if (!result) { $ERROR('Expected result to be true, actually ' + result); } accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false); - if (!(e1 instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e1); + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js index 849455a39f..30fd33c8b9 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-2.js @@ -47,15 +47,15 @@ try { obj.verifySetFunction1 = value; } }); -} catch (e1) { +} catch (e) { if (!result ) { $ERROR('Expected result to be true, actually ' + result ); } accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false); - if (!(e1 instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e1); + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js index 4ae1959a4f..ee93a3a5d5 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-3.js @@ -48,7 +48,7 @@ try { obj.verifySetFunction1 = value; } }); -} catch (e1) { +} catch (e) { if (!result) { $ERROR('Expected result to be true, actually ' + result); @@ -56,8 +56,8 @@ try { accessorPropertyAttributesAreCorrect(obj, "property", getFunc, setFunc, "verifySetFunction", false, false); - if (!(e1 instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e1); + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js index 5600e9ec03..9141c128c2 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-6.js @@ -48,7 +48,7 @@ try { obj.verifySetFunction1 = value; } }); -} catch (e1) { +} catch (e) { if (!result) { $ERROR('Expected result to be true, actually ' + result); } @@ -56,8 +56,8 @@ try { accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false); - if (!(e1 instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e1); + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js index 8560c9a239..5749bb2c2a 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-4-540-8.js @@ -49,15 +49,15 @@ try { obj.verifySetFunction1 = value; } }); -} catch (e1) { +} catch (e) { if (!result ) { $ERROR('Expected result to be true, actually ' + result ); } accessorPropertyAttributesAreCorrect(obj, "0", getFunc, setFunc, "verifySetFunction", false, false); - if (!(e1 instanceof TypeError)) { - $ERROR("Expected TypeError, got " + e1); + if (!(e instanceof TypeError)) { + $ERROR("Expected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js index 9898029f20..ca793504d7 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-227.js @@ -29,11 +29,11 @@ try { configurable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js index 9621df2dce..2a2dec929b 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-228.js @@ -32,11 +32,11 @@ try { enumerable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js index 786e824630..7c34cb01ed 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-229.js @@ -34,11 +34,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js index ea8179834a..6f48442642 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-230.js @@ -28,11 +28,11 @@ try { set: function () { } } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js index 6ac0d93ac1..ed128ce592 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-233.js @@ -31,11 +31,11 @@ try { writable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", undefined, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js index 4c89a50862..9ee509bf16 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-234.js @@ -33,11 +33,11 @@ try { value: "abc" } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", 3, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js index a2915e29d7..d1cc698d4e 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-235.js @@ -27,11 +27,11 @@ try { value: -0 } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", +0, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js index 01cce60158..9148d1ee8e 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-236.js @@ -28,11 +28,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", -0, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js index 5981449565..bc998699e3 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-237.js @@ -29,11 +29,11 @@ try { value: 36 } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", 12, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js index 26966c47c2..802635fea2 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-238.js @@ -28,11 +28,11 @@ try { value: "efgh" } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", "abcd", false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js index c384a3b504..7c5f6de84f 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-239.js @@ -29,11 +29,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", true, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js index 12b99f4a54..c64a1c92f3 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-240.js @@ -31,11 +31,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "1", obj1, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js index 19ba294c7e..c597cbd756 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-241.js @@ -33,11 +33,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js index 01491d16a6..2721862b0f 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-242.js @@ -32,11 +32,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "1", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js index 4b185d2d2b..802a5b6d49 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-244.js @@ -35,11 +35,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js index b431bdfc04..7b110611bf 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-245.js @@ -31,11 +31,11 @@ try { get: undefined } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "1", get_fun, undefined, undefined, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js index 7a444d7055..f958970f03 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-270.js @@ -27,11 +27,11 @@ try { value: 36 } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js index c1bf206ab2..4a1a2f19fa 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-271.js @@ -27,11 +27,11 @@ try { writable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "property", undefined, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js index f3ecc7c429..72fe849ee0 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-272.js @@ -28,11 +28,11 @@ try { enumerable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js index 19856abc2b..d816a266bc 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-273.js @@ -27,11 +27,11 @@ try { configurable: true } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arr, "property", 12, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js index 697cb0dee7..ff6d1d4565 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-274.js @@ -35,11 +35,11 @@ try { } } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "property", get_fun, set_fun, "verifySetFun", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js index a1cc1010c5..76ae65cb32 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-275.js @@ -30,11 +30,11 @@ try { set: function () { } } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js index 695c79fdfb..e81aa833f8 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-276.js @@ -31,11 +31,11 @@ try { enumerable: true } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js index 5b0d77f51f..ed60646e9c 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-277.js @@ -31,11 +31,11 @@ try { configurable: true } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arr, "property", undefined, set_fun, "setVerifyHelpProp", false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js index a65752c094..b1236f9fb0 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-306.js @@ -31,11 +31,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arg, "genericProperty", 1001, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js index 6a5011bc79..6856117236 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-307.js @@ -30,11 +30,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js index 7ac724897e..91ed96c049 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-308.js @@ -30,11 +30,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, true, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js index cabdf8565d..17796dd838 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-309.js @@ -29,11 +29,11 @@ try { } }); -} catch (ex) { +} catch (e) { dataPropertyAttributesAreCorrect(arg, "genericProperty", undefined, false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js index 32bb7b79c0..a950aa2ee7 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-310.js @@ -39,11 +39,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arg, "genericProperty", getFun, setFun, "verifySetFun", false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js index 907d4f6242..8307180575 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-311.js @@ -35,11 +35,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", false, false, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } } diff --git a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js index bb93630bc0..26f8920ff1 100644 --- a/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js +++ b/test/suite/ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-312.js @@ -34,11 +34,11 @@ try { } }); -} catch (ex) { +} catch (e) { accessorPropertyAttributesAreCorrect(arg, "genericProperty", undefined, setFun, "genericPropertyString", true, false); - if (!(ex instanceof TypeError)) { - $ERROR("Expected TypeError, got " + ex); + if (!(e instanceof TypeError)) { + $ERROR("Epected TypeError, got " + e); } }