|
Apply content-security-policy to chrome://plugins page. This involves
converting all inline javascript to external .js files, since CSP can't
determine whether inline script is legitimate or an XSS.
We move the jstemplate_compiled.js file to the share resources directory,
since several WEBUI components will need this, and update the compile.py
script that produces it to write to this new location.
We move the javascript out of plugins.html to plugins.js; note that the
sections at line 130 and line 251 are new.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=87358
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+357 lines, -324 lines) |
Patch |
|
M |
chrome/browser/browser_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/resources/plugins.html
|
View
|
1
2
3
4
|
6 chunks |
+21 lines, -235 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/plugins.js
|
View
|
1
2
3
|
1 chunk |
+255 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/resources/shared/js/jstemplate_compiled.js
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/resources/shared_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/plugins_ui.cc
|
View
|
1
2
3
4
|
3 chunks |
+51 lines, -65 lines |
0 comments
|
Download
|
|
M |
chrome/common/common_resources.grd
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/third_party/jstemplate/README.chromium
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/third_party/jstemplate/compile.py
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
|
D |
chrome/third_party/jstemplate/jstemplate_compiled.js
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|