FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPI::registerEventMethod ( const std::string &  name,
JSObjectPtr event 
)
inlinevirtual

Called by the browser to register an event handler method.

Parameters
nameThe name.
eventThe event handler method.

Reimplemented in FB::JSAPIImpl.

Definition at line 182 of file JSAPI.h.

Referenced by registerEventMethod().

183  {
184  // TODO: add support for this in IDispatchAPI and NPObjectAPI
185  throw FB::script_error("Not implemented");
186  }
Exception type; when thrown in a JSAPI method, a javascript exception will be thrown.
Definition: JSExceptions.h:28