[wp-trac] [WordPress Trac] #31772: Browser unresponsive with long password

WordPress Trac noreply at wordpress.org
Mon Apr 6 22:42:33 UTC 2015


#31772: Browser unresponsive with long password
--------------------------+--------------------------------------
 Reporter:  BevanR        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, performance
--------------------------+--------------------------------------
Changes (by BevanR):

 * keywords:  needs-patch => has-patch


Comment:

 The patch is ready for review and further testing.  I have tested it as
 per the ticket description.

 There appears to be no automated test suite for JavaScript, so I believe
 no code tests can nor should be provided with this patch.

 If there is a JavaScript test suite the test should call
 `wp.passwordStrength.meter(long, [], long)` with a 2000+ character
 password and check it returns within 100ms.  Those numbers may need
 further testing and tweaking to be sure that the time taken and expected
 time (threshold) is sufficiently different on all hardware and test
 environments which the test suite is likely to run on.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31772#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list