const std::string &propertyName,
const JSObjectPtr& propertyObject)
{
- LogInfo("JSObjectSetProperty(" << context << ", \"" << propertyName << "\")");
+ LogInfo("Webkit:setting property --" << propertyName << "--");
//create name
JSStringRef name = JSStringCreateWithUTF8CString(propertyName.c_str());
//nothing to do -> no context
return;
}
- LogDebug("JSObjectDeleteProperty(" << context << ", \"" << propertyName << "\")");
+ LogDebug("Deleting property --" << propertyName << "--");
JSStringRef name = JSStringCreateWithUTF8CString(propertyName.c_str());
JSObjectDeleteProperty(
const std::string &name,
js_function_impl functionImplementation) const
{
- LogDebug("JSObjectMakeFunctionWithCallback(" << context << ", \"" << name << "\")");
+ LogDebug("Create JS function");
JSStringRef jsFunName = JSStringCreateWithUTF8CString(name.c_str());
JSObjectRef object = JSObjectMakeFunctionWithCallback(
JSGlobalContextRef context,
JSObjectDeclaration::ConstClassTemplate classTemplate) const
{
- LogDebug("JSObjectMake(" << context << ")");
+ LogDebug("Create JS object");
JSObjectRef object = JSObjectMake(
context,
static_cast<JSClassRef>(
JSGlobalContextRef context,
const std::string &interfaceName) const
{
- LogDebug("makeJSObjectBasedOnInterface(" << context << ", \"" << interfaceName << "\"");
+ LogDebug("Create JS object base on interface: " << interfaceName);
+ LogDebug("Context: " << context);
JSObjectPtr jsInterfaceObj = getJSObjectProperty(context,
getGlobalObject(
const std::string& name)
const
{
- LogDebug("getJSObjectProperty(" << ctx << ", \"" << name << "\")");
-
JSObjectRef frame_js = static_cast<JSObjectRef>(frame->getObject());
JSValueRef property = getPropertyObj(ctx, frame_js, name.c_str());