Home
last modified time | relevance | path

Searched refs:ExecuteJavascript (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/content/browser/media/
Dwebrtc_browsertest.cc137 bool ExecuteJavascript(const std::string& javascript) { in ExecuteJavascript() function in content::WebrtcBrowserTest
157 EXPECT_TRUE(ExecuteJavascript( in IN_PROC_BROWSER_TEST_F()
169 EXPECT_TRUE(ExecuteJavascript(base::StringPrintf( in IN_PROC_BROWSER_TEST_F()
181 EXPECT_TRUE(ExecuteJavascript("getUserMediaAndClone();")); in IN_PROC_BROWSER_TEST_F()
202 EXPECT_TRUE(ExecuteJavascript("call({video: true});")); in IN_PROC_BROWSER_TEST_F()
215 EXPECT_TRUE(ExecuteJavascript(base::StringPrintf( in IN_PROC_BROWSER_TEST_F()
249 EXPECT_TRUE(ExecuteJavascript("call({video: true, audio: true});")); in IN_PROC_BROWSER_TEST_F()
260 ExecuteJavascript("callAndSendDtmf('123,abc');")); in IN_PROC_BROWSER_TEST_F()
272 EXPECT_TRUE(ExecuteJavascript(kJavascript)); in IN_PROC_BROWSER_TEST_F()
293 EXPECT_TRUE(ExecuteJavascript( in IN_PROC_BROWSER_TEST_F()
[all …]
Dwebrtc_internals_browsertest.cc143 bool ExecuteJavascript(const string& javascript) { in ExecuteJavascript() function in content::MAYBE_WebRTCInternalsBrowserTest
158 ASSERT_TRUE(ExecuteJavascript("addPeerConnection(" + ss.str() + ");")); in ExecuteAddPeerConnectionJs()
166 ASSERT_TRUE(ExecuteJavascript("removePeerConnection(" + ss.str() + ");")); in ExecuteRemovePeerConnectionJs()
217 ASSERT_TRUE(ExecuteJavascript("updatePeerConnection(" + ss.str() + ")")); in ExecuteAndVerifyUpdatePeerConnection()
238 ASSERT_TRUE(ExecuteJavascript("addStats(" + ss.str() + ")")); in ExecuteAndVerifyAddStats()
440 EXPECT_TRUE(ExecuteJavascript("updateAllPeerConnections(" + pc_array + ");")); in IN_PROC_BROWSER_TEST_F()
596 ASSERT_TRUE(ExecuteJavascript("call({video:true});")); in IN_PROC_BROWSER_TEST_F()
685 EXPECT_TRUE(ExecuteJavascript("updateAllPeerConnections(" + pc_array + ");")); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/test/functional/
Dyoutube.py52 return self._pyauto.ExecuteJavascript(js)
58 return self._pyauto.ExecuteJavascript(
94 total_bytes = self._pyauto.ExecuteJavascript("""
103 loaded_bytes = self.ExecuteJavascript("""
112 current_time = self.ExecuteJavascript("""
120 self._pyauto.ExecuteJavascript("""
127 self._pyauto.ExecuteJavascript("""
134 self.ExecuteJavascript("""
225 self.ExecuteJavascript("""
239 resolutions = self.ExecuteJavascript("""
[all …]
Dnacl_sdk.py315 lambda: self.ExecuteJavascript(js_code, tab_index),
347 self.ExecuteJavascript(js_code, tab_index)
373 self.ExecuteJavascript(js_code, tab_index)
384 self.ExecuteJavascript(js_code, tab_index)
392 self.ExecuteJavascript(js_code, tab_index)
434 self.ExecuteJavascript(js_code, tab_index)
442 self.ExecuteJavascript(js_code, tab_index)
451 self.ExecuteJavascript(js_code, tab_index)
462 self.ExecuteJavascript(js_code, tab_index)
470 self.ExecuteJavascript(js_code, tab_index)
[all …]
Dnetflix.py52 self._pyauto.assertEqual(self._pyauto.ExecuteJavascript(login_js), 'ok',
65 return int(self._pyauto.ExecuteJavascript(js, tab_index=tab_index,
74 return int(self._pyauto.ExecuteJavascript(js, tab_index=tab_index,
98 time = self._pyauto.ExecuteJavascript("""
128 lambda: self._pyauto.ExecuteJavascript("""
192 title_length = self.ExecuteJavascript("""
Dpasswords.py77 self.ExecuteJavascript(click_js, tab_index, window_index)
89 lambda: self.ExecuteJavascript(js_template % self.USERNAME_ELEM,
91 self.ExecuteJavascript(js_template % self.PASSWORD_ELEM,
287 self.ExecuteJavascript(script, 0, 0)
334 self.ExecuteJavascript(clear_username_field, 0, 0)
335 self.ExecuteJavascript(set_focus, 0, 0)
Dperf.py815 lambda: 'Score:' in self.ExecuteJavascript(js_done, tab_index=1),
825 results = eval(self.ExecuteJavascript(js_get_results, tab_index=1))
868 lambda: self.ExecuteJavascript(js_is_done, tab_index=1),
877 results = self.ExecuteJavascript(js_get_results, tab_index=1) + '<br>'
915 lambda: self.ExecuteJavascript(js_is_ready, tab_index=1),
923 self.ExecuteJavascript(js_run, tab_index=1)
931 lambda: 'Total' in self.ExecuteJavascript(js_is_done, tab_index=1),
955 results = eval(self.ExecuteJavascript(js_get_results, tab_index=1))
1042 return self.ExecuteJavascript(js, tab_index=1)
1071 return self.ExecuteJavascript(js, tab_index=1)
[all …]
Dchromeos_time.py55 ret = self.ExecuteJavascript("""
73 self.ExecuteJavascript("""
Dtest_pyauto.py64 lambda: self.ExecuteJavascript('invalid js should timeout'))
Dgpu.py37 return self.ExecuteJavascript(js)
Dexecute_javascript.py25 v = self.ExecuteJavascript('window.domAutomationController.send(' +
/external/chromium_org/chrome/browser/media/
Dchrome_webrtc_typing_detection_browsertest.cc71 EXPECT_EQ("ok-added", ExecuteJavascript( in AddAudioFile()
76 EXPECT_EQ("ok-playing", ExecuteJavascript("playAudioFile()", tab_contents)); in PlayAudioFile()
81 EXPECT_EQ("ok-mixed-in", ExecuteJavascript( in MixLocalStreamWithPreviouslyLoadedAudioFile()
88 ExecuteJavascript("negotiateCall()", from_tab)); in EstablishCall()
98 EXPECT_EQ("ok-call-hung-up", ExecuteJavascript("hangUp()", from_tab)); in HangUp()
134 ExecuteJavascript("preparePeerConnection()", left_tab)); in IN_PROC_BROWSER_TEST_F()
Dchrome_webrtc_browsertest.cc69 ExecuteJavascript("preparePeerConnection()", from_tab)); in EstablishCall()
71 ExecuteJavascript("addLocalStream()", from_tab)); in EstablishCall()
73 ExecuteJavascript("negotiateCall()", from_tab)); in EstablishCall()
87 EXPECT_EQ("ok-started", ExecuteJavascript(javascript, tab_contents)); in StartDetectingVideo()
101 EXPECT_EQ("ok-call-hung-up", ExecuteJavascript("hangUp()", from_tab)); in HangUp()
111 return ExecuteJavascript("toggleLocalStream(" in ToggleLocalVideoTrack()
118 return ExecuteJavascript("toggleRemoteStream(" in ToggleRemoteVideoTrack()
149 std::string all_stats_json = ExecuteJavascript( in GetWebrtcInternalsData()
Dchrome_webrtc_audio_quality_browsertest.cc120 EXPECT_EQ("ok-added", ExecuteJavascript( in AddAudioFile()
125 EXPECT_EQ("ok-playing", ExecuteJavascript("playAudioFile()", tab_contents)); in PlayAudioFile()
131 ExecuteJavascript("negotiateCall()", from_tab)); in EstablishCall()
141 EXPECT_EQ("ok-call-hung-up", ExecuteJavascript("hangUp()", from_tab)); in HangUp()
410 ExecuteJavascript("preparePeerConnection()", left_tab)); in IN_PROC_BROWSER_TEST_F()
Dchrome_webrtc_video_quality_browsertest.cc176 ExecuteJavascript("preparePeerConnection()", from_tab)); in EstablishCall()
177 EXPECT_EQ("ok-added", ExecuteJavascript("addLocalStream()", from_tab)); in EstablishCall()
178 EXPECT_EQ("ok-negotiating", ExecuteJavascript("negotiateCall()", from_tab)); in EstablishCall()
188 EXPECT_EQ("ok-call-hung-up", ExecuteJavascript("hangUp()", from_tab)); in HangUp()
Dwebrtc_browsertest_base.cc196 std::string WebRtcTestBase::ExecuteJavascript( in ExecuteJavascript() function in WebRtcTestBase
213 EXPECT_EQ("ok-connected", ExecuteJavascript(javascript, tab_contents)); in ConnectToPeerConnectionServer()
Dwebrtc_browsertest_base.h57 std::string ExecuteJavascript(const std::string& javascript,
/external/chromium_org/content/browser/webui/
Dweb_ui_impl.cc148 ExecuteJavascript(javascript); in CallJavascriptFunction()
156 ExecuteJavascript(GetJavascriptCall(function_name, args)); in CallJavascriptFunction()
166 ExecuteJavascript(GetJavascriptCall(function_name, args)); in CallJavascriptFunction()
177 ExecuteJavascript(GetJavascriptCall(function_name, args)); in CallJavascriptFunction()
192 ExecuteJavascript(GetJavascriptCall(function_name, args)); in CallJavascriptFunction()
199 ExecuteJavascript(GetJavascriptCall(function_name, args)); in CallJavascriptFunction()
233 void WebUIImpl::ExecuteJavascript(const base::string16& javascript) { in ExecuteJavascript() function in content::WebUIImpl
/external/chromium/chrome/browser/ui/webui/
Dsync_internals_ui_unittest.cc38 MOCK_METHOD1(ExecuteJavascript, void(const string16&));
142 ExecuteJavascript(ASCIIToUTF16("testMessage(5,true);"))); in TEST_F()
156 ExecuteJavascript(ASCIIToUTF16("testMessage(5,true);"))); in TEST_F()
207 ExecuteJavascript(ASCIIToUTF16(kAboutInfoCall))); in TEST_F()
221 ExecuteJavascript(ASCIIToUTF16(kAboutInfoCall))); in TEST_F()
/external/chromium_org/chrome/test/functional/media/
Dmedia_jerky.py178 self.assertTrue(self.ExecuteJavascript(
191 self.assertTrue(self.ExecuteJavascript("startTest('%s');" % file_url))
198 self.assertTrue(self.ExecuteJavascript('stopTest();'))
Daudio_latency_perf.py35 self.assertTrue(self.ExecuteJavascript('startTest();'))
Dmixed_audio_latency_perf.py36 self.assertTrue(self.ExecuteJavascript('startTest();'))
Dmedia_basic_playback.py59 self.assertTrue(self.ExecuteJavascript("startTest('%s');" % media))
Daudio_playback_perf.py74 self.assertTrue(self.ExecuteJavascript("startTest('%s');" % _TEST_AUDIO))
/external/chromium_org/chrome/test/functional/tracing/
Dtracer.py40 return self._browser.ExecuteJavascript(

12