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

Issue 12220068: Test server tweaks (Closed)

Created:
7 years, 10 months ago by blois
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Adding the ability for the test server to listen on non-loopback addrs. BUG= Committed: https://code.google.com/p/dart/source/detail?r=18489

Patch Set 1 : #

Patch Set 2 : Adding directories to dir listing. #

Patch Set 3 : Fix for dirlisting. #

Total comments: 12

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 5

Patch Set 6 : Sync to ToT #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -14 lines) Patch
M tools/testing/dart/http_server.dart View 1 2 3 4 5 6 6 chunks +97 lines, -14 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
blois
A couple of tweaks- - Made it so the test server can serve up files ...
7 years, 10 months ago (2013-02-09 01:58:40 UTC) #1
blois
Ping! The recent test path changes broke my ability to run a custom server to ...
7 years, 10 months ago (2013-02-12 18:05:20 UTC) #2
kustermann
@emily: Please look at the XHR stuff. https://codereview.chromium.org/12220068/diff/9001/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/9001/tools/testing/dart/http_server.dart#newcode124 tools/testing/dart/http_server.dart:124: request.headers['Origin']); I'm ...
7 years, 10 months ago (2013-02-12 19:00:48 UTC) #3
blois
https://codereview.chromium.org/12220068/diff/9001/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/9001/tools/testing/dart/http_server.dart#newcode124 tools/testing/dart/http_server.dart:124: request.headers['Origin']); On 2013/02/12 19:00:48, kustermann wrote: > I'm not ...
7 years, 10 months ago (2013-02-12 20:31:12 UTC) #4
kustermann
LGTM with comments. But please wait for rico's response. https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart#newcode123 tools/testing/dart/http_server.dart:123: ...
7 years, 10 months ago (2013-02-12 21:03:44 UTC) #5
Emily Fortuna
lgtm once Martin's comments are addressed https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart#newcode179 tools/testing/dart/http_server.dart:179: static void sendDirectoryListing(Directory ...
7 years, 10 months ago (2013-02-12 22:21:24 UTC) #6
blois
https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/2003/tools/testing/dart/http_server.dart#newcode123 tools/testing/dart/http_server.dart:123: var origin = new Uri(request.headers['Origin'][0]); On 2013/02/12 21:03:44, kustermann ...
7 years, 10 months ago (2013-02-12 23:06:56 UTC) #7
ricow1
LGTM https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_server.dart#newcode191 tools/testing/dart/http_server.dart:191: var os = response.outputStream; could we have a ...
7 years, 10 months ago (2013-02-13 13:31:20 UTC) #8
blois
https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_server.dart File tools/testing/dart/http_server.dart (right): https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_server.dart#newcode191 tools/testing/dart/http_server.dart:191: var os = response.outputStream; On 2013/02/13 13:31:20, ricow1 wrote: ...
7 years, 10 months ago (2013-02-13 22:27:02 UTC) #9
ricow1
7 years, 10 months ago (2013-02-14 07:15:56 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_se...
File tools/testing/dart/http_server.dart (right):

https://codereview.chromium.org/12220068/diff/8002/tools/testing/dart/http_se...
tools/testing/dart/http_server.dart:208: os.writeString(header);
On 2013/02/13 22:27:02, blois wrote:
> On 2013/02/13 13:31:20, ricow1 wrote:
> > move this down in the onDone, then we have all the writing done in the same
> > place
> 
> Done. I had been hoping that I could write them out sequentially from the
> DirectoryLister, but unfortunately that isn't alphabetized.

Yeah, I already had a big comment asking why the beep you where doing all this
extra Entries work when I saw your .sort :-)

Powered by Google App Engine
This is Rietveld 408576698