Bug 1786170 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Here's the patch with the new test that I mentioned in the STR.

It populates an input element with 1000 iterations of "abc" and then attempts to find each of them in order.

(This test tries to be a bit more graceful at handling errors than `test_bug1785739.html` -- if our position gets reset for some reason, the test resets its expectations based on that new position.  Otherwise every subtest after the first failure is trivially also a failure, and that just adds noise.)
Here's the patch with the new test that I mentioned in the STR.

It populates an input element with 1000 iterations of "abc" and then attempts to find each of them in order.

(This test tries to be a bit more graceful at handling errors than `test_bug1785739.html` -- if our position gets reset for some reason, this new test resets its expectations based on that new position.  Otherwise every subtest after the first failure is trivially also a failure, and that just adds noise.)

Back to Bug 1786170 Comment 1