summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-02-24 10:50:14 -0800
committerDavid Fugate <dfugate@microsoft.com>2012-02-24 10:50:14 -0800
commit9d6574a649fbe951c21ba1d3c9127e5e444888ed (patch)
tree3381a740cfe983129eb1c0dcf02118e999e3cc78
parentbd336b4c59c431f4a4e41f3c1507acd6e8caefc0 (diff)
downloadtest262-9d6574a649fbe951c21ba1d3c9127e5e444888ed.tar.gz
https://bugs.ecmascript.org/show_bug.cgi?id=276 fixed.
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.13/S15.5.4.13_A3_T3.js2
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A3_T3.js2
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js2
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;