-rolled in KDE fixes for http://bugzilla.opendarwin.org/show_bug.cgi?id=3601
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2005 16:58:57 +0000 (16:58 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jul 2005 16:58:57 +0000 (16:58 +0000)
commitf8e58a3d8e28d06274b44d89d960d58cad7f6a0f
tree5162f8f9905ac536a2eea082a60b2e20f6a3bb89
parent406aea6a5bead3111e0baf4ce0f9d0c075ad1f36
    -rolled in KDE fixes for bugzilla.opendarwin.org/show_bug.cgi?id=3601
        Error instance type info

        Reviewed by mjs.

        * kjs/error_object.cpp:
        - Created ErrorInstanceImp class for Error() objects.
        - Changed parent object for Native Errors to "Function" (matches
        ECMA spec).
        (ErrorInstanceImp::ErrorInstanceImp):
        (ErrorProtoFuncImp::call):
        (ErrorObjectImp::construct):
        (NativeErrorImp::construct):

        * kjs/error_object.h:
        (KJS::ErrorInstanceImp::classInfo):
        * kjs/object.h: made comment more informative about ClassInfo

        * tests/mozilla/expected.html:

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