Class (GI Struct)

WebKit-6.0WebKitScriptMessageReplyAbstractSince 2.40

A reply for a script message received. If no reply has been sent by the user, an automatically generated reply with undefined value with be sent.

2.40

Index

Constructors

Properties

Methods

  • Reply to a script message with an error message.

    Parameters

    • error_message: string

      An error message to return as specified by the user's script message

    Returns void

  • Atomically decrements the reference count of script_message_reply by one.

    If the reference count drops to 0, all the memory allocated by the WebKit.ScriptMessageReply is released. This function is MT-safe and may be called from any thread.

    Returns void