зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1285003 - Test insecure http port :80 allows secure https port :443. r=dveditz
This commit is contained in:
Родитель
3a9a5e2c83
Коммит
022d9af2b3
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче