2008-06-07 10:43:15 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2008-06-07 10:43:15 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# This file defines the locations at which this HTTP server may be accessed.
|
|
|
|
# It is referred to by the following page, so if this file moves, that page must
|
|
|
|
# be modified accordingly:
|
|
|
|
#
|
2015-04-21 23:20:56 +03:00
|
|
|
# https://developer.mozilla.org/en/docs/Mochitest#How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F
|
2008-06-07 10:43:15 +04:00
|
|
|
#
|
|
|
|
# Empty lines and lines which begin with "#" are ignored and may be used for
|
|
|
|
# storing comments. All other lines consist of an origin followed by whitespace
|
|
|
|
# and a comma-separated list of options (if indeed any options are needed).
|
|
|
|
#
|
|
|
|
# The format of an origin is, referring to RFC 2396, a scheme (either "http" or
|
|
|
|
# "https"), followed by "://", followed by a host, followed by ":", followed by
|
|
|
|
# a port number. The colon and port number must be present even if the port
|
|
|
|
# number is the default for the protocol.
|
|
|
|
#
|
|
|
|
# Unrecognized options are ignored. Recognized options are "primary" and
|
2015-01-07 10:28:00 +03:00
|
|
|
# "privileged", "nocert", "cert=some_cert_nickname", "redir=hostname" and
|
|
|
|
# "failHandshake".
|
2008-09-05 17:35:58 +04:00
|
|
|
#
|
|
|
|
# "primary" denotes a location which is the canonical location of
|
2008-06-07 10:43:15 +04:00
|
|
|
# the server; this location is the one assumed for requests which don't
|
2017-01-12 19:08:45 +03:00
|
|
|
# otherwise identify a particular origin (e.g. HTTP/1.0 requests).
|
2008-09-05 17:35:58 +04:00
|
|
|
#
|
2017-01-12 19:08:45 +03:00
|
|
|
# "privileged" denotes a location which should have the ability to request
|
2008-09-05 17:35:58 +04:00
|
|
|
# elevated privileges; the default is no privileges.
|
|
|
|
#
|
|
|
|
# "nocert" makes sense only for https:// hosts and means there is not
|
|
|
|
# any certificate automatically generated for this host.
|
|
|
|
#
|
2015-01-07 10:28:00 +03:00
|
|
|
# "failHandshake" causes the tls handshake to fail (by sending a client hello to
|
|
|
|
# the client).
|
|
|
|
#
|
2008-09-05 17:35:58 +04:00
|
|
|
# "cert=nickname" tells the pgo server to use a particular certificate
|
|
|
|
# for this host. The certificate is referenced by its nickname that must
|
|
|
|
# not contain any spaces. The certificate key files (PKCS12 modules)
|
2012-06-23 11:10:16 +04:00
|
|
|
# for custom certification are loaded from build/pgo/certs
|
2008-09-05 17:35:58 +04:00
|
|
|
# directory. When new certificate is added to this dir pgo/ssltunnel
|
2012-06-23 11:10:16 +04:00
|
|
|
# must be built then. This is only necessary for cases where we really do
|
|
|
|
# want specific certs.
|
2008-06-07 10:43:15 +04:00
|
|
|
#
|
2011-11-03 01:43:27 +04:00
|
|
|
# "redir=hostname" tells the pgo server is only used for https://
|
|
|
|
# hosts while processing the CONNECT tunnel request. It responds
|
|
|
|
# to the CONNECT with a 302 and redirection to the hostname instead
|
|
|
|
# of connecting to the real back end and replying with a 200. This
|
|
|
|
# mode exists primarily to ensure we don't allow a proxy to do that.
|
|
|
|
#
|
2008-06-07 10:43:15 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# This is the primary location from which tests run.
|
|
|
|
#
|
2010-03-13 00:53:36 +03:00
|
|
|
http://mochi.test:8888 primary,privileged
|
2008-06-07 10:43:15 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# These are a common set of prefixes scattered across one TLD with two ports and
|
|
|
|
# another TLD on a single port.
|
|
|
|
#
|
2010-03-13 00:53:36 +03:00
|
|
|
http://127.0.0.1:80 privileged
|
|
|
|
http://127.0.0.1:8888 privileged
|
|
|
|
http://test:80 privileged
|
|
|
|
http://mochi.test:8888 privileged
|
2014-07-30 23:23:04 +04:00
|
|
|
http://test1.mochi.test:8888
|
2015-01-08 00:47:18 +03:00
|
|
|
http://sub1.test1.mochi.test:8888
|
|
|
|
http://sub2.xn--lt-uia.mochi.test:8888
|
2014-07-30 23:23:04 +04:00
|
|
|
http://test2.mochi.test:8888
|
2008-06-07 10:43:15 +04:00
|
|
|
http://example.org:80 privileged
|
|
|
|
http://test1.example.org:80 privileged
|
|
|
|
http://test2.example.org:80 privileged
|
|
|
|
http://sub1.test1.example.org:80 privileged
|
|
|
|
http://sub1.test2.example.org:80 privileged
|
|
|
|
http://sub2.test1.example.org:80 privileged
|
|
|
|
http://sub2.test2.example.org:80 privileged
|
|
|
|
http://example.org:8000 privileged
|
|
|
|
http://test1.example.org:8000 privileged
|
|
|
|
http://test2.example.org:8000 privileged
|
|
|
|
http://sub1.test1.example.org:8000 privileged
|
|
|
|
http://sub1.test2.example.org:8000 privileged
|
|
|
|
http://sub2.test1.example.org:8000 privileged
|
|
|
|
http://sub2.test2.example.org:8000 privileged
|
|
|
|
http://example.com:80 privileged
|
2010-11-30 00:22:25 +03:00
|
|
|
http://www.example.com:80 privileged
|
2008-06-07 10:43:15 +04:00
|
|
|
http://test1.example.com:80 privileged
|
|
|
|
http://test2.example.com:80 privileged
|
|
|
|
http://sub1.test1.example.com:80 privileged
|
|
|
|
http://sub1.test2.example.com:80 privileged
|
|
|
|
http://sub2.test1.example.com:80 privileged
|
|
|
|
http://sub2.test2.example.com:80 privileged
|
2010-09-04 02:53:28 +04:00
|
|
|
http://noxul.example.com:80 privileged,noxul
|
2014-05-12 20:36:38 +04:00
|
|
|
http://example.net:80 privileged
|
2015-03-06 04:37:49 +03:00
|
|
|
# Used to test that clearing Service Workers for domain example.com, does not clear prefixexample.com
|
|
|
|
http://prefixexample.com:80
|
2008-06-07 10:43:15 +04:00
|
|
|
|
2015-07-20 15:44:32 +03:00
|
|
|
# The first HTTPS location is used to generate the Common Name (CN) value of the
|
|
|
|
# certificate's Issued To field.
|
2008-09-05 17:35:58 +04:00
|
|
|
https://example.com:443 privileged
|
|
|
|
https://test1.example.com:443 privileged
|
|
|
|
https://test2.example.com:443 privileged
|
2015-07-20 15:44:32 +03:00
|
|
|
https://example.org:443 privileged
|
|
|
|
https://test1.example.org:443 privileged
|
|
|
|
https://test2.example.org:443 privileged
|
2008-09-05 17:35:58 +04:00
|
|
|
https://sub1.test1.example.com:443 privileged
|
|
|
|
https://sub1.test2.example.com:443 privileged
|
|
|
|
https://sub2.test1.example.com:443 privileged
|
|
|
|
https://sub2.test2.example.com:443 privileged
|
|
|
|
https://nocert.example.com:443 privileged,nocert
|
2009-01-21 14:01:00 +03:00
|
|
|
https://self-signed.example.com:443 privileged,cert=selfsigned
|
|
|
|
https://untrusted.example.com:443 privileged,cert=untrusted
|
2010-01-06 21:25:44 +03:00
|
|
|
https://expired.example.com:443 privileged,cert=expired
|
2009-01-15 22:19:15 +03:00
|
|
|
https://requestclientcert.example.com:443 privileged,clientauth=request
|
|
|
|
https://requireclientcert.example.com:443 privileged,clientauth=require
|
2012-11-01 01:17:28 +04:00
|
|
|
https://mismatch.expired.example.com:443 privileged,cert=expired
|
|
|
|
https://mismatch.untrusted.example.com:443 privileged,cert=untrusted
|
|
|
|
https://untrusted-expired.example.com:443 privileged,cert=untrustedandexpired
|
|
|
|
https://mismatch.untrusted-expired.example.com:443 privileged,cert=untrustedandexpired
|
2008-09-05 17:35:58 +04:00
|
|
|
|
2011-01-31 19:55:50 +03:00
|
|
|
# This is here so that we don't load the default live bookmark over
|
|
|
|
# the network in every test suite.
|
|
|
|
http://fxfeeds.mozilla.com:80
|
|
|
|
|
2011-06-11 22:24:50 +04:00
|
|
|
# Prevent safebrowsing tests from hitting the network for its-a-trap.html and
|
|
|
|
# its-an-attack.html.
|
2014-03-07 22:12:23 +04:00
|
|
|
http://www.itisatrap.org:80
|
2017-01-12 19:08:45 +03:00
|
|
|
https://www.itisatrap.org:443
|
2011-06-11 22:24:50 +04:00
|
|
|
|
2008-06-07 10:43:15 +04:00
|
|
|
#
|
|
|
|
# These are subdomains of <ält.example.org>.
|
|
|
|
#
|
|
|
|
http://sub1.xn--lt-uia.example.org:8000 privileged
|
|
|
|
http://sub2.xn--lt-uia.example.org:80 privileged
|
|
|
|
http://xn--exmple-cua.test:80 privileged
|
|
|
|
http://sub1.xn--exmple-cua.test:80 privileged
|
2013-03-01 15:56:45 +04:00
|
|
|
http://xn--exaple-kqf.test:80 privileged
|
|
|
|
http://sub1.xn--exaple-kqf.test:80 privileged
|
2008-06-07 10:43:15 +04:00
|
|
|
|
2008-09-05 17:35:58 +04:00
|
|
|
https://xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
|
|
|
|
https://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged
|
|
|
|
|
2008-06-07 10:43:15 +04:00
|
|
|
#
|
|
|
|
# These are subdomains of <παράδειγμα.δοκιμή>, the Greek IDN for example.test.
|
|
|
|
#
|
|
|
|
http://xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
|
|
|
|
http://sub1.xn--hxajbheg2az3al.xn--jxalpdlp:80 privileged
|
|
|
|
|
2008-10-10 18:41:38 +04:00
|
|
|
# Bug 413909 test host
|
|
|
|
https://bug413909.xn--hxajbheg2az3al.xn--jxalpdlp:443 privileged,cert=bug413909cert
|
|
|
|
|
2008-06-07 10:43:15 +04:00
|
|
|
#
|
|
|
|
# These hosts are used in tests which exercise privilege-granting functionality;
|
|
|
|
# we could reuse some of the names above, but specific names make it easier to
|
|
|
|
# distinguish one from the other in tests (as well as what functionality is
|
|
|
|
# being tested).
|
|
|
|
#
|
|
|
|
http://sectest1.example.org:80 privileged
|
|
|
|
http://sub.sectest2.example.org:80 privileged
|
|
|
|
http://sectest2.example.org:80
|
|
|
|
http://sub.sectest1.example.org:80
|
2008-09-05 17:35:58 +04:00
|
|
|
|
|
|
|
https://sectest1.example.org:443 privileged
|
|
|
|
https://sub.sectest2.example.org:443 privileged
|
|
|
|
https://sectest2.example.org:443
|
|
|
|
https://sub.sectest1.example.org:443
|
2009-01-14 10:13:48 +03:00
|
|
|
|
|
|
|
#
|
|
|
|
# Used while testing the url-classifier
|
|
|
|
#
|
2009-03-11 00:57:59 +03:00
|
|
|
http://malware.example.com:80
|
2016-04-19 04:07:35 +03:00
|
|
|
http://unwanted.example.com:80
|
2014-07-19 04:26:24 +04:00
|
|
|
http://tracking.example.com:80
|
2014-08-23 07:26:46 +04:00
|
|
|
http://not-tracking.example.com:80
|
|
|
|
http://tracking.example.org:80
|
2015-08-07 23:08:22 +03:00
|
|
|
http://itisatracker.org:80
|
|
|
|
http://trackertest.org:80
|
2009-07-30 00:23:27 +04:00
|
|
|
|
2015-07-20 15:44:32 +03:00
|
|
|
https://malware.example.com:443
|
2016-04-19 04:07:35 +03:00
|
|
|
https://unwanted.example.com:443
|
2015-07-20 15:44:32 +03:00
|
|
|
https://tracking.example.com:443
|
|
|
|
https://not-tracking.example.com:443
|
|
|
|
https://tracking.example.org:443
|
|
|
|
|
2016-11-23 02:01:04 +03:00
|
|
|
#
|
|
|
|
# Used while testing flash blocking (Bug 1307604)
|
|
|
|
#
|
|
|
|
http://flashallow.example.com:80
|
|
|
|
http://exception.flashallow.example.com:80
|
|
|
|
http://flashblock.example.com:80
|
|
|
|
http://exception.flashblock.example.com:80
|
|
|
|
http://subdocument.example.com:80
|
2017-03-10 21:50:21 +03:00
|
|
|
https://subdocument.example.com:443
|
2016-11-23 02:01:04 +03:00
|
|
|
http://exception.subdocument.example.com:80
|
|
|
|
|
|
|
|
#
|
|
|
|
# Flash usage can fail unless this URL exists
|
|
|
|
#
|
|
|
|
http://fpdownload2.macromedia.com:80
|
|
|
|
https://fpdownload2.macromedia.com:443
|
|
|
|
|
2016-07-18 17:31:34 +03:00
|
|
|
# Bug 1281083
|
|
|
|
http://bug1281083.example.com:80
|
|
|
|
|
2009-07-30 00:23:27 +04:00
|
|
|
# Bug 483437, 484111
|
|
|
|
https://www.bank1.com:443 privileged,cert=escapeattack1
|
2011-11-03 01:43:27 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# CONNECT for redirproxy results in a 302 redirect to
|
|
|
|
# test1.example.com
|
|
|
|
#
|
|
|
|
https://redirproxy.example.com:443 privileged,redir=test1.example.com
|
|
|
|
|
2011-12-03 21:18:38 +04:00
|
|
|
# Host used for IndexedDB Quota testing
|
|
|
|
http://bug704464-1.example.com:80 privileged
|
|
|
|
http://bug704464-2.example.com:80 privileged
|
|
|
|
http://bug704464-3.example.com:80 privileged
|
2012-01-04 20:25:26 +04:00
|
|
|
http://bug702292.example.com:80 privileged
|
2012-06-23 11:10:16 +04:00
|
|
|
|
|
|
|
# W3C hosts.
|
|
|
|
# See http://www.w3.org/wiki/Testing/Requirements#The_Web_test_server_must_be_available_through_different_domain_names
|
|
|
|
http://w3c-test.org:80
|
|
|
|
http://w3c-test.org:81
|
|
|
|
http://w3c-test.org:82
|
|
|
|
http://w3c-test.org:83
|
|
|
|
http://www.w3c-test.org:80
|
|
|
|
http://www.w3c-test.org:81
|
|
|
|
http://www.w3c-test.org:82
|
|
|
|
http://www.w3c-test.org:83
|
|
|
|
http://www1.w3c-test.org:80
|
|
|
|
http://www1.w3c-test.org:81
|
|
|
|
http://www1.w3c-test.org:82
|
|
|
|
http://www1.w3c-test.org:83
|
|
|
|
http://www2.w3c-test.org:80
|
|
|
|
http://www2.w3c-test.org:81
|
|
|
|
http://www2.w3c-test.org:82
|
|
|
|
http://www2.w3c-test.org:83
|
|
|
|
# http://天気の良い日.w3c-test.org
|
|
|
|
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:80
|
|
|
|
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:81
|
|
|
|
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:82
|
|
|
|
http://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:83
|
|
|
|
# http://élève.w3c-test.org
|
|
|
|
http://xn--lve-6lad.w3c-test.org:80
|
|
|
|
http://xn--lve-6lad.w3c-test.org:81
|
|
|
|
http://xn--lve-6lad.w3c-test.org:82
|
|
|
|
http://xn--lve-6lad.w3c-test.org:83
|
|
|
|
# HTTPS versions of the above
|
|
|
|
https://w3c-test.org:443
|
|
|
|
https://www.w3c-test.org:443
|
|
|
|
https://www1.w3c-test.org:443
|
|
|
|
https://www2.w3c-test.org:443
|
|
|
|
https://xn--n8j6ds53lwwkrqhv28a.w3c-test.org:443
|
|
|
|
https://xn--lve-6lad.w3c-test.org:443
|
|
|
|
http://test.w3.org:80
|
2014-02-06 13:08:01 +04:00
|
|
|
|
|
|
|
# Hosts for testing TLD-based fallback encoding
|
|
|
|
http://example.tw:80 privileged
|
|
|
|
http://example.cn:80 privileged
|
|
|
|
http://example.co.jp:80 privileged
|
|
|
|
http://example.fi:80 privileged
|
|
|
|
|
2014-04-28 12:50:00 +04:00
|
|
|
# Hosts for testing marketplace apps installations
|
|
|
|
https://marketplace.firefox.com:443 privileged
|
2014-07-19 15:51:24 +04:00
|
|
|
https://marketplace-dev.allizom.org:443 privileged
|
2014-07-23 15:20:25 +04:00
|
|
|
https://marketplace.allizom.org:443 privileged
|
2014-09-30 07:31:08 +04:00
|
|
|
|
|
|
|
# Host for HPKP
|
|
|
|
https://include-subdomains.pinning-dynamic.example.com:443 privileged,cert=dynamicPinningGood
|
|
|
|
https://bad.include-subdomains.pinning-dynamic.example.com:443 privileged,cert=dynamicPinningBad
|
|
|
|
|
2014-10-30 14:52:00 +03:00
|
|
|
# Host for static pin tests
|
2015-01-07 10:28:00 +03:00
|
|
|
https://badchain.include-subdomains.pinning.example.com:443 privileged,cert=staticPinningBad
|
|
|
|
https://fail-handshake.example.com:443 privileged,failHandshake
|
2014-11-07 08:12:00 +03:00
|
|
|
|
|
|
|
# Hosts for sha1 console warning tests
|
|
|
|
https://sha1ee.example.com:443 privileged,cert=sha1_end_entity
|
|
|
|
https://sha256ee.example.com:443 privileged,cert=sha256_end_entity
|
2014-12-13 14:09:02 +03:00
|
|
|
|
2018-02-27 01:55:35 +03:00
|
|
|
# Hosts for imminent distrust warning tests
|
|
|
|
https://imminently-distrusted.example.com:443 privileged,cert=imminently_distrusted
|
2017-11-02 06:59:33 +03:00
|
|
|
|
2014-12-13 14:09:02 +03:00
|
|
|
# Hosts for ssl3/rc4 console warning tests
|
|
|
|
https://ssl3.example.com:443 privileged,ssl3
|
|
|
|
https://rc4.example.com:443 privileged,rc4
|
|
|
|
https://ssl3rc4.example.com:443 privileged,ssl3,rc4
|
2016-05-04 19:10:45 +03:00
|
|
|
https://tls1.example.com:443 privileged,tls1
|
2016-01-09 01:20:44 +03:00
|
|
|
|
|
|
|
# Hosts for youtube rewrite tests
|
|
|
|
https://mochitest.youtube.com:443
|
2017-10-05 12:33:10 +03:00
|
|
|
|
2017-12-06 18:28:20 +03:00
|
|
|
# Host for U2F localhost tests
|
|
|
|
https://localhost:443
|