Remove invalid cert test that can no longer test anything useful.

This commit is contained in:
Josh Matthews 2017-04-05 17:02:53 -04:00
parent f12bb9db4f
commit e218935936
2 changed files with 0 additions and 34 deletions

View file

@ -11230,12 +11230,6 @@
{} {}
] ]
], ],
"mozilla/bad_cert_detected.html": [
[
"/_mozilla/mozilla/bad_cert_detected.html",
{}
]
],
"mozilla/binding_keyword.html": [ "mozilla/binding_keyword.html": [
[ [
"/_mozilla/mozilla/binding_keyword.html", "/_mozilla/mozilla/binding_keyword.html",
@ -24283,10 +24277,6 @@
"170d51460da58c16f5cf94ecda18f18a1c18c116", "170d51460da58c16f5cf94ecda18f18a1c18c116",
"support" "support"
], ],
"mozilla/bad_cert_detected.html": [
"5d49332d2a6c823bfaf378f84641ce8bba5c8210",
"testharness"
],
"mozilla/binding_keyword.html": [ "mozilla/binding_keyword.html": [
"c79aa6d506fbabbed0f6f31d1b8600ea6ba8ff41", "c79aa6d506fbabbed0f6f31d1b8600ea6ba8ff41",
"testharness" "testharness"

View file

@ -1,24 +0,0 @@
<html>
<head>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/origin_helpers.js?pipe=sub"></script>
</head>
<body>
<script>
var t = async_test("Invalid SSL cert noticed");
t.step(function() {
var target = location.href.replace(HTTP_ORIGIN, HTTPS_ORIGIN)
.replace('bad_cert_detected.html',
'resources/worker_success.js');
var w = new Worker(target);
// If the script executes successfully, it should send a message. That indicates that
// there was no validation failure, which is bad.
w.addEventListener('message', t.unreached_func("cert not detected as invalid"), true);
// When the worker has a cert failure, that translates into an early error that is reported
// to the Worker object.
w.addEventListener('error', t.step_func_done(), true);
});
</script>
</body>
</html>