mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 382827 - "Error Message in Linux Terminal when adding an RSS Feed (NS_ERROR_NOT_AVAILABLE) [nsIAnnotationService.getItemAnnotationString]" [p=reed r=Mano a=blocking-firefox3+]
This commit is contained in:
parent
d12c3005eb
commit
4f57f3b401
@ -342,20 +342,14 @@ LivemarkService.prototype = {
|
||||
* startup.
|
||||
*/
|
||||
getSiteURI: function LS_getSiteURI(container) {
|
||||
try {
|
||||
this._ensureLivemark(container);
|
||||
|
||||
// getItemAnnotation() can throw if there is no annotation
|
||||
this._ensureLivemark(container);
|
||||
|
||||
if (this._ans.itemHasAnnotation(container, LMANNO_SITEURI)) {
|
||||
var siteURIString =
|
||||
this._ans.getItemAnnotation(container, LMANNO_SITEURI);
|
||||
|
||||
return gIoService.newURI(siteURIString, null, null);
|
||||
}
|
||||
catch (ex) {
|
||||
// temporary logging, for bug #381894
|
||||
LOG("getSiteURI failed: " + ex);
|
||||
LOG("siteURIString: " + siteURIString);
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user