FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
FB::variant FB::JSAPIProxy::GetProperty ( const std::wstring &  propertyName)
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 183 of file JSAPIProxy.cpp.

184 {
185  if (propertyName == L"expired")
186  return isExpired();
187  FB::scoped_zonelock _l(getAPI(), getZone());
188  return getAPI()->GetProperty(propertyName);
189 }
Provides a helper class for locking.
Definition: JSAPI.h:548
bool isExpired() const
Returns true if the weak_ptr this contains doesn't point to anything.
Definition: JSAPIProxy.h:97
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238