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

Side by Side Diff: tools/testing/dart/http_server.dart

Issue 163733003: Let deferred load work from worker isolates. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix status file Created 6 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 unified diff | Download patch | Annotate | Revision Log
« tests/lib/lib.status ('K') | « tests/lib/lib.status ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library http_server; 5 library http_server;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'test_suite.dart'; // For TestUtils. 9 import 'test_suite.dart'; // For TestUtils.
10 // TODO(efortuna): Rewrite to not use the args library and simply take an 10 // TODO(efortuna): Rewrite to not use the args library and simply take an
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 */ 88 */
89 class TestingServers { 89 class TestingServers {
90 static final _CACHE_EXPIRATION_IN_SECONDS = 30; 90 static final _CACHE_EXPIRATION_IN_SECONDS = 30;
91 static final _HARMLESS_REQUEST_PATH_ENDINGS = [ 91 static final _HARMLESS_REQUEST_PATH_ENDINGS = [
92 "/apple-touch-icon.png", 92 "/apple-touch-icon.png",
93 "/apple-touch-icon-precomposed.png", 93 "/apple-touch-icon-precomposed.png",
94 "/favicon.ico", 94 "/favicon.ico",
95 "/foo", 95 "/foo",
96 "/bar", 96 "/bar",
97 "/NonExistingFile", 97 "/NonExistingFile",
98 "/NonExistingFile.js",
98 "/hahaURL", 99 "/hahaURL",
99 ]; 100 ];
100 101
101 List _serverList = []; 102 List _serverList = [];
102 Path _buildDirectory = null; 103 Path _buildDirectory = null;
103 final bool useContentSecurityPolicy; 104 final bool useContentSecurityPolicy;
104 final String runtime; 105 final String runtime;
105 106
106 TestingServers(Path buildDirectory, 107 TestingServers(Path buildDirectory,
107 this.useContentSecurityPolicy, 108 this.useContentSecurityPolicy,
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 class _Entry { 387 class _Entry {
387 final String name; 388 final String name;
388 final String displayName; 389 final String displayName;
389 390
390 _Entry(this.name, this.displayName); 391 _Entry(this.name, this.displayName);
391 392
392 int compareTo(_Entry other) { 393 int compareTo(_Entry other) {
393 return name.compareTo(other.name); 394 return name.compareTo(other.name);
394 } 395 }
395 } 396 }
OLDNEW
« tests/lib/lib.status ('K') | « tests/lib/lib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698