From 42737015f407957c91be265459d5e04c4bdb7111 Mon Sep 17 00:00:00 2001 From: David Fugate Date: Fri, 13 Jan 2012 15:15:29 -0800 Subject: https://bugs.ecmascript.org/show_bug.cgi?id=75 --- test/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A3.1_T2.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A3.1_T2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A3.1_T2.js index a49a7814a..a425c5c5e 100644 --- a/test/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A3.1_T2.js +++ b/test/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A3.1_T2.js @@ -78,3 +78,14 @@ catch (e) { } } +//CHECK#9 +try { + var object = {toString: function() {throw "error"}}; + [].join(object); + $ERROR('#9.1: var object = {toString: function() {throw "error"}}; [].join(object) throw "error". Actual: ' + ([].join(object))); +} +catch (e) { + if (e !== "error") { + $ERROR('#9.2: var object = {toString: function() {throw "error"}}; [].join(object) throw "error". Actual: ' + (e)); + } +} \ No newline at end of file -- cgit v1.2.3