Closed Bug 489935 Opened 15 years ago Closed 12 years ago

firefox hangs while highlighting a search in view selection source

Categories

(Toolkit :: View Source, defect)

1.9.0 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 429732

People

(Reporter: jbecerra, Unassigned)

Details

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

While testing the release candidate for 3.0.10, I found a hang while ad-hoc testing around search and highlighting. It happens in earlier releases, such as 3.0.7.

Steps:
1. Go to wikepedia.org and open an article such as the one of "United Kingdom"
2. Make a selection by dragging the mouse over an area of content
3. Right click on the selection to get the context menu and pick "view selection source"
4. In the resulting window, cmnd-F and search for a single letter and click on "highlight all"

Expected: The occurrences of the letter or whatever search are highlighted.

Actual: You get a hang, and eventually the option to stop an unresponsive script.

Depending on the steps, the browser can hang for about a minute before you get the option to stop the script. For example, if I search for something within the article, and I highlight all, and then do a content selection, view selection source, and then I do a search within the selection, I can see a more severe hang.

The error console showed:

Virhe: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsLoginManager.js :: anonymous :: line 282"  data: no]
Lähdetiedosto: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsLoginManager.js
Rivi: 282
(I pasted the error in a 3.0.7 fi build, so here goes the one in an en-us 3.0.10 build, just for clarity)

Error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: file:///Users/jbecerra/Desktop/Firefox.app/Contents/MacOS/components/nsLoginManager.js :: anonymous :: line 282"  data: no]
Source File: file:///Users/jbecerra/Desktop/Firefox.app/Contents/MacOS/components/nsLoginManager.js
Line: 282
dup of bug 429732?
Tested on FF 17.01 , Vista 32 bit.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.