New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 638593 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Move WebAuthFlow away from deprecated WebContentsObserver methods

Project Member Reported by blundell@chromium.org, Aug 17 2016

Issue description

WebAuthFlow currently listens for the DidStartProvisionalLoadForFrame() and DidFailProvisionalLoad() WebContentsObserver callbacks. However, these callbacks are deprecated and cannot be relied on when PlzNavigate is enabled. WebAuthFlow should migrate to listening for DidStartNavigation() and DidFinishNavigation().

This bug is the cause of the following browser_tests failures when run with PlzNavigate enabled:

LaunchWebAuthFlowFunctionTest.InteractiveFirstNavigationSuccess
LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess


 

Comment 1 by ajha@chromium.org, Aug 22 2016

Components: UI>Browser>Navigation

Comment 2 by nasko@chromium.org, Aug 22 2016

Cc: nasko@chromium.org
Cc: yzshen@chromium.org

Comment 4 by yzshen@chromium.org, Sep 16 2016

Cc: -yzshen@chromium.org
Owner: yzshen@chromium.org
Project Member

Comment 5 by bugdroid1@chromium.org, Sep 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7e5f997391d09180d98f1d91cb1056f549341e15

commit 7e5f997391d09180d98f1d91cb1056f549341e15
Author: yzshen <yzshen@chromium.org>
Date: Thu Sep 22 19:05:33 2016

Change WebAuthFlow to use the new WebContentsObserver navigation notifications.

This fixes the following browser tests for PlzNavigate:
  LaunchWebAuthFlowFunctionTest.InteractiveFirstNavigationSuccess
  LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess

BUG= 638593 

Review-Url: https://codereview.chromium.org/2342233004
Cr-Commit-Position: refs/heads/master@{#420415}

[modify] https://crrev.com/7e5f997391d09180d98f1d91cb1056f549341e15/chrome/browser/extensions/api/identity/web_auth_flow.cc
[modify] https://crrev.com/7e5f997391d09180d98f1d91cb1056f549341e15/chrome/browser/extensions/api/identity/web_auth_flow.h

Project Member

Comment 6 by bugdroid1@chromium.org, Sep 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/af50f33e45cccbb63c1d923b5ac5580853b43590

commit af50f33e45cccbb63c1d923b5ac5580853b43590
Author: yzshen <yzshen@chromium.org>
Date: Thu Sep 22 20:56:00 2016

Update PlzNavigate browser test filter after WebAuthFlow fix.

The corresponding fix is https://codereview.chromium.org/2342233004/

BUG= 638593 

Review-Url: https://codereview.chromium.org/2345383002
Cr-Commit-Position: refs/heads/master@{#420455}

[modify] https://crrev.com/af50f33e45cccbb63c1d923b5ac5580853b43590/testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter

Comment 7 by yzshen@chromium.org, Sep 22 2016

Status: Fixed (was: Available)

Sign in to add a comment