| Index: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/pass_through.py
|
| diff --git a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/pass_through.py b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/pass_through.py
|
| index c19cfc3e73e7f82616a7aab49bb037605202ba6c..cecba7044bb26244deb56f0713ed4147098a8932 100644
|
| --- a/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/pass_through.py
|
| +++ b/tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/pass_through.py
|
| @@ -17,13 +17,13 @@ class PassThroughPage(page_module.Page):
|
|
|
| def RunNavigateSteps(self, action_runner):
|
| super(PassThroughPage, self).RunNavigateSteps(action_runner)
|
| - action_runner.ExecuteJavaScript('''
|
| + action_runner.ExecuteJavaScript2('''
|
| (function() {
|
| var request = new XMLHttpRequest();
|
| - request.open("GET", "%s");
|
| + request.open("GET", {{ url }});
|
| request.setRequestHeader("Chrome-Proxy-Accept-Transform", "identity");
|
| request.send(null);
|
| - })();''' % (self.url))
|
| + })();''', url=self.url)
|
| action_runner.Wait(1)
|
|
|
|
|
|
|