Ignore:
Timestamp:
May 20, 2004, 3:13:48 PM (21 years ago)
Author:
rjw
Message:

WebKit:

Fixed typo in header comment.

Reviewed by Ken.

  • Plugins.subproj/WebScriptObject.h:

WebCore:

Implemented WebScriptObject/DOM wrapper voodoo. DOM wrappers
can now be referenced like any other WebScriptObject, meaning
you can do JS operations on them.

All added implementation of finalizeForWebScript.

Reviewed by Ken.

  • kwq/DOM.mm: (-[DOMObject _init]):
  • kwq/DOMInternal.mm: (-[WebScriptObject _init]): (-[WebScriptObject _initializeScriptDOMNodeImp]):
  • kwq/KWQKHTMLPart.h:
  • kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::KWQKHTMLPart): (KWQKHTMLPart::bindingRootObject): (KWQKHTMLPart::windowScriptObject):

JavaScriptCore:

Implemented WebScriptObject/DOM wrapper voodoo. DOM wrappers
can now be referenced like any other WebScriptObject, meaning
you can do JS operations on them.

All added implementation of finalizeForWebScript.

Reviewed by Ken.

  • bindings/objc/WebScriptObject.h:
  • bindings/objc/WebScriptObject.mm: (-[WebScriptObject _initializeWithObjectImp:KJS::root:Bindings::]): (-[WebScriptObject _initWithObjectImp:KJS::root:Bindings::]): (-[WebScriptObject KJS::]): (-[WebScriptObject dealloc]): (-[WebScriptObject callWebScriptMethod:withArguments:]): (-[WebScriptObject evaluateWebScript:]): (-[WebScriptObject setValue:forKey:]): (-[WebScriptObject valueForKey:]): (-[WebScriptObject stringRepresentation]):
  • bindings/objc/WebScriptObjectPrivate.h:
  • bindings/objc/objc_instance.mm: (ObjcInstance::~ObjcInstance):

WebBrowser:

Added some debugging for WebScriptObject, disabled by default.

Reviewed by Ken.

  • LocationChangeHandler.m: (-[LocationChangeHandler webView:windowScriptObjectAvailable:]): (-[LocationChangeHandler webView:locationChangeDone:forDataSource:]):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bindings/objc/WebScriptObject.h

    r6644 r6650  
    126126    @method finalizeForWebScript
    127127    @discussion finalizeForScript is called on objects exposed to the script
    128     environment just before the script environment is reset.  After calls to
    129     finalizeForScript the object will no longer be referenced by the script environment.
    130     Further any references to WebScriptObjects made by the exposed object will
     128    environment just before the script environment releases the object.  After calls to
     129    finalizeForWebScript the object will no longer be referenced by the script environment.
     130    Further, any references to WebScriptObjects made by the exposed object will
    131131    be invalid and have undefined consequences.
    132132*/
Note: See TracChangeset for help on using the changeset viewer.