After <http://trac.webkit.org/changeset/42012>, fast/forms/select-max-length.html is frequently timing out on my MacBook Pro in a debug build. Running the test manually shows it takes around 17 seconds to complete, which is above the new 15s threshold.
It looks like HTMLSelectElement::setLength() is O(N^2)
Maybe we should back out r42012
(Obviously it would be good to improve the test's performance, too!)
*** Bug 24889 has been marked as a duplicate of this bug. ***
Fixing HTMLSelectElement::setLength would be a better idea, unless there are other tests also timing out.
I have a patch that drops the time of this test from 17 seconds down to around 4.5 seconds by improving HTMLSelectElement::setLength. I need to verify that the change is safe in the face of fun things like mutation events, and then will put a patch up for review.
Fixed in r42050.