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

Unified Diff: chrome/test/functional/special_tabs.py

Issue 7455005: Apply content-security-policy to chrome://net-internals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « chrome/browser/ui/webui/net_internals_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/special_tabs.py
===================================================================
--- chrome/test/functional/special_tabs.py (revision 93894)
+++ chrome/test/functional/special_tabs.py (working copy)
@@ -60,7 +60,8 @@
'chrome://history2': { 'title': 'History', 'CSP': False },
'chrome://media-internals': { 'title': 'Media Internals', 'CSP': False },
'chrome://memory-redirect': { 'title': 'About Memory' },
- 'chrome://net-internals': { 'CSP': False },
+ 'chrome://net-internals': {},
+ 'chrome://net-internals/help.html': {},
'chrome://newtab': { 'title': 'New Tab', 'CSP': False },
'chrome://plugins': { 'title': 'Plug-ins' },
'chrome://sessions': { 'title': 'Sessions', 'CSP': False },
@@ -286,7 +287,7 @@
else:
include_list.extend(['X-WebKit-CSP'])
exclude_list.extend(['<script>', 'onclick=', 'onload=',
- 'onchange=', 'onsubmit='])
+ 'onchange=', 'onsubmit=', 'javascript:'])
if 'includes' in properties:
include_list.extend(properties['includes'])
if 'excludes' in properties:
« no previous file with comments | « chrome/browser/ui/webui/net_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698