[Pkg-mozext-commits] [firebug] 06/16: Used 'documentURI' instead of 'document' object to persist the UI attributes across browser sessions (related to issue 7640)
David Prévot
taffit at moszumanska.debian.org
Thu Sep 18 18:10:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 40024860cea08a939a1232282d56b5f292fecb83
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Mon Aug 25 08:05:57 2014 +0200
Used 'documentURI' instead of 'document' object to persist the UI
attributes across browser sessions (related to issue 7640)
---
extension/content/firebug/firebug.js | 3 ++-
extension/content/firebug/firefox/browserOverlayLib.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/extension/content/firebug/firebug.js b/extension/content/firebug/firebug.js
index 66596fb..f97dfd7 100644
--- a/extension/content/firebug/firebug.js
+++ b/extension/content/firebug/firebug.js
@@ -311,7 +311,8 @@ window.Firebug =
attributes.forEach((attr) => {
var value = Firebug.browserOverlay.doc.getElementById("fbMainFrame").
getAttribute(attr);
- xulStore.setValue(Firebug.browserOverlay.doc, "fbMainFrame", attr, value);
+ xulStore.setValue(Firebug.browserOverlay.doc.documentURI, "fbMainFrame", attr,
+ value);
});
}
catch (e) {}
diff --git a/extension/content/firebug/firefox/browserOverlayLib.js b/extension/content/firebug/firefox/browserOverlayLib.js
index ab7b1e9..d6c2523 100644
--- a/extension/content/firebug/firefox/browserOverlayLib.js
+++ b/extension/content/firebug/firefox/browserOverlayLib.js
@@ -275,7 +275,7 @@ function updatePersistedValues(doc, options)
var getPersist = function getPersist(attr)
{
- return xulStore.getValue(doc, id, attr);
+ return xulStore.getValue(doc.documentURI, id, attr);
}
}
catch(e)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list