Home
last modified time | relevance | path

Searched refs:ExecuteScript (Results 1 – 25 of 88) sorted by relevance

1234

/external/chromium_org/chrome/renderer/translate/
Dtranslate_script_browsertest.cc84 ExecuteScript(script); in InjectElementLibrary()
87 void ExecuteScript(const std::string& script) { in ExecuteScript() function in TranslateScriptBrowserTest
153 ExecuteScript(kThrowInitializationError); in TEST_F()
168 ExecuteScript(kTranslate); in TEST_F()
176 ExecuteScript(kThrowUnexpectedScriptError); in TEST_F()
183 ExecuteScript(kTranslate); in TEST_F()
192 ExecuteScript(kCallbackReturnBooleanError); in TEST_F()
199 ExecuteScript(kTranslate); in TEST_F()
208 ExecuteScript(kCallbackReturnNumberError); in TEST_F()
209 ExecuteScript(GenerateSetCallbackErrorCodeScript(1)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/password_manager/
Dpassword_manager_browsertest.cc164 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
180 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
197 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
217 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
227 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), in IN_PROC_BROWSER_TEST_F()
250 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill)); in IN_PROC_BROWSER_TEST_F()
251 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), navigate_frame)); in IN_PROC_BROWSER_TEST_F()
274 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), navigate_frame)); in IN_PROC_BROWSER_TEST_F()
275 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
298 ASSERT_TRUE(content::ExecuteScript(RenderViewHost(), fill_and_submit)); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/test/chromedriver/test/
Drun_py_tests.py258 1, self._driver.ExecuteScript('window.name = "oldWindow"; return 1;'))
272 self.assertEquals(1, self._driver.ExecuteScript('return 1'))
273 self.assertEquals(None, self._driver.ExecuteScript(''))
278 stuff = self._driver.ExecuteScript(script)['stuff']
281 'bc', self._driver.ExecuteScript(script, stuff[0], stuff[1]))
285 self._driver.ExecuteScript, '{{{')
301 self._driver.ExecuteScript(
306 self.assertTrue(self._driver.ExecuteScript('return window.top == window'))
308 self.assertTrue(self._driver.ExecuteScript('return window.top != window'))
310 self.assertTrue(self._driver.ExecuteScript('return window.top == window'))
[all …]
/external/chromium_org/chrome/browser/
Dloadtimes_extension_bindings_browsertest.cc23 ASSERT_TRUE(content::ExecuteScript( in CompareBeforeAndAfter()
53 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
55 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
57 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
70 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
73 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ppapi/tests/
Dtest_instance_deprecated.cc71 pp::Var ret = test_instance_->instance()->ExecuteScript( in ~InstanceSO()
137 pp::Var ret = instance()->ExecuteScript( in ~TestInstance()
142 RUN_TEST(ExecuteScript, filter); in RunTests()
163 pp::Var ret = instance_->ExecuteScript( in TestExecuteScript()
171 ret = instance_->ExecuteScript( in TestExecuteScript()
178 ret = instance_->ExecuteScript( in TestExecuteScript()
189 ret = instance_->ExecuteScript("document.doesntExist()", &exception); in TestExecuteScript()
263 pp::Var result = instance()->ExecuteScript( in TestSetupExecuteScriptAtInstanceShutdown()
278 pp::Var result = instance()->ExecuteScript( in TestExecuteScriptAtInstanceShutdown()
282 instance()->ExecuteScript("sessionStorage.removeItem('instance_destroyed');"); in TestExecuteScriptAtInstanceShutdown()
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
Ddeclarative_content_apitest.cc118 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
123 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
124 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
129 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
133 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
134 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
199 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
202 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
224 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
225 ASSERT_TRUE(content::ExecuteScript(tab, std::string())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ppapi/thunk/
Dppb_instance_private_thunk.cc36 struct PP_Var ExecuteScript(PP_Instance instance, in ExecuteScript() function
43 return enter.functions()->ExecuteScript(instance, script, exception); in ExecuteScript()
49 &ExecuteScript
/external/chromium_org/chrome/browser/chromeos/input_method/
Dinput_method_engine_browsertests.cc400 ASSERT_TRUE(content::ExecuteScript(host->host_contents(), in IN_PROC_BROWSER_TEST_P()
426 ASSERT_TRUE(content::ExecuteScript(host->host_contents(), in IN_PROC_BROWSER_TEST_P()
458 ASSERT_TRUE(content::ExecuteScript(host->host_contents(), in IN_PROC_BROWSER_TEST_P()
478 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
497 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
522 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
551 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
583 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
602 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_P()
645 ASSERT_TRUE(content::ExecuteScript(host->host_contents(), in IN_PROC_BROWSER_TEST_P()
[all …]
Dtextinput_browsertest.cc126 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
157 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
164 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
186 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
193 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
218 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
225 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
Dtextinput_surroundingtext_browsertest.cc31 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
68 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/test/remoting/
Dremote_desktop_browsertest.cc68 ExecuteScript( in HtmlElementVisible()
292 ExecuteScript( in Approve()
322 ExecuteScript("remoting.showMe2MeUiAndSave();"); in ExpandMe2Me()
409 ExecuteScript( in SimulateMouseClickAt()
557 void RemoteDesktopBrowserTest::ExecuteScript(const std::string& script) { in ExecuteScript() function in remoting::RemoteDesktopBrowserTest
558 ASSERT_TRUE(content::ExecuteScript(active_web_contents(), script)); in ExecuteScript()
569 ExecuteScript(script); in ExecuteScriptAndWaitForAnyPageLoad()
613 ExecuteScript("document.getElementById(\"" + name + "\").click();"); in ClickOnControl()
631 ExecuteScript( in EnterPin()
/external/chromium_org/content/test/plugin/
Dplugin_windowless_test.cc86 ExecuteScript( in New()
156 ExecuteScript(browser, id(), "DeletePluginWithinScript();", NULL); in HandleEvent()
160 ExecuteScript( in HandleEvent()
168 NPError WindowlessPluginTest::ExecuteScript(NPNetscapeFuncs* browser, NPP id, in ExecuteScript() function in NPAPIClient::WindowlessPluginTest
200 ExecuteScript(browser, id(), "ResizePluginWithinScript();", NULL); in ExecuteScriptResizeInPaint()
208 ExecuteScript(browser, g_other_instance->id(), "TestCallback();", NULL); in MultipleInstanceSyncCalls()
/external/chromium_org/chrome/browser/extensions/
Disolated_app_browsertest.cc28 using content::ExecuteScript;
191 EXPECT_TRUE(ExecuteScript(tab0, script)); in IN_PROC_BROWSER_TEST_F()
250 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
252 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
254 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
361 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
363 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
365 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
550 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
557 ASSERT_TRUE(ExecuteScript( in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/system/
Dinput_device_settings.cc66 void ExecuteScript(int argc, ...) { in ExecuteScript() function
89 ExecuteScript( in SetPointerSensitivity()
94 ExecuteScript(3, kTpControl, control, enabled ? "on" : "off"); in SetTPControl()
185 ExecuteScript(3, kMouseControl, "swap_left_right", right ? "1" : "0"); in SetPrimaryButtonRight()
/external/chromium_org/ppapi/cpp/private/
Dinstance_private.cc65 VarPrivate InstancePrivate::ExecuteScript(const Var& script, Var* exception) { in ExecuteScript() function in pp::InstancePrivate
69 get_interface<PPB_Instance_Private>()->ExecuteScript( in ExecuteScript()
Dinstance_private.h48 VarPrivate ExecuteScript(const Var& script, Var* exception = NULL);
/external/chromium_org/chrome/browser/apps/
Dweb_view_browsertest.cc457 EXPECT_TRUE(content::ExecuteScript(web_contents, script)); in ExecuteScriptWaitForTitle()
530 if (!content::ExecuteScript( in TestHelper()
585 content::ExecuteScript( in MediaAccessAPIDenyTestHelper()
927 EXPECT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
942 EXPECT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
1003 EXPECT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
1093 EXPECT_TRUE(content::ExecuteScript(cookie_contents1, cookie_script1)); in IN_PROC_BROWSER_TEST_F()
1094 EXPECT_TRUE(content::ExecuteScript(cookie_contents2, cookie_script2)); in IN_PROC_BROWSER_TEST_F()
1163 EXPECT_TRUE(content::ExecuteScript(cookie_contents1, cookie_script1)); in IN_PROC_BROWSER_TEST_F()
1164 EXPECT_TRUE(content::ExecuteScript(named_partition_contents1, in IN_PROC_BROWSER_TEST_F()
[all …]
Dweb_view_interactive_browsertest.cc181 if (!content::ExecuteScript( in RunAppHelper()
331 EXPECT_TRUE(content::ExecuteScript(guest_web_contents(), in PopupTestHelper()
398 EXPECT_TRUE(content::ExecuteScript(embedder_web_contents_, in DragTestStep2()
662 EXPECT_TRUE(content::ExecuteScript(embedder_web_contents(), in IN_PROC_BROWSER_TEST_F()
720 EXPECT_TRUE(content::ExecuteScript(embedder_web_contents_, in IN_PROC_BROWSER_TEST_F()
754 EXPECT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/accessibility/
Daccessibility_win_browsertest.cc36 void ExecuteScript(wstring script);
213 void AccessibilityWinBrowserTest::ExecuteScript(wstring script) { in ExecuteScript() function in __anon517de8710111::AccessibilityWinBrowserTest
409 ExecuteScript(L"document.body.children[0].focus()"); in IN_PROC_BROWSER_TEST_F()
419 ExecuteScript( in IN_PROC_BROWSER_TEST_F()
451 ExecuteScript(L"document.body.children[0].checked=true"); in IN_PROC_BROWSER_TEST_F()
478 ExecuteScript(L"document.body.innerHTML='<b>new text</b>'"); in IN_PROC_BROWSER_TEST_F()
504 ExecuteScript(L"document.body.children[0].style.visibility='visible'"); in IN_PROC_BROWSER_TEST_F()
535 ExecuteScript(L"document.body.children[0].focus()"); in IN_PROC_BROWSER_TEST_F()
582 ExecuteScript(L"document.body.children[0].value='new value'"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/browser/accessibility/
Daccessibility_win_browsertest.cc136 void ExecuteScript(const std::wstring& script);
181 void AccessibilityWinBrowserTest::ExecuteScript(const std::wstring& script) { in ExecuteScript() function in content::__anonff29d3150111::AccessibilityWinBrowserTest
508 ExecuteScript(L"document.body.children[0].focus()"); in IN_PROC_BROWSER_TEST_F()
520 ExecuteScript( in IN_PROC_BROWSER_TEST_F()
553 ExecuteScript(L"document.body.children[0].checked=true"); in IN_PROC_BROWSER_TEST_F()
581 ExecuteScript(L"document.body.innerHTML='<b>new text</b>'"); in IN_PROC_BROWSER_TEST_F()
606 ExecuteScript(L"document.body.children[0].style.visibility='visible'"); in IN_PROC_BROWSER_TEST_F()
639 ExecuteScript(L"document.body.children[0].focus()"); in IN_PROC_BROWSER_TEST_F()
689 ExecuteScript(L"document.body.children[0].value='new value'"); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ppapi/c/private/
Dppb_instance_private.h95 struct PP_Var (*ExecuteScript)(PP_Instance instance, member
/external/chromium_org/chrome/browser/chromeos/extensions/
Dvirtual_keyboard_browsertest.cc63 ASSERT_TRUE(content::ExecuteScript(rvh, utf8_content_)); in RunTest()
160 EXPECT_TRUE(content::ExecuteScript(keyboard_rvh, script)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/autofill/
Dautofill_interactive_uitest.cc270 ASSERT_TRUE(content::ExecuteScript(GetRenderViewHost(), js)); in PopulateForm()
766 ASSERT_TRUE(content::ExecuteScript(GetRenderViewHost(), "BuildForm();")); in IN_PROC_BROWSER_TEST_F()
941 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
1061 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
1086 ASSERT_TRUE(content::ExecuteScript( in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_test_utils.cc161 bool InstantTestBase::ExecuteScript(const std::string& script) { in ExecuteScript() function in InstantTestBase
166 return content::ExecuteScript(instant_service->GetNTPContents(), script); in ExecuteScript()
/external/chromium_org/ppapi/api/private/
Dppb_instance_private.idl60 * ExecuteScript is a pointer to a function that executes the given
77 PP_Var ExecuteScript([in] PP_Instance instance,

1234