mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 423470 ? fix calls to PlacesUtils._uri (r=dietrich)
This commit is contained in:
parent
6fa9a6af44
commit
1ac0a66476
@ -308,11 +308,11 @@ var PlacesUIUtils = {
|
||||
var siteURI = null;
|
||||
aData.annos = aData.annos.filter(function(aAnno) {
|
||||
if (aAnno.name == LMANNO_FEEDURI) {
|
||||
feedURI = this._uri(aAnno.value);
|
||||
feedURI = PlacesUtils._uri(aAnno.value);
|
||||
return false;
|
||||
}
|
||||
else if (aAnno.name == LMANNO_SITEURI) {
|
||||
siteURI = this._uri(aAnno.value);
|
||||
siteURI = PlacesUtils._uri(aAnno.value);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
@ -1073,7 +1073,7 @@ var PlacesUIUtils = {
|
||||
var title;
|
||||
if (!aNode.title && PlacesUtils.uriTypes.indexOf(aNode.type) != -1) {
|
||||
// if node title is empty, try to set the label using host and filename
|
||||
// this._uri() will throw if aNode.uri is not a valid URI
|
||||
// PlacesUtils._uri() will throw if aNode.uri is not a valid URI
|
||||
try {
|
||||
var uri = PlacesUtils._uri(aNode.uri);
|
||||
var host = uri.host;
|
||||
|
Loading…
Reference in New Issue
Block a user