Reviewed by Maciej.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 04:10:31 +0000 (04:10 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 15 Jul 2006 04:10:31 +0000 (04:10 +0000)
commit48d880fc34956a8b7a5e861d2fe9e3bf57119edb
tree7e364415cd2577620dbedcaadc902821ba203627
parentdbe860dfe8a6ab02ed2984fc584c9fc9024db6f9
    Reviewed by Maciej.

        - Finalized exception handling in the API.

        setProperty can throw because it throws for built-in arrays. getProperty
        and deleteProperty can throw because setProperty can throw and we want
        to be consistent, and also because they seem like "actions." callAsFunction,
        callAsConstructor, and hasInstance can throw, because they caan throw for
        all built-ins.

        toBoolean can't throw because it's defined that way in the spec.

        - Documented that toBoolean and toObject can't be overridden by custom
        objects because they're defined that way in the spec.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/API/JSCallbackObject.cpp
JavaScriptCore/API/JSCallbackObject.h
JavaScriptCore/API/JSObjectRef.cpp
JavaScriptCore/API/JSObjectRef.h
JavaScriptCore/API/JSValueRef.cpp
JavaScriptCore/API/JSValueRef.h
JavaScriptCore/API/minidom.c
JavaScriptCore/API/testapi.c
JavaScriptCore/API/testapi.js
JavaScriptCore/ChangeLog
JavaScriptCore/bindings/objc/objc_runtime.mm