Home | History | Annotate | Download | only in WebView

Lines Matching refs:script

3763 - (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
3768 // of WebKit we will strip the return so the script wont fail.
3770 NSRange returnStringRange = [script rangeOfString:@"return "];
3772 script = [script substringFromIndex:returnStringRange.location + returnStringRange.length];
3775 NSString *result = [[self mainFrame] _stringByEvaluatingJavaScriptFromString:script];
3776 // The only way stringByEvaluatingJavaScriptFromString can return nil is if the frame was removed by the script
3788 return coreFrame->script()->windowScriptObject();
4671 - (NSAppleEventDescriptor *)aeDescByEvaluatingJavaScriptFromString:(NSString *)script
4678 JSValue result = coreFrame->script()->executeScript(script, true).jsValue();
4682 return aeDescFromJSValue(coreFrame->script()->globalObject(mainThreadNormalWorld())->globalExec(), result);