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

Side by Side Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-hash-function-priority.html

Issue 1156413005: Implement hash function prioritization for SRI. (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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Priority of stronger hash functions</title>
5 </head>
6 <body>
7 <script src="/resources/testharness.js"></script>
8 <script src="/resources/testharnessreport.js"></script>
9 <script>
10 function scriptError() {
11 done();
12 };
13
14 function success() {
15 assert_unreached('Script loaded.');
16 done();
17 };
18 </script>
19 <script src="call-success.js" integrity="sha256-B0/62fJSJFrdjEFR9ba04m/D +LHQ+zG6PGcaR0Trpxg= sha512-deadbeef" onerror="scriptError();""></script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698