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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-same-resource-different-integrity-expected.txt

Issue 1885703003: Make testharness.js tests fail on uncaught exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover script changes Created 4 years, 8 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: third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-same-resource-different-integrity-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-same-resource-different-integrity-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-same-resource-different-integrity-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..481e77a2c8b1e8040f6a47abcd9ae6a019b14a0e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-same-resource-different-integrity-expected.txt
@@ -0,0 +1,12 @@
+CONSOLE ERROR: Failed to find a valid digest in the 'integrity' attribute for resource 'http://127.0.0.1:8000/security/subresourceIntegrity/resources/simple-result.js' with computed SHA-256 integrity 'xJjeC55VpJ4nhSNBPBfw2QrsylPyXeQGxMd1l4unH58='. The resource has been blocked.
+This is a testharness.js-based test.
+PASS Script: Same-origin with correct sha256 hash.
+PASS Script: Same-origin with correct sha384 hash.
+PASS Script: Same-origin with correct sha512 hash.
+PASS Script: Same-origin with empty integrity.
+PASS Script: Same-origin with incorrect hash.
+PASS Script: Same-origin with multiple sha256 hashes, including correct.
+PASS Script: Same-origin with sha256 mismatch, sha512 match
+PASS Script: Same-origin with sha256 match, sha512 mismatch
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698