window_object_cleared
Description:
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 |