Closed Bug 286503 Opened 20 years ago Closed 18 years ago

Exception in bookmarks.js by selecting the bookmark of a site without Favicon

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
minor

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: sugar.waffle, Unassigned)

References

()

Details

The following errors occur by selecting the Boookmark when some URL of the same domain without Favicon is registered in the bookmark. Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://browser/content/bookmarks/bookmarks.js :: anonymous :: line 1657" data: no] Source File: chrome://browser/content/bookmarks/bookmarks.js Line: 1657 Reproducible: Always Steps to Reproduce: 1. Some URL of the same domain without Favicon is registered in the bookmark. ex) http://www.excite.co.jp/ http://www.excite.co.jp/world/ 2. start Firefox and the bookmark registered in step 1 is selected. Windows XP Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.8b2) Gecko/20050316 Firefox/1.0+
The line number has changed one line but otherwise I'm still seeing this: Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://browser/content/bookmarks/bookmarks.js :: anonymous :: line 1658" data: no] Source File: chrome://browser/content/bookmarks/bookmarks.js Line: 1658
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Exception is generated by selecting the bookmark of the site without Favicon. → Exception is generated by selecting the bookmark of the site without Favicon.
The line number has changed once again (Deer Park Alpha 1): Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://browser/content/bookmarks/bookmarks.js :: anonymous :: line 1662" data: no] Source File: chrome://browser/content/bookmarks/bookmarks.js Line: 1662 The code line is: chan.asyncOpen(listener, null); in loadFavIcon function. The problem seems to stem from bad ICON attribute in bookmarks.html. When the link has no favicon, it shouldn't have any ICON attribute. But if, for some reason I couldn't reproduce, there is an ICON attribute with the value "data:" (only) - the exception occurs.
I can't verify this on posted URLs in comment 0. Instead following URL will show the js error every time (after the cache is cleared). http://www.ntsvcfg.de/linkblock.html The exception also appears with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050716 Firefox/1.0+
Blocks: 296661
OS: Windows XP → All
Hardware: PC → All
Summary: Exception is generated by selecting the bookmark of the site without Favicon. → Exception in bookmarks.js by selecting the bookmark of a site without Favicon
Exception is thrown in bookmarks.js at [1] when trying to load 9475a6af-6352-4251-90f9-d65b1cd2ea15 (interface nsIHttpEventSink). Calling with this uuid "this.QueryInterface(iid);" throws the exception. [1] http://lxr.mozilla.org/seamonkey/source/browser/components/bookmarks/content/bookmarks.js#2245
Assignee: vladimir+bm → nobody
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
Testing with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060827 BonEcho/2.0b2 I can't see that behavior anymore. Can anyone reproduce?
(In reply to comment #6) > Testing with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) > Gecko/20060827 BonEcho/2.0b2 I can't see that behavior anymore. > > Can anyone reproduce? > In BonEcho/2.0b2 and trunk buid,WFM.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.