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

Issue 1457343002: Instr. test for calling onPageFinished as provisional JS redirect fails (Closed)

Created:
5 years, 1 month ago by gsennton
Modified:
5 years ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Instr. test for calling onPageFinished as provisional JS redirect fails BUG=557100

Patch Set 1 #

Patch Set 2 : Make JS redirect fail by creating new navigation. #

Patch Set 3 : Make redirect shouldOverrideUrlLoading call wait for set time period. Clean up code. #

Total comments: 7

Patch Set 4 : Address Mikhail's comments: naming + add onFailedLoad call count. #

Total comments: 1

Messages

Total messages: 16 (2 generated)
gsennton
Hi Mikhail, this is my attempt at adding an instrumentation test for crbug.com/557100 (together with ...
5 years, 1 month ago (2015-11-19 17:10:53 UTC) #2
mnaganov (inactive)
On 2015/11/19 17:10:53, gsennton wrote: > Hi Mikhail, this is my attempt at adding an ...
5 years, 1 month ago (2015-11-19 17:43:18 UTC) #3
gsennton
On 2015/11/19 17:43:18, mnaganov wrote: > On 2015/11/19 17:10:53, gsennton wrote: > > Hi Mikhail, ...
5 years, 1 month ago (2015-11-20 02:22:13 UTC) #4
mnaganov (inactive)
On 2015/11/20 02:22:13, gsennton wrote: > On 2015/11/19 17:43:18, mnaganov wrote: > > On 2015/11/19 ...
5 years, 1 month ago (2015-11-20 17:38:27 UTC) #5
gsennton
Hey, so we now create a JS redirect when the server is about to respond ...
5 years ago (2015-11-24 23:14:16 UTC) #6
mnaganov (inactive)
On 2015/11/24 23:14:16, gsennton wrote: > Hey, so we now create a JS redirect when ...
5 years ago (2015-11-25 18:18:24 UTC) #7
gsennton
On 2015/11/25 18:18:24, mnaganov wrote: > On 2015/11/24 23:14:16, gsennton wrote: > > Hey, so ...
5 years ago (2015-11-26 12:02:47 UTC) #8
mnaganov (inactive)
On 2015/11/26 12:02:47, gsennton wrote: > On 2015/11/25 18:18:24, mnaganov wrote: > > On 2015/11/24 ...
5 years ago (2015-11-26 23:38:01 UTC) #9
gsennton
I think PS3 is the most reliable way to get this to work -- I ...
5 years ago (2015-11-30 13:17:35 UTC) #10
mnaganov (inactive)
OK. At least now it seems to fail reliably. Is it correct that in the ...
5 years ago (2015-11-30 17:16:39 UTC) #11
gsennton
>>> Is it correct that in the case when it passes, it doesn't actually need ...
5 years ago (2015-12-01 11:49:29 UTC) #12
mnaganov (inactive)
LGTM Right, you shouldn't be committing a test that is currently failing. You can either ...
5 years ago (2015-12-01 16:42:22 UTC) #13
gsennton
On 2015/12/01 16:42:22, mnaganov wrote: > LGTM > > Right, you shouldn't be committing a ...
5 years ago (2015-12-01 16:55:20 UTC) #14
mnaganov (inactive)
5 years ago (2015-12-01 16:57:20 UTC) #15
On 2015/12/01 16:55:20, gsennton wrote:
> On 2015/12/01 16:42:22, mnaganov wrote:
> > LGTM
> > 
> > Right, you shouldn't be committing a test that is currently failing. You can
> > either combine it with the patch that introduces the fix, or mark the test
as
> > @DisabledTest for now, and then enable it in the fixing patch.
> > 
> >
>
https://codereview.chromium.org/1457343002/diff/60001/android_webview/java/sr...
> > File
> android_webview/java/src/org/chromium/android_webview/AwContentsClient.java
> > (right):
> > 
> >
>
https://codereview.chromium.org/1457343002/diff/60001/android_webview/java/sr...
> >
>
android_webview/java/src/org/chromium/android_webview/AwContentsClient.java:337:
> > // Only used for testing
> > nit: After the rename, this comment is not needed anymore :)
> 
> Right, thanks :) I added the test to
https://codereview.chromium.org/1440933004/
> where the fix is. I will add you as reviewer there.

You can just TBR me on that CL then.

Powered by Google App Engine
This is Rietveld 408576698