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

Issue 23464023: Temporarily disable NavigationHistoryTest.testNavigateBackToNoncacheableLoginPage (Closed)

Created:
7 years, 3 months ago by Nate Chapin
Modified:
7 years, 3 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org, abarth-chromium
Visibility:
Public.

Description

Temporarily disable NavigationHistoryTest.testNavigateBackToNoncacheableLoginPage https://codereview.chromium.org/22982011 will fix chromium's form resubmission defenses. Currently, we silently re-post on back/forward navigation, which is bad. This test sets Cache-Control: no-store, which prevents the page from being in our caches. On form resubmission, we should force cache usage and only go to the network with explicit permission from the user. BUG=263508 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221261

Patch Set 1 #

Patch Set 2 : Disable the test rather than change its caching policy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/NavigationHistoryTest.java View 1 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Nate Chapin
7 years, 3 months ago (2013-09-03 20:13:32 UTC) #1
mnaganov (inactive)
On 2013/09/03 20:13:32, Nate Chapin wrote: Hello, Nate! The "no-store" policy here is used intentionally. ...
7 years, 3 months ago (2013-09-04 12:34:52 UTC) #2
Nate Chapin
On 2013/09/04 12:34:52, Mikhail Naganov (Chromium) wrote: > On 2013/09/03 20:13:32, Nate Chapin wrote: > ...
7 years, 3 months ago (2013-09-04 16:22:42 UTC) #3
Nate Chapin
On 2013/09/04 16:22:42, Nate Chapin wrote: > On 2013/09/04 12:34:52, Mikhail Naganov (Chromium) wrote: > ...
7 years, 3 months ago (2013-09-04 18:06:43 UTC) #4
darin (slow to review)
LGTM
7 years, 3 months ago (2013-09-04 18:08:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/23464023/9001
7 years, 3 months ago (2013-09-04 18:11:15 UTC) #6
commit-bot: I haz the power
Change committed as 221261
7 years, 3 months ago (2013-09-04 20:44:01 UTC) #7
joth
could you open a bug to track re-enabling this test? For reference, the test was ...
7 years, 3 months ago (2013-09-04 21:00:20 UTC) #8
Nate Chapin
7 years, 3 months ago (2013-09-04 21:08:40 UTC) #9
Message was sent while issue was closed.
On 2013/09/04 21:00:20, joth wrote:
> could you open a bug to track re-enabling this test?
> For reference, the test was added after this broke and was fxed via blink
> rolls; see
>
https://b.corp.google.com/issue?id=8888772&query=8888772&gsessionid=bfFOAcn7G...
> 
> which also mentions receiving a WebViewClient.onFormResubmission() call
> would be reasonable thing to expect in this flow. (But note that requires
> updating client applications which is not a trivial thing to do)
> 
> 
> Thanks
> 
> 
> On 4 September 2013 13:44, <mailto:commit-bot@chromium.org> wrote:
> 
> > Change committed as 221261
> >
> >
>
https://chromiumcodereview.**appspot.com/23464023/%3Chttps://chromiumcoderevi...>
> >
> 
> To unsubscribe from this group and stop receiving emails from it, send an
email
> to mailto:chromium-reviews+unsubscribe@chromium.org.

Bug opened, thanks.

Powered by Google App Engine
This is Rietveld 408576698