FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIProxy::SetProperty ( const std::string &  propertyName,
const variant value 

Sets the value of a property.

propertyNameName of the property.
valueThe value.

Implements FB::JSAPI.

Definition at line 211 of file JSAPIProxy.cpp.

212 {
213  FB::scoped_zonelock _l(getAPI(), getZone());
214  getAPI()->SetProperty(propertyName, value);
215 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238