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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html

Issue 14949017: Implementation of W3C compliant CSP script-src nonce. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor fixes based on Adam's comments Created 7 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html
index 7023233e178a3290242f4d6d64c229a492f9be23..93279c38ca2c5596379b42118bd500654f87bc28 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Security-Policy" content="script-nonce noncynonce;">
+ <meta http-equiv="Content-Security-Policy" content="script-src 'nonce-noncynonce'">
<script nonce="noncynonce">
if (window.testRunner)
testRunner.dumpAsText();

Powered by Google App Engine
This is Rietveld 408576698