FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
FB::variant FB::JSAPIAuto::Construct ( const std::vector< variant > &  args)
virtual

Called by the browser to construct the JSAPI object.

var x = new MyJSAPIObject();
Parameters
argsThe arguments.
Returns
result of constructor call, the new object
Since
1.5

Implements FB::JSAPI.

Definition at line 354 of file JSAPIAuto.cpp.

355 {
356  boost::recursive_mutex::scoped_lock lock(m_zoneMutex);
357  if(!m_valid)
358  throw object_invalidated();
359 
360  throw invalid_member("constructor");
361 }