Safari Developer Library

Developer

SafariWebPageProxy Class Reference

Options
Deployment Target:

On This Page

SafariWebPageProxy

Inheritance


  • SafariWebPageProxy

Conforms To


Not Applicable

Import Statement


Not Applicable Not Applicable

Availability


Available in Safari 5.0 and later.

Instances of the SafariWebPageProxy class serve as a proxy objects, allowing objects outside of the web content to communicate with the SafariContentWebPage object.

The counterpart class, SafariContentBrowserTabProxy, is used to pass messages from the web content to objects outside of the web content.

  • Dispatches a message to the web content area.

    Declaration

    JavaScript

    void dispatchMessage (in DOMString name, in any message);

    Parameters

    name

    The name of the message.

    message

    The body of the message. Optional.

    Availability

    Available in Safari 5.0 and later.