FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
bool FB::JSAPIProxy::HasProperty ( const std::wstring &  propertyName) const
virtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Reimplemented from FB::JSAPI.

Definition at line 161 of file JSAPIProxy.cpp.

162 {
163  if (propertyName == L"expired")
164  return true;
165  FB::scoped_zonelock _l(getAPI(), getZone());
166  return getAPI()->HasProperty(propertyName);
167 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238