Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Oct 2007 08:29:19 +0000 (08:29 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Oct 2007 08:29:19 +0000 (08:29 +0000)
commit283fe48c4f32ae209c31300ab60c893dea83cf13
tree614fd4945e20e6c9541742ed4e42170312227e62
parent8d1ad4163b475a9734bdeca7c8cfd01893619039
    Reviewed by Darin.

        http://bugs.webkit.org/show_bug.cgi?id=11001
        WebKit doesn't support RegExp.compile method

        Test: fast/js/regexp-compile.html

        * kjs/regexp_object.cpp:
        (RegExpPrototype::RegExpPrototype):
        (RegExpProtoFunc::callAsFunction):
        * kjs/regexp_object.h:
        (KJS::RegExpProtoFunc::):
        Added RegExp.compile.

        * tests/mozilla/expected.html: js1_2/regexp/compile.js now passes.

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