FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void JSAPISimple::RemoveProperty ( const std::string &  propertyName)
virtual

Removes a property.

Parameters
propertyNameName of the property.
Since
1.5

Implements FB::JSAPI.

Definition at line 147 of file JSAPISimple.cpp.

148 {
149  if (!m_valid)
150  throw object_invalidated();
151 
152  m_propertyMap.erase(propertyName);
153 }
Thrown by a JSAPI object when a call is made on it after the object has been invalidated.
Definition: JSExceptions.h:69