OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:evaluatejavascript
(Results
1 - 25
of
110
) sorted by null
1
2
3
4
5
/external/chromium_org/tools/telemetry/telemetry/page/actions/
play_unittest.py
28
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_PLAYING_CHECK))
29
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_PLAYING_CHECK))
32
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_PLAYING_CHECK))
33
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_PLAYING_CHECK))
41
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_PLAYING_CHECK))
42
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_PLAYING_CHECK))
45
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_PLAYING_CHECK))
46
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_PLAYING_CHECK))
54
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_PLAYING_CHECK))
55
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_PLAYING_CHECK)
[
all
...]
seek_unittest.py
28
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_SEEKED_CHECK))
29
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_SEEKED_CHECK))
37
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_SEEKED_CHECK))
38
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_SEEKED_CHECK))
41
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_SEEKED_CHECK))
42
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_SEEKED_CHECK))
50
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_SEEKED_CHECK))
51
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_SEEKED_CHECK))
54
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_SEEKED_CHECK))
55
self.assertTrue(self._tab.
EvaluateJavaScript
(AUDIO_1_SEEKED_CHECK)
[
all
...]
click_element_unittest.py
17
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
27
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
36
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
46
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
55
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
65
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
74
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
84
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
scroll_unittest.py
40
self._tab.
EvaluateJavaScript
("""document.documentElement.scrollTop
55
self.assertTrue(self._tab.
EvaluateJavaScript
('window.__didBeginMeasuring'))
56
self.assertTrue(self._tab.
EvaluateJavaScript
('window.__didEndMeasuring'))
59
scroll_position = self._tab.
EvaluateJavaScript
(
62
scroll_height = self._tab.
EvaluateJavaScript
('document.body.scrollHeight')
86
rect_top = int(self._tab.
EvaluateJavaScript
(
88
rect_height = int(self._tab.
EvaluateJavaScript
(
92
rect_left = int(self._tab.
EvaluateJavaScript
(
94
rect_width = int(self._tab.
EvaluateJavaScript
(
98
viewport_height = int(self._tab.
EvaluateJavaScript
('window.innerHeight')
[
all
...]
loop_unittest.py
28
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_LOOP_CHECK))
29
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_LOOP_CHECK))
37
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_LOOP_CHECK))
38
self.assertFalse(self._tab.
EvaluateJavaScript
(AUDIO_1_LOOP_CHECK))
41
self.assertTrue(self._tab.
EvaluateJavaScript
(VIDEO_1_LOOP_CHECK))
42
self.assertTrue(self._tab.
EvaluateJavaScript
(AUDIO_1_LOOP_CHECK))
51
self.assertFalse(self._tab.
EvaluateJavaScript
(VIDEO_1_LOOP_CHECK))
navigate_unittest.py
26
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
media_action.py
42
if tab.
EvaluateJavaScript
(
45
error = tab.
EvaluateJavaScript
('window.__error')
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
inspector_runtime_unittest.py
9
res = self._tab.
EvaluateJavaScript
('1+1')
14
lambda: self._tab.
EvaluateJavaScript
('fsdfsdfsf'))
19
self._tab.
EvaluateJavaScript
("""
inspector_page_unittest.py
26
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
38
self._tab.
EvaluateJavaScript
('document.location.pathname;'),
53
self.assertEquals(self._tab.
EvaluateJavaScript
('foo'), 'bar')
inspector_console_unittest.py
21
initial = self._tab.
EvaluateJavaScript
('window.__logCount')
23
current = self._tab.
EvaluateJavaScript
('window.__logCount')
/external/chromium_org/tools/perf/measurements/
image_decoding.py
32
return tab.
EvaluateJavaScript
('isDone')
43
min_iterations = tab.
EvaluateJavaScript
('minIterations')
53
tab.
EvaluateJavaScript
('averageLoadingTimeMs()'))
/external/chromium_org/tools/perf/benchmarks/
pica.py
15
result = int(tab.
EvaluateJavaScript
('__pica_load_time'))
/external/chromium_org/tools/perf/metrics/
loading.py
17
load_timings = tab.
EvaluateJavaScript
('window.performance.timing')
startup_metric.py
57
result = t.
EvaluateJavaScript
(
66
tab_title = t.
EvaluateJavaScript
('document.title')
70
is_foreground_tab = t.
EvaluateJavaScript
('!document.hidden')
113
result = tab.
EvaluateJavaScript
(get_histogram_js % histogram_name)
/external/chromium_org/tools/telemetry/telemetry/core/backends/
google_credentials_backend.py
10
return tab.
EvaluateJavaScript
(
facebook_credentials_backend.py
10
return tab.
EvaluateJavaScript
(
form_based_credentials_backend_unittest_base.py
106
tab.ExpectCall('
EvaluateJavaScript
', _).WillReturn(False)
107
tab.ExpectCall('
EvaluateJavaScript
', _).WillReturn(True)
108
tab.ExpectCall('
EvaluateJavaScript
', _).WillReturn(False)
126
tab.ExpectCall('
EvaluateJavaScript
', _).WillReturn(False)
/external/chromium_org/tools/telemetry/telemetry/core/
extension_unittest.py
42
"""Test ExtensionPage's ExecuteJavaScript and
EvaluateJavaScript
."""
48
self._extension.
EvaluateJavaScript
('chrome.runtime != null'))
51
self._extension.
EvaluateJavaScript
('_testVar'))
55
EvaluateJavaScript
should reconnect."""
61
self.assertEquals(2, self._extension.
EvaluateJavaScript
('1+1'))
131
extension.
EvaluateJavaScript
('chrome.runtime != null'))
133
self.assertEquals('abcdef', extension.
EvaluateJavaScript
('_testVar'))
155
extension.
EvaluateJavaScript
('chrome.runtime != null'))
157
self.assertEquals('abcdef', extension.
EvaluateJavaScript
('_testVar'))
user_agent_unittest.py
14
ua = self._tab.
EvaluateJavaScript
('window.navigator.userAgent')
tab_unittest.py
13
hidden = tab.
EvaluateJavaScript
('document.hidden || document.webkitHidden')
67
pixel_ratio = self._tab.
EvaluateJavaScript
('window.devicePixelRatio || 1')
89
return self._tab.
EvaluateJavaScript
('window.__testComplete')
92
message = self._tab.
EvaluateJavaScript
('window.__testMessage')
95
assert self._tab.
EvaluateJavaScript
('window.__testSuccess')
temporary_http_server_unittest.py
29
x = t.
EvaluateJavaScript
('document.body.innerHTML')
71
content_range = tab.
EvaluateJavaScript
(
76
content_length = tab.
EvaluateJavaScript
(
web_contents.py
47
return bool(self.
EvaluateJavaScript
(expr))
62
def
EvaluateJavaScript
(self, expr, timeout=DEFAULT_WEB_CONTENTS_TIMEOUT):
74
return self._inspector_backend.
EvaluateJavaScript
(expr, timeout)
/external/chromium_org/tools/telemetry/telemetry/page/
page_measurement.py
22
body_child_count = tab.
EvaluateJavaScript
(
36
body_child_count = tab.
EvaluateJavaScript
(
83
res = tab.
EvaluateJavaScript
('2+2')
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ContentViewLocationTest.java
46
mJavascriptHelper.
evaluateJavaScript
(getContentViewCore(),
54
mJavascriptHelper.
evaluateJavaScript
(getContentViewCore(), "positionCount");
66
mJavascriptHelper.
evaluateJavaScript
(getContentViewCore(),
117
mJavascriptHelper.
evaluateJavaScript
(getContentViewCore(),
/external/chromium_org/chrome/test/telemetry/chromeos/
login_unittest.py
61
self.assertTrue(extension.
EvaluateJavaScript
(
70
lambda: extension.
EvaluateJavaScript
('window.__login_status'), 10)
112
self.assertTrue(extension.
EvaluateJavaScript
(
120
browser.oobe.
EvaluateJavaScript
("typeof Oobe == 'function'") and
121
browser.oobe.
EvaluateJavaScript
(
129
return not browser.oobe.
EvaluateJavaScript
('''
Completed in 962 milliseconds
1
2
3
4
5