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

Side by Side Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-allowed-mimetypes.html

Issue 1126343003: Ignore unknown options to subresource integrity (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed option parsing + nits from mkwst Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <title>SRI with MIME types allowed</title>
4 <script src="/resources/testharness.js"></script>
5 <script src="/resources/testharnessreport.js"></script>
6 </head>
7 <body>
8 <script>
9 var result = false;
10 function scriptLoaded() {
11 assert_true(result, "|result| is set to true.");
12 done();
13 }
14 function scriptError() {
15 assert_unreached("Script load should not result in an error.");
16 }
17 </script>
18 <script onload="scriptLoaded()" onerror="scriptError()" src='resources/s etResultWithMIME.php?mime=application/javascript&value=true' integrity="sha256-_ CPhHgLf4bYjXZA6KVnegM7ECdy7A3f35ntfHeYy9zI=?ct=application/javascript"></script>
19 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698