window_object_cleared


Description:

[ Version ( since = "2.2" ) ]
public signal void window_object_cleared (WebPage page, Frame frame)

Emitted when the JavaScript window object in a ScriptWorld has been cleared.

This is the preferred place to set custom properties on the window object using the JavaScriptCore API. You can get the window object of frame from the JavaScript execution context of world that is returned by get_js_context_for_script_world.

Parameters:

page

a WebPage

frame

the Frame to which world belongs