Show
Ignore:
Timestamp:
08/20/08 13:23:52 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35853

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/API/JSContextRef.h

    r428 r447  
    7171@discussion JSGlobalContextCreate allocates a global object and populates it with all the 
    7272 built-in JavaScript objects, such as Object, Function, String, and Array. 
    73  The global context is created in a unique context group. 
     73 
     74 The created context can only be used on the main thread. JavaScript values cannot be 
     75 shared or exchanged between contexts. 
    7476@param globalObjectClass The class to use when creating the global object. Pass  
    7577 NULL to use the default object class. 
    7678@result A JSGlobalContext with a global object of class globalObjectClass. 
    7779*/ 
    78 JS_EXPORT JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass)
     80JS_EXPORT JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass) AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_3_1
    7981 
    8082/*! 
     
    8688 NULL to use the default object class. 
    8789@param group The context group to use. The created global context retains the group. 
     90 Pass NULL to create a unique group for the context. 
    8891@result A JSGlobalContext with a global object of class globalObjectClass and a context 
    8992 group equal to group.