2
# This Source Code Form is subject to the terms of the Mozilla Public
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
# This file defines the locations at which this HTTP server may be accessed.
8
# It is referred to by the following page, so if this file moves, that page must
9
# be modified accordingly:
11
# http://developer.mozilla.org/en/docs/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
13
# Empty lines and lines which begin with "#" are ignored and may be used for
14
# storing comments. All other lines consist of an origin followed by whitespace
15
# and a comma-separated list of options (if indeed any options are needed).
17
# The format of an origin is, referring to RFC 2396, a scheme (either "http" or
18
# "https"), followed by "://", followed by a host, followed by ":", followed by
19
# a port number. The colon and port number must be present even if the port
20
# number is the default for the protocol.
22
# Unrecognized options are ignored. Recognized options are "primary" and
23
# "privileged", "nocert", "cert=some_cert_nickname", "redir=hostname".
25
# "primary" denotes a location which is the canonical location of
26
# the server; this location is the one assumed for requests which don't
27
# otherwise identify a particular origin (e.g. HTTP/1.0 requests).
29
# "privileged" denotes a location which should have the ability to request
30
# elevated privileges; the default is no privileges.
32
# "nocert" makes sense only for https:// hosts and means there is not
33
# any certificate automatically generated for this host.
35
# "cert=nickname" tells the pgo server to use a particular certificate
36
# for this host. The certificate is referenced by its nickname that must
37
# not contain any spaces. The certificate key files (PKCS12 modules)
38
# for custom certification are loaded from build/pgo/certs
39
# directory. When new certificate is added to this dir pgo/ssltunnel
40
# must be built then. This is only necessary for cases where we really do
41
# want specific certs.
43
# "redir=hostname" tells the pgo server is only used for https://
44
# hosts while processing the CONNECT tunnel request. It responds
45
# to the CONNECT with a 302 and redirection to the hostname instead
46
# of connecting to the real back end and replying with a 200. This
47
# mode exists primarily to ensure we don't allow a proxy to do that.
51
# This is the primary location from which tests run.
53
http://mochi.test:8888 primary,privileged
56
# These are a common set of prefixes scattered across one TLD with two ports and
57
# another TLD on a single port.
59
http://127.0.0.1:80 privileged
60
http://127.0.0.1:8888 privileged
61
http://test:80 privileged
62
http://mochi.test:8888 privileged
63
http://example.org:80 privileged
64
http://test1.example.org:80 privileged
65
http://test2.example.org:80 privileged
66
http://sub1.test1.example.org:80 privileged
67
http://sub1.test2.example.org:80 privileged
68
http://sub2.test1.example.org:80 privileged
69
http://sub2.test2.example.org:80 privileged
70
http://example.org:8000 privileged
71
http://test1.example.org:8000 privileged
72
http://test2.example.org:8000 privileged
73
http://sub1.test1.example.org:8000 privileged
74
http://sub1.test2.example.org:8000 privileged
75
http://sub2.test1.example.org:8000 privileged
76
http://sub2.test2.example.org:8000 privileged
77
http://example.com:80 privileged
78
http://www.example.com:80 privileged
79
http://test1.example.com:80 privileged
80
http://test2.example.com:80 privileged
81
http://sub1.test1.example.com:80 privileged
82
http://sub1.test2.example.com:80 privileged
83
http://sub2.test1.example.com:80 privileged
84
http://sub2.test2.example.com:80 privileged
85
http://noxul.example.com:80 privileged,noxul
87
https://example.com:443 privileged
88
https://test1.example.com:443 privileged
89
https://test2.example.com:443 privileged
90
https://sub1.test1.example.com:443 privileged
91
https://sub1.test2.example.com:443 privileged
92
https://sub2.test1.example.com:443 privileged
93
https://sub2.test2.example.com:443 privileged
94
https://nocert.example.com:443 privileged,nocert
95
https://self-signed.example.com:443 privileged,cert=selfsigned
96
https://untrusted.example.com:443 privileged,cert=untrusted
97
https://expired.example.com:443 privileged,cert=expired
98
https://requestclientcert.example.com:443 privileged,clientauth=request
99
https://requireclientcert.example.com:443 privileged,clientauth=require
101
# This is here so that we don't load the default live bookmark over
102
# the network in every test suite.
103
http://fxfeeds.mozilla.com:80
105
# Prevent safebrowsing tests from hitting the network for its-a-trap.html and
106
# its-an-attack.html.
107
http://www.mozilla.org:80
110
# These are subdomains of <ält.example.org>.
112
http://sub1.xn--lt-uia.example.org:8000 privileged
113
http://sub2.xn--lt-uia.example.org:80 privileged
114
http://xn--exmple-cua.test:80 privileged
115
http://sub1.xn--exmple-cua.test:80 privileged
117
https://xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
118
https://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
121
# These are subdomains of <παράδειγμα.δοκιμή>, the Greek IDN for example.test.
123
http://xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
124
http://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
126
# Bug 413909 test host
127
https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged,cert=bug413909cert
130
# These hosts are used in tests which exercise privilege-granting functionality;
131
# we could reuse some of the names above, but specific names make it easier to
132
# distinguish one from the other in tests (as well as what functionality is
135
http://sectest1.example.org:80 privileged
136
http://sub.sectest2.example.org:80 privileged
137
http://sectest2.example.org:80
138
http://sub.sectest1.example.org:80
140
https://sectest1.example.org:443 privileged
141
https://sub.sectest2.example.org:443 privileged
142
https://sectest2.example.org:443
143
https://sub.sectest1.example.org:443
146
# Used while testing the url-classifier
148
http://malware.example.com:80
151
https://www.bank1.com:443 privileged,cert=escapeattack1
152
https://www.bank2.com:443 privileged,cert=escapeattack2
155
# CONNECT for redirproxy results in a 302 redirect to
158
https://redirproxy.example.com:443 privileged,redir=test1.example.com
160
# Host used for IndexedDB Quota testing
161
http://bug704464-1.example.com:80 privileged
162
http://bug704464-2.example.com:80 privileged
163
http://bug704464-3.example.com:80 privileged
164
http://bug702292.example.com:80 privileged
167
# See http://www.w3.org/wiki/Testing/Requirements#The_Web_test_server_must_be_available_through_different_domain_names
168
http://w3c-test.org:80
169
http://w3c-test.org:81
170
http://w3c-test.org:82
171
http://w3c-test.org:83
172
http://www.w3c-test.org:80
173
http://www.w3c-test.org:81
174
http://www.w3c-test.org:82
175
http://www.w3c-test.org:83
176
http://www1.w3c-test.org:80
177
http://www1.w3c-test.org:81
178
http://www1.w3c-test.org:82
179
http://www1.w3c-test.org:83
180
http://www2.w3c-test.org:80
181
http://www2.w3c-test.org:81
182
http://www2.w3c-test.org:82
183
http://www2.w3c-test.org:83
184
# http://天気の良い日.w3c-test.org
185
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:80
186
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:81
187
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:82
188
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:83
189
# http://élève.w3c-test.org
190
http://xn--lve-6lad.w3c-test.org:80
191
http://xn--lve-6lad.w3c-test.org:81
192
http://xn--lve-6lad.w3c-test.org:82
193
http://xn--lve-6lad.w3c-test.org:83
194
# HTTPS versions of the above
195
https://w3c-test.org:443
196
https://www.w3c-test.org:443
197
https://www1.w3c-test.org:443
198
https://www2.w3c-test.org:443
199
https://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:443
200
https://xn--lve-6lad.w3c-test.org:443
201
http://test.w3.org:80