FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
public void FB::JSAPIAuto::setReserved ( const std::string &  name)
inlinevirtual

Prevents attributes from being created from JavaScript with the specified name.

This is generally only useful to prevent your plugin from overriding some attribute on the object tag it resides in in the DOM. Attributes such as "id", "name", and "width" are marked as reserved by default.

Parameters
nameThe name of the attribute to mark as reserved
Returns
void
Since
1.4a3
See Also
registerAttribute

Definition at line 150 of file JSAPIAuto.h.

151  {
152  m_reservedMembers.insert(name);
153  }