[Webkit-unassigned] [Bug 236941] [QuickLook] WKPasswordView crash when re-enter password.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 06:23:04 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=236941

--- Comment #4 from yianzhou <yianzhou2 at gmail.com> ---
(In reply to Alexey Proskuryakov from comment #1)
> I do not understand the steps to reproduce. How can one enter the password
> again immediately? This just sounds like it's not a WebKit bug, but a bug in
> the application that invokes -userDidEnterPassword:forPasswordView: twice.
> 
> The title contains "[QuickLook]", can you please clarify how QuickLook is
> involved?
> 
> Perhaps it would be easiest to attach a screen recording of steps to
> reproduce.
> 
> For Apple employees, this is the same stack trace as:
> 
> rdar://69366428

Hello Alexey, I agree with you that it's a bug that invokes `-userDidEnterPassword:forPasswordView:` twice.

I think UIKit pass a block to WebKit, and WKPassword retain the block as property `userDidEnterPassword`. When the user double enter the password, it will crash.

I just upload a screen recording to reproduce the issue. Please check. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220223/6b362f36/attachment.htm>


More information about the webkit-unassigned mailing list