From c64d7b5758acadb89a674dac88b6dd4671293189 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Fri, 24 Feb 2012 15:40:42 -0800 Subject: https://bugs.ecmascript.org/show_bug.cgi?id=274 Fixed. Re-gen'ed the website. --- test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/suite/ch15/15.5/15.5.4/15.5.4.9/S15.5.4.9_A7.js') 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; +} -- cgit v1.2.3