2006-08-21 Vladimir Olexa <vladimir.olexa@gmail.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2006 17:43:55 +0000 (17:43 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Aug 2006 17:43:55 +0000 (17:43 +0000)
commit824f4a688c46849f40e8d3869425efe2746eebc4
tree4c2476c5253656c03073513b2b977e5ede48fb31
parent4b60ffa326934ddce0bea8a7c882614dba570605
2006-08-21  Vladimir Olexa  <vladimir.olexa@gmail.com>

        Reviewed by Darin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=6252
        JavaScript 1.6 Array.lastIndexOf

        Test: fast/js/array-lastIndexOf.html

        * kjs/array_object.cpp:
        (ArrayProtoFunc::callAsFunction): Added a LastIndexOf case.
        * kjs/array_object.h:
        (KJS::ArrayProtoFunc::): Added LastIndexOf to enum.
        * tests/mozilla/expected.html: Two more tests now pass.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/array_object.cpp
JavaScriptCore/kjs/array_object.h
JavaScriptCore/tests/mozilla/expected.html
LayoutTests/ChangeLog
LayoutTests/fast/js/array-lastIndexOf-expected.txt [new file with mode: 0644]
LayoutTests/fast/js/array-lastIndexOf.html [new file with mode: 0644]
LayoutTests/fast/js/resources/array-lastIndexOf.js [new file with mode: 0644]