New issue
Advanced search Search tips

Issue 766926 link

Starred by 7 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug

Blocking:
issue 671916



Sign in to add a comment

MacViewsBrowser uses the toolkit-views certificate selector, but the native OS certificate viewer

Project Member Reported by tapted@chromium.org, Sep 20 2017

Issue description

Chrome Version       : 63.0.3219.0
OS Version: OS X 10.12.6

Non-test repro: Navigate to https://server.cryptomix.com/secure

it should use the native dialog for both.

To summon the dialog, run

 browser_tests --gtest_filter=BrowserUiTest.Invoke --ui=CertificateSelectorDialogTest.InvokeUi_default --test-launcher-interactive

(note to "fix" this Issue, that test will probably need to be disabled, since BrowserUiTest has no way to detect native windows).
 
cocoa_select.png
59.6 KB View Download
cocoa_select_view.png
75.8 KB View Download
mac_views_browser_select.png
83.8 KB View Download
mac_views_browser_select_view.png
77.0 KB View Download
I'm gonna have a go at this issue!

Comment 2 by tapted@chromium.org, Sep 21 2017

neat :)

Note https://chromium-review.googlesource.com/c/chromium/src/+/661721 just landed which gives a way to invoke this dialog in mac_views_browser via a browser_test, so you don't need to ping some website for a certificate request.
Thank you for the heads up...
Labels: MacViews-Browser Target-69
MacViews triage: tagging for M69, but leaving unassigned for now.

Comment 6 by gov...@chromium.org, Mar 27 2018

Labels: M-69
Owner: spqc...@chromium.org
Status: Assigned (was: Available)
Owner: ----
Status: Untriaged (was: Assigned)
Owner: robliao@chromium.org
Status: Assigned (was: Untriaged)
MacViews triage: over to robliao@
Labels: -M-69 Group-Views_Regressions_from_Cocoa
Labels: M-69
robliao@ - ping :) this is pretty busted for some use cases of the selector especially. We should use the native selector.
Labels: -Pri-2 Pri-1
Status: Started (was: Assigned)
Marking this P1.
Labels: ReleaseBlock-Stable
"RBS" as this is P1 blocking MacViews launch.
Description: Show this description
Project Member

Comment 16 by bugdroid1@chromium.org, Jul 23

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

commit 7fbbd5f29e26ea66c2a154bbcc97707574dac518
Author: Robert Liao <robliao@chromium.org>
Date: Mon Jul 23 17:46:55 2018

Use the Native Certificate Viewer on MacOS even on MacViews

BUG= 766926 

Change-Id: I6d0302763687bbb4fe30682684ad85a2ac79f782
Reviewed-on: https://chromium-review.googlesource.com/1145674
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577201}
[modify] https://crrev.com/7fbbd5f29e26ea66c2a154bbcc97707574dac518/chrome/browser/ui/views/ssl_client_certificate_selector.cc

Pls request a merge to M69 for CL listed at #16 once change is baked/verified in canary and safe to merge. Thank you.
Labels: Merge-Request-69

Comment 19 Deleted

Verified on Mac 70.0.3501.0
Screenshot.png
117 KB View Download
Labels: -Merge-Request-69 Merge-Approved-69
Approving merge to M69 branch 3497 based on comment #20. Please merge. Thank you.
Project Member

Comment 22 by bugdroid1@chromium.org, Jul 24

Labels: -merge-approved-69 merge-merged-3497
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5d64a4697775ffcc7d4524bef5da775e7f3c11f7

commit 5d64a4697775ffcc7d4524bef5da775e7f3c11f7
Author: Robert Liao <robliao@chromium.org>
Date: Tue Jul 24 20:48:06 2018

Use the Native Certificate Viewer on MacOS even on MacViews

BUG= 766926 

Change-Id: I6d0302763687bbb4fe30682684ad85a2ac79f782
Reviewed-on: https://chromium-review.googlesource.com/1145674
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Robert Liao <robliao@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#577201}(cherry picked from commit 7fbbd5f29e26ea66c2a154bbcc97707574dac518)
Reviewed-on: https://chromium-review.googlesource.com/1148610
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/branch-heads/3497@{#51}
Cr-Branched-From: 271eaf50594eb818c9295dc78d364aea18c82ea8-refs/heads/master@{#576753}
[modify] https://crrev.com/5d64a4697775ffcc7d4524bef5da775e7f3c11f7/chrome/browser/ui/views/ssl_client_certificate_selector.cc

Can this be marked as fixed if nothing else is pending?
Status: Fixed (was: Started)
Nope. This is done! Marking fixed.
Labels: Needs-Feedback
Unable to reproduce the issue on Mac 10.12.6 and 10.13.5 using chrome 63.0.3219.0 and latest 70.0.3501.0.
Steps:
-----
1. Launched chrome on by using terminal " --gtest_filter=BrowserUiTest.Invoke --ui=CertificateSelectorDialogTest.InvokeUi_default --test-launcher-interactive "
2. Enabled Cocoa flag from chrome://flags
As we have not seen certificate selector

robliao@chromium.org: It would be really helpful if a sample URL is provided, so that we can verifying the fix.

Thanks...!
766926.mp4
1.7 MB View Download
Description: Show this description
Cc: phanindra.mandapaka@chromium.org
Labels: -Needs-Feedback
Clearing Needs-Feedback per #27.

Sign in to add a comment