Closed Bug 422300 Opened 16 years ago Closed 16 years ago

bookmarks are half deleted

Categories

(Firefox :: Bookmarks & History, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: gobaudd, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MAXTHON 2.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12

creating bookmarks via below function with a trailing \r\n in the uri causes firefox to half delete them on restart

	createBookmarklet: function(bmksSvc, name, uri, description, index) {
		var rsrc = bmksSvc.createBookmarkInContainer(name, uri,
	            null, // shortcut
				description, "UTF-8",
				null, // postData
				bmksSvc.getBookmarksToolbarFolder(), index);
				
	   return bmksSvc.isBookmarkedResource(rsrc);
	}

Reproducible: Always

Steps to Reproduce:
1.
2.
3.


Expected Results:  
bookmarks to not be deleted or creation to fail
Could you test this with Beta4 ?
what is beta4? is there a windows installer? i dont want to build from source.
my plugin doesnt work in ff3 so it wont run. i dont have time right now to figure out how to make a ff3 plugin and test.
Version: unspecified → 2.0 Branch
Bulk closing all UNCONFIRMED bugs dealing with places that haven't had any bug activity in over 120 days, have no votes, and are not enhancement requests.

If you are still experiencing this issue in Firefox 3.0 or later, please re-open the bug with steps to reproduce (if they were not part of the original comment).
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: