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 | 83baac09677b2f0edf26a535969553d33354c757 (patch) | |
tree | 0226a052220887027d0fbf70211866cb25ddbb35 /test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js | |
parent | 941d6cdcb8d607dad22bf3bf2843d0faa0ba09d8 (diff) | |
download | test262-83baac09677b2f0edf26a535969553d33354c757.tar.gz |
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.6/S15.5.4.6_A7.js')
-rw-r--r-- | test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js index e27f8a039..62267a230 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.6/S15.5.4.6_A7.js @@ -12,6 +12,8 @@ var __FACTORY = String.prototype.concat; try { var __instance = new __FACTORY; - $FAIL('#1: __FACTORY = String.prototype.concat; "__instance = new __FACTORY" lead throwing exception'); -} catch (e) {} + $FAIL('#1: __FACTORY = String.prototype.concat; "__instance = new __FACTORY" lead throwing exception');
+} catch (e) {
+ if (e instanceof Test262Error) throw e; +} |