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

Unified Diff: chrome/browser/resources/local_ntp/local_ntp.js

Issue 2805133004: Local NTP: Deploy strict-dynamic CSP (Closed)
Patch Set: Created 3 years, 8 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: chrome/browser/resources/local_ntp/local_ntp.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp.js b/chrome/browser/resources/local_ntp/local_ntp.js
index f30a67010313e5bd0e5047f5ef3ace27baacee30..8ba21d32b5aa53b73d264073f5ff1db0fe49d19c 100644
--- a/chrome/browser/resources/local_ntp/local_ntp.js
+++ b/chrome/browser/resources/local_ntp/local_ntp.js
@@ -3,6 +3,10 @@
// found in the LICENSE file.
+// NOTE: If you modify this file, you also have to change its hash in
+// local_ntp.html and in LocalNtpSource::GetContentSecurityPolicyScriptSrc.
Marc Treib 2017/04/07 16:46:15 This is somewhat inconvenient. The alternative wou
sfiera 2017/04/10 08:53:21 Is there a test that will fail straightforwardly i
Marc Treib 2017/04/10 10:11:18 Yup, that's what the newly added LocalNTPSmokeTest
sfiera 2017/04/10 10:28:53 What does a failure look like? I would hope for so
Marc Treib 2017/04/10 11:44:03 "Failed to find a valid digest in the 'integrity'
sfiera 2017/04/10 12:08:34 To be sure, the printed value is the actual value,
Marc Treib 2017/04/10 12:16:18 It's the value you have to paste in to make things
+
+
/**
* @fileoverview The local InstantExtended NTP.
*/

Powered by Google App Engine
This is Rietveld 408576698