Removes a property.
Implements FB::JSAPI. Definition at line 211 of file NPObjectAPI.cpp. References FB::JSAPI::RemoveProperty(). Referenced by RemoveProperty(). 00212 { 00213 if (m_browser.expired()) 00214 return; 00215 00216 NpapiBrowserHostPtr browser(getHost()); 00217 if (!browser->isMainThread()) { 00218 return browser->CallOnMainThread(boost::bind((FB::RemovePropertyType)&JSAPI::RemoveProperty, this, propertyName)); 00219 } 00220 if (is_JSAPI) { 00221 FB::JSAPIPtr tmp = inner.lock(); 00222 if (tmp) 00223 return tmp->RemoveProperty(propertyName); 00224 else 00225 return /*false*/; 00226 } 00227 if (!browser->RemoveProperty(obj, browser->GetStringIdentifier(propertyName.c_str()))) { 00228 throw script_error(propertyName.c_str()); 00229 } 00230 }
Here is the call graph for this function:
![]() |
Generated on 25 May 2013 for FireBreath by
1.6.1
Labels

