|
Prepending view-source: does not load the source of the userscript. Instead,
Chrome attempts to install the userscript.
BUG=Prepending "view-source:" to userscripts' URLs is ignored
TEST=Load userscript with "view-source:" pre-pended. Expected: source code is
seen. Load userscript w/o "view-source:". Expected: dialog appears to install
userscript.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=135271
Total comments: 8
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+32 lines, -4 lines) |
Patch |
|
M |
content/browser/renderer_host/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/resource_dispatcher_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/request_extra_data.h
|
View
|
1
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/request_extra_data.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/resource_dispatcher.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/resource_dispatcher_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/resource_messages.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/view_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/renderer/navigation_state.h
|
View
|
1
2
3
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/renderer/navigation_state.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|