|
Add facility to fix about: and file: links from chrome:// pages.
Currently, about: links all go to about:blank. This fixes that for left clicks and middle clicks, although context menu navigations (e.g. open in new tab) still won't work.
This also "fixes" file: links in the same way. Currently, file links already work as is, but after we make --new-chrome-ui-security-model the default, they will cease to work without this fix. Context menu navigations will, however, continue to work.
The fix is currently applied to the history page and one link in settings.
BUG= 69140
TEST=manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72401
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+121 lines, -21 lines) |
Patch |
 |
M |
chrome/browser/dom_ui/dom_ui.cc
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/generic_handler.h
|
View
|
1
2
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/dom_ui/generic_handler.cc
|
View
|
1
2
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/new_tab_ui.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/options/content_settings_handler.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/options/content_settings_handler.cc
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/options/options_ui.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/history.html
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings.js
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings_exceptions_area.html
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/shared/js/util.js
|
View
|
1
2
|
1 chunk |
+28 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|