Reviewed by Ken.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Aug 2004 23:38:57 +0000 (23:38 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Aug 2004 23:38:57 +0000 (23:38 +0000)
commitaca199902e41ad17c1c205ef4f877a5f5f52e4b8
tree7f53ce4f0d09c4ad5445027a20a13d466a2762ce
parent169aea35344f075bcbef04d1c773d23943cc4b1f
    Reviewed by Ken.

        - fixed a couple things making 5 Mozilla regexp tests pass

        * kjs/regexp_object.cpp: (RegExpProtoFuncImp::call): Implement toString
        for the prototype.
        (RegExpObjectImp::construct): Fix bug where the string "undefined" would
        be used as the flags string when no parameter was passed.

        * kjs/regexp_object.h: (KJS::RegExpPrototypeImp::classInfo):
        Added a class info object for RegExp prototype so it can return
        a string instead of raising an exception when converting to a string.

        * tests/mozilla/expected.html: Update results.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/regexp_object.cpp
JavaScriptCore/kjs/regexp_object.h
JavaScriptCore/tests/mozilla/expected.html