Ignore:
Timestamp:
Sep 3, 2006, 12:08:07 PM (19 years ago)
Author:
ap
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r15846 r16200  
    142142__ZN3KJS12PropertySlot15undefinedGetterEPNS_9ExecStateEPNS_8JSObjectERKNS_10IdentifierERKS0_
    143143__ZN3KJS12jsNumberCellEd
     144__ZN3KJS13ArrayInstance4infoE
    144145__ZN3KJS13SavedBuiltinsC1Ev
    145146__ZN3KJS13SavedBuiltinsD1Ev
     
    236237__ZNK3KJS11PropertyMap4saveERNS_15SavedPropertiesE
    237238__ZNK3KJS12DateInstance7getTimeERdRi
     239__ZNK3KJS13ArrayInstance7getItemEj
    238240__ZNK3KJS19InternalFunctionImp14implementsCallEv
    239241__ZNK3KJS19InternalFunctionImp21implementsHasInstanceEv
Note: See TracChangeset for help on using the changeset viewer.