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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt

Issue 1166003004: SRI fail open on ineligible resources. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt
index d0f93ab9f3d4bd79b6d2772d8639d509de04ce0f..20b2ea7a2b61e0a1a803c456030889d83660edc4 100644
--- a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity-expected.txt
@@ -1,4 +1,7 @@
-CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256;yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8='). The hash algorithm must be one of 'sha256', 'sha384', or 'sha512', followed by a '-' character.
-CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256:yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8='). The hash algorithm must be one of 'sha256', 'sha384', or 'sha512', followed by a '-' character.
-CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256-(yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8=)'). The digest must be a valid, base64-encoded value.
-This test passes if no 'FAIL' alert appears.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256;B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg='). The specified hash algorithm must be one of 'sha256', 'sha384', or 'sha512'.
Mike West 2015/06/07 14:09:14 Nit: For `testharness.js` tests, drop the `-expect
jww 2015/06/07 17:20:48 Part of the point of this test is that the appropr
+CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256:B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg='). The specified hash algorithm must be one of 'sha256', 'sha384', or 'sha512'.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('sha256-(B0_62fJSJFrdjEFR9ba04m_D-LHQ-zG6PGcaR0Trpxg=)'). The digest must be a valid, base64-encoded value.
+This is a testharness.js-based test.
+PASS SRI invalid integrity attributes
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698