summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2018-11-17 21:49:36 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2018-11-17 21:49:36 +0800
commita681891e66255bfc466782ee5714e5cff80e0004 (patch)
treef0f9007117f48e6a331f4d87dba261a6addd0efa /application
parent61b21c8083ec889b900efd78ff9435c441537e38 (diff)
downloadUXP-a681891e66255bfc466782ee5714e5cff80e0004.tar
UXP-a681891e66255bfc466782ee5714e5cff80e0004.tar.gz
UXP-a681891e66255bfc466782ee5714e5cff80e0004.tar.lz
UXP-a681891e66255bfc466782ee5714e5cff80e0004.tar.xz
UXP-a681891e66255bfc466782ee5714e5cff80e0004.zip
Fix undefined isSameDocument
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/base/content/tabbrowser.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml
index 9479db109..929afd057 100644
--- a/application/palemoon/base/content/tabbrowser.xml
+++ b/application/palemoon/base/content/tabbrowser.xml
@@ -702,6 +702,8 @@
let topLevel = aWebProgress.isTopLevel;
if (topLevel) {
+ let isSameDocument =
+ !!(aFlags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT);
// We need to clear the typed value
// if the document failed to load, to make sure the urlbar reflects the
// failed URI (particularly for SSL errors). However, don't clear the value