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

Unified Diff: content/browser/tcmalloc_internals_request_job.cc

Issue 10178028: Fix pyauto test: testSpecialURLTab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add CSP to about:tcmalloc Created 8 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
« no previous file with comments | « chrome/test/functional/special_tabs.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tcmalloc_internals_request_job.cc
diff --git a/content/browser/tcmalloc_internals_request_job.cc b/content/browser/tcmalloc_internals_request_job.cc
index 85e5ad004d929a65f98368cbd69c2009faeb4bab..709ec66bcbe0eefdf0c232f867f5c1e692fea20d 100644
--- a/content/browser/tcmalloc_internals_request_job.cc
+++ b/content/browser/tcmalloc_internals_request_job.cc
@@ -70,6 +70,9 @@ void RequestTcmallocStatsFromChildRenderProcesses() {
void AboutTcmalloc(std::string* data) {
data->append("<!DOCTYPE html>\n<html>\n<head>\n");
+ data->append(
+ "<meta http-equiv=\"X-WebKit-CSP\" content=\"object-src 'none'; "
+ "script-src 'none' 'unsafe-eval'\">");
data->append("<title>tcmalloc stats</title>");
data->append("</head><body>");
« no previous file with comments | « chrome/test/functional/special_tabs.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698