Closed Bug 356736 Opened 20 years ago Closed 19 years ago

Dragging about:config to bookmarks menu does not create a bookmark

Categories

(Firefox :: Bookmarks & History, defect)

2.0 Branch
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: pavel.penaz, Unassigned)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1) Gecko/20061003 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1) Gecko/20061003 Firefox/2.0 Dragging about:config to bookmarks menu does not create a bookmark. The same applies to dragging about:config to the bookmarks toolbar. Reproducible: Always Steps to Reproduce: 1. open about:config 2. drag about:config from URL bar to the bookmarks menu 3. check whether bookmark for about:config has been created Actual Results: No bookmark created Expected Results: Bookmark for about:config gets created
*** Bug 270050 has been marked as a duplicate of this bug. ***
> Dragging about:config to bookmarks menu does not create a bookmark. The same > applies to dragging about:config to the bookmarks toolbar. ...and sidebar. doesn't work in linux fx2.0rc1, worksforme on trunk 20060924 (a places build) Virhe: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIRDFDataSource.GetTarget]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/bookmarks/bookmarks.js :: anonymous :: line 1864" data: no]
OS: Windows XP → All
It's failing here (on the last line): createBookmark: function (aName, aURL, aCharSet, aDefaultName) { if (!aName) { // look up in the history ds to retrieve the name var rSource = RDF.GetResource(aURL); var HISTDS = RDF.GetDataSource("rdf:history"); var nameArc = RDF.GetResource(gNC_NS+"Name"); var rName = HISTDS.GetTarget(rSource, nameArc, true); It tries to pull the name history datasouce, but barfs because I don't think we store about:config in the history.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: PC → All
Version: unspecified → 2.0 Branch
Seems fixed on latest trunk builds on Windows Vista. Can someone confirm? Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a8pre) Gecko/2007091509 Minefield/3.0a8pre
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Unless you can identify what fixed, the correct resolution is WORKSFORME
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.