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): |