Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py

Issue 2719853003: [Telemetry refactor] Drop "2" from method calls to JS API (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
index 977b08f03ebbb276c8d0b2f37e7082d7ffd91a11..395ca19dcf25a63643dd0afbd6327f88bfe984ad 100644
--- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
+++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/block_once.py
@@ -17,7 +17,7 @@ class BlockOncePage(page_module.Page):
super(BlockOncePage, self).RunNavigateSteps(action_runner)
# Test block-once on a POST request.
# Ensure that a subsequent request uses the data reduction proxy.
- action_runner.ExecuteJavaScript2('''
+ action_runner.ExecuteJavaScript('''
(function() {
window.post_request_completed = false;
var request = new XMLHttpRequest();
@@ -35,7 +35,7 @@ class BlockOncePage(page_module.Page):
request.send();
})();
''')
- action_runner.WaitForJavaScriptCondition2(
+ action_runner.WaitForJavaScriptCondition(
"window.post_request_completed == true", timeout=30)
class BlockOnceStorySet(story.StorySet):

Powered by Google App Engine
This is Rietveld 408576698