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

Issue 12252004: PPAPI/WS: use server providing hostname as test serevr hostname (Closed)

Created:
7 years, 10 months ago by Takashi Toyoshima
Modified:
7 years, 10 months ago
CC:
chromium-reviews, Ryan Sleevi
Visibility:
Public.

Description

PPAPI/WS: use server providing hostname as test serevr hostname 'localhost' can be resolved as IPv6 address and IPv4 address. On the other hands, a test server listens at '127.0.0.1' by default. Chrome want to connect using IPv6 address firstly. So if the server listens at only IPv4 address, Chrome connects IPv4 address after IPv6 timeout. This change passes server proviting host to PPAPI tests, then makes it available from WebSocket related PPAPI tests. BUG=175237 TEST=browser_tests --gtest_filter='*.WebSocket_*' Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182452

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix comments #3 and #4 #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -3 lines) Patch
M chrome/test/ppapi/ppapi_test.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M ppapi/tests/test_case.html View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ppapi/tests/test_websocket.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ppapi/tests/testing_instance.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/tests/testing_instance.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Takashi Toyoshima
David
7 years, 10 months ago (2013-02-13 11:17:39 UTC) #1
Takashi Toyoshima
Sorry, I mistakenly published an unfinished message. Reviewer: David, Could you review this CL to ...
7 years, 10 months ago (2013-02-13 11:19:31 UTC) #2
dmichael (off chromium)
lgtm https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc File chrome/test/ppapi/ppapi_test.cc (right): https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc#newcode227 chrome/test/ppapi/ppapi_test.cc:227: host.c_str(), nit: please line up the 2nd and ...
7 years, 10 months ago (2013-02-13 21:41:12 UTC) #3
Ryan Sleevi
https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc File chrome/test/ppapi/ppapi_test.cc (right): https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc#newcode227 chrome/test/ppapi/ppapi_test.cc:227: host.c_str(), On 2013/02/13 21:41:13, dmichael wrote: > nit: please ...
7 years, 10 months ago (2013-02-13 21:46:14 UTC) #4
Takashi Toyoshima
https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc File chrome/test/ppapi/ppapi_test.cc (right): https://codereview.chromium.org/12252004/diff/1/chrome/test/ppapi/ppapi_test.cc#newcode227 chrome/test/ppapi/ppapi_test.cc:227: host.c_str(), Thank you for catching this. Yes, I should ...
7 years, 10 months ago (2013-02-14 08:28:28 UTC) #5
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 08:30:23 UTC) #6

Powered by Google App Engine
This is Rietveld 408576698