[Webkit-unassigned] [Bug 59111] New: WebKit2: Secure text input is not enabled when going back to a cached page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 21 10:12:06 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=59111
Summary: WebKit2: Secure text input is not enabled when going
back to a cached page
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ap at webkit.org
CC: beidson at apple.com
Steps to reproduce:
1. Open Keyboard Viewer from under a flag menu (enable it in International preferences if needed).
2. Open data:text/html,<input type=password>
3. Type something in the password input field. Observe that your typing isn't reflected in Keyboard Viewer.
4. Open data:text/html,<input> in the same tab.
5. Type something in the input, observe that typing is now reflected in Keyboard Viewer.
6. Click browser Back button.
7. Type something in the password input field.
Results: typing is visible in the Keyboard Viewer, although it obviously shouldn't.
This happens because we're setting up secure event mode in a respondToChangedSelection() when the password field is focused - but didCommitLoad is sent after a cached frame is fully restored, and we then reset it to "new page" state.
It's not easy to say when didCommitLoad should really be sent for cached page loads, but I think that doing it after a complete restore is definitely wrong.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list