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

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

Issue 656063002: Subresource Integrity: Improve parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Feedback. Created 6 years, 2 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 87f0cc77cdce0db483ce35da0a66c4ff07c8f6a1..24ee9bd0a6280478649c539b86f09409a1ed72ad 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,5 +1,5 @@
-CONSOLE ERROR: The 'integrity' attribute's value 'yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8=' is not valid integrity metadata.
-CONSOLE ERROR: The 'integrity' attribute's value 'ni://#yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8=' is not valid integrity metadata.
-CONSOLE ERROR: The 'integrity' attribute's value 'yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8=' is not valid integrity metadata.
-CONSOLE ERROR: The 'integrity' attribute's value 'ni://sha1;Ywd5te2RvxmuHLzLzZjYo1/0LMw=' is not valid integrity metadata.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8='). The value must begin with 'ni:///'.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('ni:///#yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8='). The specified hash algorithm must be one of 'sha256', 'sha384', or 'sha512'.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8='). The value must begin with 'ni:///'.
+CONSOLE ERROR: Error parsing 'integrity' attribute ('ni:///sha1;Ywd5te2RvxmuHLzLzZjYo1/0LMw='). The specified hash algorithm must be one of 'sha256', 'sha384', or 'sha512'.
This test passes if no 'FAIL' alert appears.

Powered by Google App Engine
This is Rietveld 408576698