Home
last modified time | relevance | path

Searched refs:javascript (Results 1 – 25 of 130) sorted by relevance

123456

/external/chromium_org/chrome/browser/media/
Dwebrtc_browsertest_common.cc21 const std::string javascript = base::StringPrintf( in SleepInJavascript() local
28 tab_contents, javascript, &result); in SleepInJavascript()
32 bool PollingWaitUntil(const std::string& javascript, in PollingWaitUntil() argument
35 return PollingWaitUntil(javascript, evaluates_to, tab_contents, in PollingWaitUntil()
39 bool PollingWaitUntil(const std::string& javascript, in PollingWaitUntil() argument
49 if (!content::ExecuteScriptAndExtractString(tab_contents, javascript, in PollingWaitUntil()
51 LOG(ERROR) << "Failed to execute javascript " << javascript; in PollingWaitUntil()
65 LOG(ERROR) << "Timed out while waiting for " << javascript << in PollingWaitUntil()
Dchrome_webrtc_apprtc_browsertest.cc106 std::string javascript = in LocalApprtcInstanceIsUp() local
109 if (!content::ExecuteScriptAndExtractString(tab_contents, javascript, in LocalApprtcInstanceIsUp()
118 std::string javascript = in WaitForCallToComeUp() local
120 return PollingWaitUntil(javascript, "1", tab_contents); in WaitForCallToComeUp()
Dwebrtc_browsertest_common.h26 bool PollingWaitUntil(const std::string& javascript,
29 bool PollingWaitUntil(const std::string& javascript,
Dwebrtc_browsertest_base.cc197 const std::string& javascript, in ExecuteJavascript() argument
201 tab_contents, javascript, &result)); in ExecuteJavascript()
210 std::string javascript = base::StringPrintf( in ConnectToPeerConnectionServer() local
213 EXPECT_EQ("ok-connected", ExecuteJavascript(javascript, tab_contents)); in ConnectToPeerConnectionServer()
/external/chromium_org/content/test/plugin/
Dplugin_execute_stream_javascript.cc39 std::string javascript("javascript:"); in Write() local
40 javascript.append(static_cast<char*>(buffer), len); in Write()
41 size_t js_length = javascript.length(); in Write()
47 NPString script_string = { javascript.c_str(), in Write()
/external/chromium/webkit/glue/
Dcpp_bound_class_unittest.cc101 void ExecuteJavaScript(const std::string& javascript) { in ExecuteJavaScript() argument
105 html.append(javascript); in ExecuteJavaScript()
115 void CheckJavaScriptSuccess(const std::string& javascript) { in CheckJavaScriptSuccess() argument
116 ExecuteJavaScript(javascript); in CheckJavaScriptSuccess()
123 void CheckJavaScriptFailure(const std::string& javascript) { in CheckJavaScriptFailure() argument
124 ExecuteJavaScript(javascript); in CheckJavaScriptFailure()
/external/markdown/tests/safe_mode/
Dunsafe_urls.txt3 [link](javascript:alert%28'Hello%20world!'%29)
15 ![img](javascript:alert%29'XSS'%29)
19 [ref]: javascript:alert%29'XSS'%29
20 [imgref]: javascript:alert%29'XSS'%29
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/
DRequiredThisAnnotationCheck.java3 import com.google.javascript.rhino.head.Token;
4 import com.google.javascript.rhino.head.ast.Assignment;
5 import com.google.javascript.rhino.head.ast.AstNode;
6 import com.google.javascript.rhino.head.ast.FunctionNode;
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
DFileCheckerCallable.java3 import com.google.javascript.rhino.head.CompilerEnvirons;
4 import com.google.javascript.rhino.head.IRFactory;
5 import com.google.javascript.rhino.head.ast.AstNode;
6 import com.google.javascript.rhino.head.ast.AstRoot;
DDoDidVisitorAdapter.java3 import com.google.javascript.rhino.head.ast.AstNode;
4 import com.google.javascript.rhino.head.ast.NodeVisitor;
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/
DREADME.dygraph.txt27 <script type="text/javascript" src="dygraph-combined.js"></script>
31 <script type="text/javascript">
50 rgbcolor: http://www.phpied.com/rgb-color-parser-in-javascript/
51 strftime: http://tech.bluesmoon.info/2008/04/strftime-in-javascript.html
/external/chromium/chrome/browser/ui/webui/
Dgpu_internals_ui.cc389 std::wstring javascript; in LoadTraceFileComplete() local
390 javascript += L"tracingController.onLoadTraceFileComplete("; in LoadTraceFileComplete()
391 javascript += UTF8ToWide(*file_contents); in LoadTraceFileComplete()
392 javascript += L");"; in LoadTraceFileComplete()
395 WideToUTF16Hack(javascript)); in LoadTraceFileComplete()
425 std::wstring javascript; in SaveTraceFileComplete() local
618 std::wstring javascript; in OnTraceDataCollected() local
619 javascript += L"tracingController.onTraceDataCollected("; in OnTraceDataCollected()
620 javascript += UTF8ToWide(json_events); in OnTraceDataCollected()
621 javascript += L");"; in OnTraceDataCollected()
[all …]
/external/chromium_org/chrome/browser/ui/webui/options/
Dpreferences_browsertest.cc330 std::stringstream javascript; in SetupJavaScriptTestEnvironment() local
331 javascript << "var testEnv = new TestEnv();"; in SetupJavaScriptTestEnvironment()
334 javascript << "testEnv.addPref('" << name->c_str() << "');"; in SetupJavaScriptTestEnvironment()
335 javascript << "testEnv.setupAndReply();"; in SetupJavaScriptTestEnvironment()
340 render_view_host_, javascript.str(), observed_json)); in SetupJavaScriptTestEnvironment()
349 std::stringstream javascript; in SetPref() local
350 javascript << "testEnv.runAndReply(function() {" in SetPref()
357 render_view_host_, javascript.str(), observed_json)); in SetPref()
384 std::stringstream javascript; in VerifyClearPref() local
385 javascript << "testEnv.runAndReply(function() {" in VerifyClearPref()
[all …]
Doptions_ui_browsertest.cc101 const char javascript[] = in IN_PROC_BROWSER_TEST_F() local
107 contents, javascript, &profiles)); in IN_PROC_BROWSER_TEST_F()
127 contents, javascript, &profiles)); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/cocoa/applescript/examples/
Dexecute_javascript.applescript5 -- This script execute a string of javascript code.
8 execute javascript "alert('Hello World')"
/external/chromium_org/chrome/browser/ui/cocoa/applescript/examples/
Dexecute_javascript.applescript5 -- This script execute a string of javascript code.
8 execute javascript "alert('Hello World')"
/external/chromium_org/content/browser/webui/
Dweb_ui_impl.cc147 base::string16 javascript = ASCIIToUTF16(function_name + "();"); in CallJavascriptFunction() local
148 ExecuteJavascript(javascript); in CallJavascriptFunction()
233 void WebUIImpl::ExecuteJavascript(const base::string16& javascript) { in ExecuteJavascript() argument
236 ASCIIToUTF16(frame_xpath_), javascript); in ExecuteJavascript()
/external/chromium/chrome/browser/remoting/
Dsetup_flow.cc83 std::wstring javascript = in DoStart() local
85 ExecuteJavascriptInIFrame(kErrorIframeXPath, javascript); in DoStart()
109 std::wstring javascript = in DoStart() local
111 ExecuteJavascriptInIFrame(kDoneIframeXPath, javascript); in DoStart()
/external/chromium/chrome/browser/printing/cloud_print/
Dcloud_print_setup_flow.cc278 string16 javascript = UTF8ToUTF16("cloudprint.showGaiaLogin(" + json + ");"); in ShowGaiaLogin() local
280 ExecuteJavascriptInIFrame(SetupIframeXPath(), javascript); in ShowGaiaLogin()
305 string16 javascript(ASCIIToUTF16("cloudprint.setMessage('") + message + in ShowSetupDone() local
307 ExecuteJavascriptInIFrame(DoneIframeXPath(), javascript); in ShowSetupDone()
/external/chromium_org/content/renderer/
Dcpp_bound_class_unittest.cc98 void CheckJavaScriptFailure(const std::string& javascript) { in CheckJavaScriptFailure() argument
99 ExecuteJavaScript(javascript.c_str()); in CheckJavaScriptFailure()
/external/chromium/net/data/proxy_script_fetcher_unittest/
D500.pac.mock-http-headers2 Content-Type: application/x-javascript-config
D404.pac.mock-http-headers2 Content-Type: application/x-javascript-config
/external/chromium_org/net/data/proxy_script_fetcher_unittest/
D404.pac.mock-http-headers2 Content-Type: application/x-javascript-config
D500.pac.mock-http-headers2 Content-Type: application/x-javascript-config
Dutf16be_pac.mock-http-headers2 Content-Type: text/javascript; charset=UTF16-BE

123456