Lines Matching refs:propertyName
51 static JSValueRef propertyValue(JSContextRef context, JSObjectRef object, const char* propertyName)
55 JSRetainPtr<JSStringRef> propertyNameString(Adopt, JSStringCreateWithUTF8CString(propertyName));
59 static double propertyValueDouble(JSContextRef context, JSObjectRef object, const char* propertyName)
61 JSValueRef value = propertyValue(context, object, propertyName);
67 static int propertyValueInt(JSContextRef context, JSObjectRef object, const char* propertyName)
69 return static_cast<int>(propertyValueDouble(context, object, propertyName));
72 static double numericWindowPropertyValue(WKBundleFrameRef frame, const char* propertyName)
75 return propertyValueDouble(context, JSContextGetGlobalObject(context), propertyName);