|
Allow huge data: URIs only via WebView.loadDataWithBaseUrl
This CL removes WebView hack for allowing 20MB URLs to
be passed via IPC.
To maintain compatibility with legacy apps, passing long
data: URIs is still allowed via WebView.loadDataWithBaseUrl,
which passes them as a string to circumvent the URL
length limit. Data URI only goes from the browser side
to the renderer side, but not back, because "history url"
(or "virtual url" in Chromium terms) is used for representing
the URL in other IPC messages.
BUG= 525697
Committed: https://crrev.com/bf08742205e9c6be216135b2466129614b674adf
Cr-Commit-Position: refs/heads/master@{#365454}
Total comments: 5
Total comments: 20
Total comments: 18
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+346 lines, -97 lines) |
Patch |
 |
M |
android_webview/browser/aw_browser_main_parts.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
android_webview/java/src/org/chromium/android_webview/AwContents.java
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java
|
View
|
1
2
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/native/state_serializer.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+27 lines, -1 line |
0 comments
|
Download
|
 |
M |
android_webview/native/state_serializer_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_android.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_entry_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_entry_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+38 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigator_impl.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/service_worker/service_worker_dispatcher.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/common_param_traits_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/content_constants_internal.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/navigation_params.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/framehost/NavigationControllerImpl.java
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content_public/browser/LoadUrlParams.java
|
View
|
1
2
3
|
6 chunks |
+35 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/navigation_controller.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/navigation_entry.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/common_param_traits.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_constants.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_constants.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/url_utils.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/public/common/url_utils.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+21 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+30 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 45 (19 generated)
|