2006-02-07 Alexey Proskuryakov <ap@nypop.com>
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2006 17:01:42 +0000 (17:01 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Feb 2006 17:01:42 +0000 (17:01 +0000)
commit77b5336fcb5548290bc215d22e53726fb7e38620
tree7c93b9f786d7135d3e6bc4b355d20ab1035851fd
parent8b50f5fe343b1a4c2ba75c383fe69651d7080ffb
2006-02-07  Alexey Proskuryakov  <ap@nypop.com>

        Reviewed by Timothy.

        Convert JavaScript objects to appropriate AppleScript types, instead of only strings
        http://bugzilla.opendarwin.org/show_bug.cgi?id=7012

WebKit:
        * WebView/WebView.m:
        (-[WebView aeDescByEvaluatingJavaScriptFromString:]): Added.
        * WebView/WebViewPrivate.h:

WebCore:
        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        (aeDescFromJSValue): Added.
        (-[WebCoreFrameBridge aeDescByEvaluatingJavaScriptFromString:]): Added.

WebKitTools:
        * DumpRenderTree/AppleScriptController.h: Added.
        * DumpRenderTree/AppleScriptController.m: Added.
        * DumpRenderTree/DumpRenderTree.m:
        (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:

LayoutTests:
        * fast/AppleScript: Added.
        * fast/AppleScript/001-expected.txt: Added.
        * fast/AppleScript/001.html: Added.
        * fast/AppleScript/array-expected.txt: Added.
        * fast/AppleScript/array.html: Added.
        * fast/AppleScript/date-expected.txt: Added.
        * fast/AppleScript/date.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/AppleScript/001-expected.txt [new file with mode: 0644]
LayoutTests/fast/AppleScript/001.html [new file with mode: 0644]
LayoutTests/fast/AppleScript/array-expected.txt [new file with mode: 0644]
LayoutTests/fast/AppleScript/array.html [new file with mode: 0644]
LayoutTests/fast/AppleScript/date-expected.txt [new file with mode: 0644]
LayoutTests/fast/AppleScript/date.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreFrameBridge.h
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebKit/ChangeLog
WebKit/WebView/WebView.m
WebKit/WebView/WebViewPrivate.h
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/AppleScriptController.h [new file with mode: 0644]
WebKitTools/DumpRenderTree/AppleScriptController.m [new file with mode: 0644]
WebKitTools/DumpRenderTree/DumpRenderTree.m
WebKitTools/DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj