New issue
Advanced search Search tips

Issue 760873 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Task
Team-Security-UX



Sign in to add a comment

Handle SSL errors when WebState is not in a tab.

Project Member Reported by olivierrobin@chromium.org, Aug 31 2017

Issue description

Some WebState are not displayed in a tab (if the web state is used to fetch web pages, like Reading List pages).
The current SSL error process is to show an interstitial that requires user action.
For these WebStates, this will never happen.

This case should be handled differently.
 
Owner: eugene...@chromium.org
Status: Assigned (was: Untriaged)
Labels: Needs-Feedback
Oliver could you please provide steps to reproduce, actual behavior and expected behavior.

It is not WebState's job to show an interstitial, this job is delegated to //chrome layer, because SSL interstitial is UI concept. But in order to understand how Reading List should handle this flow correctly, I need more information.
As you reviewed https://chromium-review.googlesource.com/c/chromium/src/+/643295, you may already have a better understanding of the issue.

Problem is that iOS ChromeWebClient forwards SSL errors of all WebStates to IOSSSLErrorHandler, and IOSSSLErrorHandler shows an interstitial.
On WebStates that have no UI, this interstitial is never displayed to the user, and AFAICT, the webState is frozen.

I think either IOSSSLErrorHandler should not display interstitial if the WebState is in background, or ChromeWebClient should do the test (more desktop like).
Labels: -Needs-Feedback
Labels: -Type-Bug -Pri-2 Pri-3 Type-Task
Thanks Olivier! Seems like we need WebState::IsVisible() API to support this scenario.
Cc: eugene...@chromium.org
Components: -UI>Browser>Navigation
Owner: michaeldo@chromium.org

Comment 7 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt

Comment 8 by est...@chromium.org, Feb 18 2018

Labels: -Hotlist-EnamelAndFriendsFixIt

Sign in to add a comment