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

Issue 12620004: [android_webview] Fake onReceivedError callback for intercepted navigations. (Closed)

Created:
7 years, 9 months ago by mkosiba (inactive)
Modified:
7 years, 9 months ago
Reviewers:
joth, benm (inactive)
CC:
chromium-reviews, android-webview-reviews_chromium.org
Visibility:
Public.

Description

[android_webview] Fake onReceivedError callback for intercepted navigations. In WebViewClassic a failed intercepted navigation would cause the onReceivedError callback to be fired. BUG=180950 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188171

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Total comments: 4

Patch Set 6 : make findbugs happy #

Messages

Total messages: 15 (0 generated)
mkosiba (inactive)
https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode122 android_webview/java/src/org/chromium/android_webview/AwContents.java:122: private final String mOnReceivedErrorUnknownErrorDescriptionString; this is ugly.. does anyone ...
7 years, 9 months ago (2013-03-11 18:36:46 UTC) #1
joth
https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode122 android_webview/java/src/org/chromium/android_webview/AwContents.java:122: private final String mOnReceivedErrorUnknownErrorDescriptionString; On 2013/03/11 18:36:46, Martin Kosiba ...
7 years, 9 months ago (2013-03-11 18:51:27 UTC) #2
mkosiba (inactive)
https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/4001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode160 android_webview/java/src/org/chromium/android_webview/AwContents.java:160: // crbug.com/180950 On 2013/03/11 18:51:28, joth wrote: > Can ...
7 years, 9 months ago (2013-03-12 13:51:24 UTC) #3
benm (inactive)
https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode164 android_webview/java/src/org/chromium/android_webview/AwContents.java:164: ErrorCodeConversionHelper.ERROR_UNKNOWN, If I understood the bug correctly, should this ...
7 years, 9 months ago (2013-03-12 14:14:16 UTC) #4
joth
https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode151 android_webview/java/src/org/chromium/android_webview/AwContents.java:151: AwContents.this.mContentsClient.shouldInterceptRequest(url); nit: this function (and class) is inconsistent in ...
7 years, 9 months ago (2013-03-12 16:36:39 UTC) #5
mkosiba (inactive)
https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/12620004/diff/8001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode151 android_webview/java/src/org/chromium/android_webview/AwContents.java:151: AwContents.this.mContentsClient.shouldInterceptRequest(url); On 2013/03/12 16:36:39, joth wrote: > nit: this ...
7 years, 9 months ago (2013-03-13 16:09:07 UTC) #6
benm (inactive)
lgtm https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode330 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:330: assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); s/CommonResource.ABOUT_FILENAME/aboutpageUrl/ ?
7 years, 9 months ago (2013-03-13 16:19:44 UTC) #7
mkosiba (inactive)
https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode330 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:330: assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); On 2013/03/13 16:19:44, benm wrote: ...
7 years, 9 months ago (2013-03-13 16:30:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/12620004/14001
7 years, 9 months ago (2013-03-13 16:31:20 UTC) #9
benm (inactive)
https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode330 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:330: assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); I see. Just looked a ...
7 years, 9 months ago (2013-03-13 16:34:44 UTC) #10
mkosiba (inactive)
https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java (right): https://codereview.chromium.org/12620004/diff/14001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java#newcode330 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java:330: assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); On 2013/03/13 16:34:44, benm wrote: ...
7 years, 9 months ago (2013-03-13 16:49:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/12620004/14001
7 years, 9 months ago (2013-03-13 18:58:53 UTC) #12
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=43982
7 years, 9 months ago (2013-03-13 20:24:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/12620004/36001
7 years, 9 months ago (2013-03-14 11:35:35 UTC) #14
commit-bot: I haz the power
7 years, 9 months ago (2013-03-14 20:21:46 UTC) #15
Message was sent while issue was closed.
Change committed as 188171

Powered by Google App Engine
This is Rietveld 408576698