Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html |
index d05e23f79d10942920662b4b45705bf74f4d2d47..f5bf03fc72ade80ed097ddab96a2c1cf48311bfc 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/embeddedEnforcement/subsumption_algorithm-general.html |
@@ -52,6 +52,13 @@ |
url = generateUrlWithCSP(CROSS_ORIGIN, returned_csp); |
injectIframeWithCSP(url, EXPECT_LOAD, required_csp, t, "6"); |
}, "Iframe with a matching and more restrictive ports should load."); |
+ |
+ async_test(t => { |
+ required_csp = "frame-src http://b.com:80"; |
+ returned_csp = "child-src https://b.com:443"; |
+ url = generateUrlWithCSP(CROSS_ORIGIN, returned_csp); |
+ injectIframeWithCSP(url, EXPECT_LOAD, required_csp, t, "7"); |
+ }, "Iframe must load even if the ports are different but are default for the protocols."); |
</script> |
</body> |
</html> |