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

Side by Side Diff: tools/oopif/iframe_server.py

Issue 12426011: Creating a directory for out of process iframe test tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/oopif/OWNERS ('k') | tools/perf/perf_tools/iframe_server.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Test server for generating nested iframes with different sites. 5 """Test server for generating nested iframes with different sites.
6 6
7 Very simple python server for creating a bunch of iframes. The page generation 7 Very simple python server for creating a bunch of iframes. The page generation
8 is randomized based on query parameters. See the __init__ function of the 8 is randomized based on query parameters. See the __init__ function of the
9 Params class for a description of the parameters. 9 Params class for a description of the parameters.
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 start_response('200 OK', [('Content-Type', 'text/html')]) 215 start_response('200 OK', [('Content-Type', 'text/html')])
216 if environ['PATH_INFO'] == '/favicon.ico': 216 if environ['PATH_INFO'] == '/favicon.ico':
217 yield '' 217 yield ''
218 else: 218 else:
219 yield create_html(environ) 219 yield create_html(environ)
220 220
221 221
222 server = pywsgi.WSGIServer(('', 8090), application) 222 server = pywsgi.WSGIServer(('', 8090), application)
223 223
224 server.serve_forever() 224 server.serve_forever()
OLDNEW
« no previous file with comments | « tools/oopif/OWNERS ('k') | tools/perf/perf_tools/iframe_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698