Closed Bug 237160 Opened 21 years ago Closed 20 years ago

“Add to bookmark” name field filled with spaces for long string

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 237224

People

(Reporter: fwu, Assigned: p_ch)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8

When add the current website to bookmark, if the string for the Name field is
very long (eg. > 2^16=65536 characters) in the "Add to Bookmarks" popup window.
The Name field just shows spaces. Firebox may either set the string length limit
and monitor it or show the exact input in the Name field.

Reproducible: Always
Steps to Reproduce:
1. Generate a long string that longer than 65536 characters in Notepad or other
word processor and copy it to buffer
2. Click “Add to Bookmark” in Mozilla Firefox
3. Use Ctrl^v copy the buffer into the Name field of “Add to Bookmark” popup window
4. Notice the filed is just showing spaces.
5. Copy all the Name field out to a word processor, notice the string is OK.

Actual Results:  
The Name field is filled with spaces

Expected Results:  
The Name field is filled with the paste string or a warning message indicates
string is too long.

*** This bug has been marked as a duplicate of 237224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
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.