Index: test/webkit/fast/js/object-prototype-toLocaleString-expected.txt |
diff --git a/test/webkit/array-index-immediate-types-expected.txt b/test/webkit/fast/js/object-prototype-toLocaleString-expected.txt |
similarity index 80% |
copy from test/webkit/array-index-immediate-types-expected.txt |
copy to test/webkit/fast/js/object-prototype-toLocaleString-expected.txt |
index 0f74e1957f694d6b8d80078cb1f4576e4e7b66a1..ee7987d50dbc31bdd73a9707a776b413ad1a81df 100644 |
--- a/test/webkit/array-index-immediate-types-expected.txt |
+++ b/test/webkit/fast/js/object-prototype-toLocaleString-expected.txt |
@@ -21,18 +21,15 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-This test checks the behaviour of indexing an Array with immediate types. |
+Tests: Object.prototype.toLocaleString(). Related bug: 3989 JSC doesn't implement Object.prototype.toLocaleString() |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS array[0] is "Zero" |
-PASS array[null] is undefined |
-PASS array[undefined] is undefined |
-PASS array[true] is undefined |
-PASS array[false] is undefined |
-PASS putSelf([0], 0); is true |
-PASS putSelf([0], 1/9); is true |
+PASS o.toLocaleString() is o.toString() |
+PASS o.toLocaleString() is "Dynamic toLocaleString()" |
+PASS Object.prototype.toLocaleString.call('Hello, world!') is "Hello, world!" |
+PASS Object.prototype.toLocaleString.call('Hello, world!') is "stringPrototypeToString" |
PASS successfullyParsed is true |
TEST COMPLETE |