Closed
Bug 260408
Opened 20 years ago
Closed 20 years ago
Using search/highlight feature hangs on large text file and search string is 1 char
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 251862
People
(Reporter: dd440, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10 Using "Edit->Find in This Page" with the Highlight feature turned on. If searching a large text file and the search string is one character long, Firefox will hang for a long time while trying to highligh all of the chars. I think Highlight should refuse to highlight strings shorter than 2 characters. This is especally true if the character is a often used one like the letter 'a'. Reproducible: Always Steps to Reproduce: 1. View a large text file (eg. ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6111/README.txt ) or and lager local text file will do. The above file has 145180 chars in it. 2. Do "Edit->Find in This Page" or "Ctrl+F" 3. Click "Highlight" and enter "a" in the Find box. Actual Results: Browser hung. I finally just killed it. Expected Results: Maybe turn highlight off when the string is only 1 character. May machine is a 1.1GHz AMD chip. It's not the fastest machine, but it's not a slug either. I tried it on a shorter file with only 200 characters and a 1 char search/highlight string works fine.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 251862 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•