diff options
author | David Fugate <dfugate@microsoft.com> | 2012-02-24 10:50:14 -0800 |
---|---|---|
committer | David Fugate <dfugate@microsoft.com> | 2012-02-24 10:50:14 -0800 |
commit | 35af99abe1eb03de767c90f4f4e9bfb7c452bc90 (patch) | |
tree | 3381a740cfe983129eb1c0dcf02118e999e3cc78 /test | |
parent | e0d156d38cf03c0dde55743bef15a350f9be51b4 (diff) |
https://bugs.ecmascript.org/show_bug.cgi?id=276 fixed.
Diffstat (limited to 'test')
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; |