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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html

Issue 2020223002: Refactor nonce support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inline
Patch Set: Rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html
deleted file mode 100644
index af1e4e55959fbba072b3fba5a7150fb14708a63b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-invalidnonce.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src='../resources/multiple-iframe-test.js'></script>
-<script>
-var tests = [
- ['no', 'script-src \'n', 'resources/script.js', ''],
- ['no', 'script-src \'nonce', 'resources/script.js', ''],
- ['no', 'script-src \'nonce-\'', 'resources/script.js', ''],
- ['no', 'script-src \'nonce-', 'resources/script.js', ''],
- ['no', 'script-src nonce-abcd', 'resources/script.js', ''],
- ['no', 'script-src \'nonce- \'', 'resources/script.js', ''],
- ['no', 'script-src \'nonce- \'', 'resources/script.js', ''],
- ['no', 'script-src \'nonce- nonces have no spaces\'', 'resources/script.js', ''],
- ['no', 'script-src \'nonce-{}\'', 'resources/script.js', '{}'],
- ['no', 'script-src \'nonce-/\\\'', 'resources/script.js', '/\\'],
-];
-</script>
-</head>
-<body onload="testExperimentalPolicy()">
- <p>
- None of these scripts should execute, as all the nonces are invalid.
- </p>

Powered by Google App Engine
This is Rietveld 408576698