Reviewed by Tim H.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Sep 2006 19:08:07 +0000 (19:08 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 3 Sep 2006 19:08:07 +0000 (19:08 +0000)
commit2b8e1b03e60621bf2c83286fe08154de9918e6f1
treeb1919ad30a49748ca761c74d6022286724dc1b24
parent960fbcc81272855dad31355eadc0dd03f0cfc193
    Reviewed by Tim H.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=10693
        Convert JavaScript arrays to AppleScript lists

JavaScriptCore:
        * JavaScriptCore.exp: Export ArrayInstance::info and ArrayInstance::getItem().
        * kjs/array_instance.h:
        * kjs/array_object.cpp:
        (ArrayInstance::getItem): Added a method to access array items from C++.

WebCore:
        * bridge/mac/WebCoreFrameBridge.mm:
        (aeDescFromJSValue): Added a case for ArrayInstance.

LayoutTests:
        * fast/AppleScript/array-expected.txt:
        * fast/AppleScript/array.html: Updated results, added a test for
        circular dependencies.

WebKitTools:
        * DumpRenderTree/AppleScriptController.m:
        (convertAEDescToObject):
        (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16200 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.exp
JavaScriptCore/kjs/array_instance.h
JavaScriptCore/kjs/array_object.cpp
LayoutTests/ChangeLog
LayoutTests/fast/AppleScript/array-expected.txt
LayoutTests/fast/AppleScript/array.html
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/AppleScriptController.m