diff options
author | David Fugate <dfugate@microsoft.com> | 2012-02-24 15:40:42 -0800 |
---|---|---|
committer | David Fugate <dfugate@microsoft.com> | 2012-02-24 15:40:42 -0800 |
commit | c64d7b5758acadb89a674dac88b6dd4671293189 (patch) | |
tree | 0226a052220887027d0fbf70211866cb25ddbb35 /test/suite/ch15/15.5/15.5.4/15.5.4.9 | |
parent | d9e409ac1bf86d3d7bba85e9be2d5663de11b1a1 (diff) |
https://bugs.ecmascript.org/show_bug.cgi?id=274
Fixed.
Re-gen'ed the website.
Diffstat (limited to 'test/suite/ch15/15.5/15.5.4/15.5.4.9')
-rw-r--r-- | test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js index 349c8b655..42ef95947 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js @@ -12,6 +12,8 @@ var __FACTORY = String.prototype.localeCompare; try { var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.localeCompare; __instance = new __FACTORY lead to throwing exception'); -} catch (e) {} + $FAIL('#1: __FACTORY = String.prototype.localeCompare; __instance = new __FACTORY lead to throwing exception');
+} catch (e) {
+ if (e instanceof Test262Error) throw e; +} |