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

Unified Diff: third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py

Issue 1521943002: Use iframe in blink_perf.pywebsocket perf tests to remove --disable-web-security (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated DEPS. Created 5 years 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: third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py
diff --git a/third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py b/third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py
index 0c04b6cdddc14f48eaa42b10d31fe13682f4a256..726fc8ff4bd4ec8c85da22fd72af79278bb966e7 100644
--- a/third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py
+++ b/third_party/WebKit/PerformanceTests/Pywebsocket/resources/generate.py
@@ -16,8 +16,6 @@ def generate(connection_type,
is_worker,
is_async,
does_verify):
- pywebsocket_server = 'http://localhost:8001'
-
test_file_name = ('%s-%s%s-%s-%s-%s.html' %
(connection_type,
benchmark_name,
@@ -29,9 +27,7 @@ def generate(connection_type,
test_file_content_template = '''<!DOCTYPE html>
<head>
<script src="../resources/runner.js"></script>
-<script src="{pywebsocket_server_root}/util.js"></script>
<script src="resources/util_performance_test.js"></script>
-<script src="{pywebsocket_server_root}/{script_name}"></script>
</head>
<body onload="startPerformanceTest(
'{connection_type}',
@@ -52,7 +48,6 @@ def generate(connection_type,
script_name = 'fetch_benchmark.js'
test_file_content = test_file_content_template.format(
- pywebsocket_server_root=pywebsocket_server,
script_name=script_name,
connection_type=connection_type,
benchmark_name=benchmark_name,

Powered by Google App Engine
This is Rietveld 408576698