Reviewed by Maciej.
- Change getProperty* to return undefined, rather than NULL, for missing
properties, since that's what the spec says. Also added exception out
parameters to the *Index functions, because they can call through to the
regular functions, which can throw for custom objects.
* API/JSObjectRef.cpp:
(JSObjectGetProperty):
(JSObjectGetPropertyAtIndex):
(JSObjectSetPropertyAtIndex):
* API/JSObjectRef.h:
* API/testapi.c:
(main):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4 files changed