From 9d6574a649fbe951c21ba1d3c9127e5e444888ed Mon Sep 17 00:00:00 2001 From: David Fugate Date: Fri, 24 Feb 2012 10:50:14 -0800 Subject: https://bugs.ecmascript.org/show_bug.cgi?id=276 fixed. --- test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js | 2 +- test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js | 2 +- test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js index a21c069d3..27003ec74 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js @@ -8,7 +8,7 @@ * @description Apply String.prototype.slice to Object instance, and call instance.slice(...).slice(...) */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.slice = String.prototype.slice; diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js index 0cc1b725f..51bcf1575 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js @@ -10,7 +10,7 @@ * @description Instance is function(){} */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.split = String.prototype.split; diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js index dfbdeacb9..2c91e0230 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js @@ -9,7 +9,7 @@ * @description Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...) */ -var __instance = function(){}; +var __instance = { toString: function() { return "function(){}";} }; __instance.substring = String.prototype.substring; -- cgit v1.2.1