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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-multiple-policies-with-unsafe-inline.html

Issue 568583003: Allow CSP checkNonce and checkHash to pass with 'unsafe-inline' only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed broken tests Created 6 years, 3 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 <meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe -inline'">
5 <meta http-equiv="Content-Security-Policy" content="script-src * 'unsafe -inline' 'nonce-nonceynonce'">
6 </head>
7 <body>
8 <script type="text/javascript" nonce="nonceynonce">
9 if (window.testRunner)
10 testRunner.dumpAsText();
11 alert("PASS");
12 </script>
13 </body>
14 <html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698