Closed Bug 270339 Opened 20 years ago Closed 19 years ago

Renaming a bookmark to a local file causes infinite loop

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: vesok, Assigned: vladimir+bm)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

After dragging a local file to the bookmarks toolbar and attempting to rename
the bookmark the CPU load goes to 50% (on HT cpu) for ~5 sec, then I am greeted
with "A script on this page is causing mozilla to run slowly. If it continues to
run, your computer may become unresponsive. Do you want to abort the script?".
It I click cancel then the situation repeats. If I click OK (abort the script)
then the bookmark remains with its old name.

Reproducible: Always
Steps to Reproduce:
1. Create file c:\temp.htm with the following content(4 lines):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang=en>
<head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<TITLE>title</TITLE></HEAD><BODY><H1>h1</H1></body></html>
2. Open windows explorer and drag file c:\temp.htm to the bookmarks toolbar. You
will end up with a button captioned "file:///C:/temp.htm"
3. Right click on that new button, select Properties and change the name to
"temp". Click OK

Actual Results:  
The CPU load goes high... see the details. 

Expected Results:  
Rename the button, i.e. change it's caption.

Note that there is no script in the htm file.
Workaround: Bookmarks -> Manage Bookmarks -> open the Bookmark Toolbar folder,
Right - Click -> Select "New Bookmark...", enter the name you want and
"file:///C:/temp.htm" in the location bar. Note that the bookmark created that
way is not renameable as well.
Assignee: vladimir → vladimir+bm
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Bug still exists (slightly altered in FF 1.0.7 (Mozilla/5.0 (Windows; U; Windows
NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7)

Fixed in FF 1.5 Beta1 (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) 
Gecko/20050908 Firefox/1.4)
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
We don't know what fixed this worksforme
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.