Bug 1058599 - Use string instead of nsIURI when calling xulstore. r=enn

This commit is contained in:
Roberto A. Vitillo 2014-08-27 06:08:00 -04:00
parent b0b1364786
commit fdac6a31e3

View File

@ -319,7 +319,7 @@ PlacesTreeView.prototype = {
let isopen = false;
if (uri) {
let val = this._xulStore.getValue(document.documentURIObject, uri, "open");
let val = this._xulStore.getValue(document.documentURI, uri, "open");
isopen = (val == "true");
}
@ -1504,7 +1504,7 @@ PlacesTreeView.prototype = {
let uri = node.uri;
if (uri) {
let docURI = document.documentURIObject;
let docURI = document.documentURI;
if (node.containerOpen) {
this._xulStore.removeValue(docURI, uri, "open");