Skip to content
  • ggaren's avatar
    -rolled in KDE fixes for http://bugzilla.opendarwin.org/show_bug.cgi?id=3601 · 57b32066
    ggaren authored
            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: http://svn.webkit.org/repository/webkit/trunk@9795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    57b32066