2011-05-18 Oliver Hunt <oliver@apple.com>
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2011 01:15:52 +0000 (01:15 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2011 01:15:52 +0000 (01:15 +0000)
commit9da875ae293b570f12c110b811bae136c01f3f07
tree3d2c6b483da06343b40c3d83ca8e7d0fca9b59a3
parent768b3a078a5cdab914d53e2a2003da461a80e1b3
2011-05-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        +[WebScriptObject throwException:] doesn't work when invoked from obj-c field access
        https://bugs.webkit.org/show_bug.cgi?id=61100

        The objc bindings were written to assume exceptions would
        come from obj-c style exceptions, rather than throwException:
        This code simply calls the global ObjcInstance mechanism for
        transferring the reported exception.

        * bridge/objc/objc_instance.h:
        * bridge/objc/objc_runtime.mm:
        (JSC::Bindings::ObjcField::valueFromInstance):
        (JSC::Bindings::ObjcField::setValueToInstance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bridge/objc/objc_instance.h
Source/WebCore/bridge/objc/objc_runtime.mm