Bug 103936 - Long pause/hang after deleting last character of password field at bottom of large DOM tree
Summary: Long pause/hang after deleting last character of password field at bottom of ...
Status: RESOLVED DUPLICATE of bug 79815
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 15:12 PST by jmlai85
Modified: 2012-12-04 10:56 PST (History)
1 user (show)

See Also:


Attachments
Test page for reproducing issue (861 bytes, text/html)
2012-12-03 15:14 PST, jmlai85
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmlai85 2012-12-03 15:12:42 PST
Deleting the last remaining character in a password field causes a significant pause if the password field appears near the end of a large/complex page.

E.g. for a password field appearing at the bottom of a large document, type in "a" and then hit delete. There is a delay that is not present for password input forms appearing at the top of the page.

The pause/hang seems to be proportional (or worse) to the number of DOM elements *preceding* the password input field in the document tree. On a mobile device (tested on Mobile Safari on iOS), the hang can last for 10 seconds or longer for the slickdeals.net site mentioned below.

For a real-world example:

1) Go to http://slickdeals.net
2) Click on the "Log In" link in the upper right hand corner of the page.
3) A login form should appear. Type one or more characters into the password field.
4) Delete all characters from the password field. The last character takes slightly longer to remove.

For a synthetic example:

1) Download and open the attached html document.
2) Choose "Display 1000 items"
3) Enter and delete text in both password fields
4) Choose "Display 10000 items"
5) Enter and delete text in the password fields. This will hang the browser tab for an extended period of time.
Comment 1 jmlai85 2012-12-03 15:14:18 PST
Created attachment 177345 [details]
Test page for reproducing issue
Comment 2 Alexey Proskuryakov 2012-12-04 10:56:53 PST

*** This bug has been marked as a duplicate of bug 79815 ***