Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-pkp-bypassed.html

Issue 2118583003: Display when PKP is bypassed in devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer comments Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/security/security-pkp-bypassed.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-pkp-bypassed.html
similarity index 85%
copy from third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
copy to third_party/WebKit/LayoutTests/http/tests/inspector/security/security-pkp-bypassed.html
index 649896cb6c20e797728bf33fa5f4eff2c910d5d6..12efa7879044d875e244dd24b2c342f0f7f1c3c3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-all-resources-secure.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/security/security-pkp-bypassed.html
@@ -7,7 +7,7 @@ function test()
{
var mixedContentStatus = { ranInsecureContent: false, displayedInsecureContent: false};
- InspectorTest.mainTarget.model(WebInspector.SecurityModel).dispatchEventToListeners(WebInspector.SecurityModel.EventTypes.SecurityStateChanged, new WebInspector.PageSecurityState(SecurityAgent.SecurityState.Secure, [], mixedContentStatus, true));
+ InspectorTest.mainTarget.model(WebInspector.SecurityModel).dispatchEventToListeners(WebInspector.SecurityModel.EventTypes.SecurityStateChanged, new WebInspector.PageSecurityState(SecurityAgent.SecurityState.Secure, mixedContentStatus, true, true, []));
var request = new WebInspector.NetworkRequest(InspectorTest.mainTarget, 0, "http://foo.test", "https://foo.test", 0, 0, null);
InspectorTest.dispatchRequestFinished(request);
@@ -20,6 +20,6 @@ function test()
</script>
</head>
<body onload="runTest()">
-<p>Tests addition of explanation when all page resources are transferred securely (no-mixed-content).</p>
+<p>Tests addition of explanation for when PKP is bypassed by a local trust anchor.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698