Bug 1285003 - Test insecure http port :80 allows secure https port :443. r=dveditz

This commit is contained in:
Christoph Kerschbaumer 2016-07-22 11:32:21 +02:00
Родитель 3a9a5e2c83
Коммит 022d9af2b3
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -28,7 +28,12 @@ SimpleTest.waitForExplicitFinish();
var policies = [
["allowed", "example.com"],
["allowed", "example.com:443"],
["blocked", "example.com:80"]
["allowed", "example.com:80"],
["allowed", "http://*:80"],
["allowed", "https://*:443"],
// our testing framework only supports :80 and :443, but
// using :8000 in a policy does the trick for the test.
["blocked", "example.com:8000"],
]
var counter = 0;