Home | History | Annotate | Download | only in WebView

Lines Matching full:jsvalue

175 #import <runtime/JSValue.h>
4617 static NSAppleEventDescriptor* aeDescFromJSValue(ExecState* exec, JSValue jsValue)
4620 if (jsValue.isBoolean())
4621 return [NSAppleEventDescriptor descriptorWithBoolean:jsValue.getBoolean()];
4622 if (jsValue.isString())
4623 return [NSAppleEventDescriptor descriptorWithString:ustringToString(jsValue.getString(exec))];
4624 if (jsValue.isNumber()) {
4625 double value = jsValue.uncheckedGetNumber();
4631 if (jsValue.isObject()) {
4632 JSObject* object = jsValue.getObject();
4658 JSValue primitive = object->toPrimitive(exec);
4665 if (jsValue.isUndefined())
4667 ASSERT(jsValue.isNull());
4678 JSValue result = coreFrame->script()->executeScript(script, true).jsValue();
6334 JSValue jsValue = toJS(exec, value);
6335 if (!jsValue.inherits(&JSElement::s_info))
6337 JSElement* jsElement = static_cast<JSElement*>(asObject(jsValue));
6353 JSValue jsValue = toJS(exec, value);
6354 if (!jsValue.inherits(&JSDocument::s_info))
6356 JSDocument* jsDocument = static_cast<JSDocument*>(asObject(jsValue));