Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/require-sri-for-style-blocked.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/require-sri-for-style-blocked.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/require-sri-for-style-blocked.php |
index d616d51210496b45fb0c915f72d2609867f0a105..a228528ce4737de9d2b01aae03c5272e91ed2b41 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/require-sri-for-style-blocked.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for/require-sri-for-style-blocked.php |
@@ -19,7 +19,8 @@ |
<script> |
async_test(t => { |
window.onload = t.step_func_done(_ => { |
- assert_equals(document.styleSheets.length, 0); |
+ assert_equals(document.styleSheets.length, 1); |
+ assert_equals(document.styleSheets[0].rules.length, 0); |
}); |
}, "Stylesheets without integrity do not load."); |
</script> |