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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked.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-basic-blocked.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked.html
similarity index 96%
copy from LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html
copy to LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked.html
index 43dab4afedc91072fa828cfcf63791e981a0060b..ddd029acebef7c59d0c0960fead4e374fb222dc9 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-basic-blocked.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