Class: WebkitRemote::Event::DomReset

Inherits:
WebkitRemote::Event show all
Defined in:
lib/webkit_remote/client/dom_events.rb

Overview

Emitted when the entire document has changed, and all DOM structure is lost.

Instance Attribute Summary

Attributes inherited from WebkitRemote::Event

#domain, #name, #raw_data

Instance Method Summary collapse

Methods inherited from WebkitRemote::Event

can_reach?, can_receive?, class_for, for, #matches?, register, register_class

Constructor Details

#initialize(rpc_event, client) ⇒ DomReset

Returns a new instance of DomReset.



10
11
12
13
# File 'lib/webkit_remote/client/dom_events.rb', line 10

def initialize(rpc_event, client)
  super
  client.clear_dom
end