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

Issue 7455005: Apply content-security-policy to chrome://net-internals. (Closed)

Created:
9 years, 5 months ago by Tom Sepez
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Nirnimesh, John Grabowski, arv (Not doing code reviews), dyu1, Paweł Hajdan Jr., anantha, mmenke
Visibility:
Public.

Description

Apply content-security-policy to chrome://net-internals. Also get rid of yucky data: urls and serve help page from this UI source as well. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93953

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 10

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -169 lines) Patch
A chrome/browser/resources/net_internals/help.html View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/resources/net_internals/help.js View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/net_internals/index.html View 1 2 3 4 5 6 chunks +15 lines, -101 lines 0 comments Download
A chrome/browser/resources/net_internals/index.js View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
M chrome/browser/resources/net_internals_resources.grd View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/net_internals_ui.cc View 1 2 4 chunks +13 lines, -65 lines 0 comments Download
M chrome/test/functional/special_tabs.py View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Tom Sepez
Next one.
9 years, 5 months ago (2011-07-19 22:23:02 UTC) #1
abarth-chromium
Looks plausible to me, but I'm far from the expert here.
9 years, 5 months ago (2011-07-19 22:32:26 UTC) #2
eroman
Could you give me a brief introduction as to what content-security-policy is, or where I ...
9 years, 5 months ago (2011-07-20 01:13:06 UTC) #3
Evan Stade
On 2011/07/20 01:13:06, eroman wrote: > Could you give me a brief introduction as to ...
9 years, 5 months ago (2011-07-20 01:23:24 UTC) #4
Evan Stade
http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/help.js File chrome/browser/resources/net_internals/help.js (right): http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/help.js#newcode5 chrome/browser/resources/net_internals/help.js:5: document.addEventListener("DOMContentLoaded", function () { always use single quotes in ...
9 years, 5 months ago (2011-07-20 01:36:16 UTC) #5
eroman
LGTM. thanks for cleaning up the help too! http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/index.js File chrome/browser/resources/net_internals/index.js (right): http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/index.js#newcode34 chrome/browser/resources/net_internals/index.js:34: "click", ...
9 years, 5 months ago (2011-07-20 01:50:34 UTC) #6
eroman
http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/index.js File chrome/browser/resources/net_internals/index.js (right): http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/index.js#newcode33 chrome/browser/resources/net_internals/index.js:33: document.getElementById("help-for-bug-dump").addEventListener( On 2011/07/20 01:36:16, Evan Stade wrote: > $() ...
9 years, 5 months ago (2011-07-20 01:52:54 UTC) #7
Tom Sepez
Not present and I didn't want to burden the page with utils.js just for this ...
9 years, 5 months ago (2011-07-20 18:34:39 UTC) #8
Evan Stade
On 2011/07/20 18:34:39, Tom Sepez wrote: > Not present and I didn't want to burden ...
9 years, 5 months ago (2011-07-20 18:57:15 UTC) #9
Tom Sepez
Okay, added the $s http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/help.js File chrome/browser/resources/net_internals/help.js (right): http://codereview.chromium.org/7455005/diff/4001/chrome/browser/resources/net_internals/help.js#newcode5 chrome/browser/resources/net_internals/help.js:5: document.addEventListener("DOMContentLoaded", function () { On ...
9 years, 5 months ago (2011-07-25 16:59:13 UTC) #10
Tom Sepez
Ok, I think I've finally got these cleaned up, please review.
9 years, 5 months ago (2011-07-25 17:16:45 UTC) #11
Evan Stade
lgtm
9 years, 5 months ago (2011-07-25 17:47:00 UTC) #12
Tom Sepez
9 years, 5 months ago (2011-07-25 18:09:23 UTC) #13

Powered by Google App Engine
This is Rietveld 408576698