mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1058599 - Use string instead of nsIURI when calling xulstore. r=enn
This commit is contained in:
parent
b0b1364786
commit
fdac6a31e3
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user