зеркало из https://github.com/mozilla/gecko-dev.git
Last of the leftover files... that didn't include the API change.
This commit is contained in:
Родитель
df88140573
Коммит
c80556169a
|
@ -238,7 +238,7 @@ main(int argc, char* argv[])
|
|||
|
||||
// Create the socket transport...
|
||||
nsIChannel* transport;
|
||||
rv = sts->CreateTransport(hostName, port, nsnull, &transport);
|
||||
rv = sts->CreateTransport(hostName, port, nsnull, hostName, &transport);
|
||||
|
||||
// This stuff is used to test the output stream
|
||||
#if 0
|
||||
|
|
|
@ -157,7 +157,7 @@ main(int argc, char* argv[])
|
|||
|
||||
nsIChannel* transport;
|
||||
|
||||
rv = sts->CreateTransport(hostName, port, nsnull, &transport);
|
||||
rv = sts->CreateTransport(hostName, port, nsnull, hostName, &transport);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
transport->AsyncRead(0, -1, nsnull, new InputTestConsumer);
|
||||
|
||||
|
|
|
@ -277,7 +277,7 @@ TestConnection::TestConnection(const char* aHostName, PRInt32 aPort,
|
|||
// Create a socket transport...
|
||||
NS_WITH_SERVICE(nsISocketTransportService, sts, kSocketTransportServiceCID, &rv);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = sts->CreateTransport(aHostName, aPort, nsnull, &mTransport);
|
||||
rv = sts->CreateTransport(aHostName, aPort, nsnull, aHostName, &mTransport);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -290,6 +290,7 @@ int doMakeAbsTest(const char* i_URL = 0, const char* i_relativePortion=0)
|
|||
{ "g/h/../H?http://foo#bar", "http://a/b/c/g/H?http://foo#bar" },
|
||||
{ "g/h/../H;baz?http://foo", "http://a/b/c/g/H;baz?http://foo" },
|
||||
{ "g/h/../H;baz?http://foo#bar", "http://a/b/c/g/H;baz?http://foo#bar" },
|
||||
{ "g/h/../H;baz?C:\\temp", "http://a/b/c/g/H;baz?C:\\temp" },
|
||||
};
|
||||
|
||||
const int numTests = sizeof(tests) / sizeof(tests[0]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче