Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php |
index e385910943436aa54bd54eaab7c8d70345f496a4..3d5a834a031fd907067eab8c12f0d5d4a21b592a 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/nonces/style-enforce-blocked.php |
@@ -29,8 +29,7 @@ |
<script> |
async_test(t => { |
window.onload = t.step_func_done(_ => { |
- assert_equals(document.styleSheets.length, 1); |
- assert_equals(document.styleSheets[0].rules.length, 0); |
+ assert_equals(document.styleSheets.length, 0); |
}); |
}, "Incorrectly nonced stylesheets do not load."); |
</script> |