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

Issue 430443003: Use unchecked InputStream methods in the android_webview. (Closed)

Created:
6 years, 4 months ago by mkosiba (inactive)
Modified:
6 years, 4 months ago
Reviewers:
Torne
CC:
chromium-reviews, android-webview-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Don't crash on InputStream exceptions in the android_webview. The InputStream methods can, under normal operation, throw an IOException. If such a stream is being read by the WebView it will crash. This change addresses that by introducing a wrapper class that deals with the exceptions. BUG=157880 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286214

Patch Set 1 #

Patch Set 2 : remove old InputStream jni #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -23 lines) Patch
A android_webview/java/src/org/chromium/android_webview/InputStreamUtil.java View 1 chunk +70 lines, -0 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java View 1 chunk +43 lines, -0 lines 0 comments Download
M android_webview/native/input_stream_impl.cc View 4 chunks +16 lines, -13 lines 0 comments Download
M android_webview/native/input_stream_unittest.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 3 chunks +1 line, -10 lines 0 comments Download
M android_webview/unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnittest.java View 2 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mkosiba (inactive)
6 years, 4 months ago (2014-07-29 12:33:47 UTC) #1
Torne
lgtm
6 years, 4 months ago (2014-07-29 13:18:34 UTC) #2
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 4 months ago (2014-07-29 13:26:37 UTC) #3
mkosiba (inactive)
The CQ bit was unchecked by mkosiba@chromium.org
6 years, 4 months ago (2014-07-29 13:26:39 UTC) #4
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 4 months ago (2014-07-29 13:27:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/430443003/20001
6 years, 4 months ago (2014-07-29 13:29:11 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 16:35:52 UTC) #7
Message was sent while issue was closed.
Change committed as 286214

Powered by Google App Engine
This is Rietveld 408576698