aboutsummaryrefslogtreecommitdiffstats
path: root/platform/firefox/frameModule.js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-10-08 11:15:58 -0400
committergorhill <rhill@raymondhill.net>2015-10-08 11:15:58 -0400
commit097489b4e0bd7fb544848e54fe1f0ebeca979631 (patch)
tree68e0b4549a469b7c8c6f80119719e019120a33c6 /platform/firefox/frameModule.js
parentdebb1f60a1f220419ed05c9d07f52d71950e1693 (diff)
downloaduBlock-097489b4e0bd7fb544848e54fe1f0ebeca979631.zip
uBlock-097489b4e0bd7fb544848e54fe1f0ebeca979631.tar.gz
uBlock-097489b4e0bd7fb544848e54fe1f0ebeca979631.tar.bz2
new revision
Diffstat (limited to 'platform/firefox/frameModule.js')
-rw-r--r--platform/firefox/frameModule.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js
index 98fc107..37de2b5 100644
--- a/platform/firefox/frameModule.js
+++ b/platform/firefox/frameModule.js
@@ -23,6 +23,7 @@
/******************************************************************************/
+// https://github.com/gorhill/uBlock/issues/800
this.EXPORTED_SYMBOLS = ['contentObserver', 'LocationChangeListener'];
const {interfaces: Ci, utils: Cu} = Components;
@@ -62,7 +63,7 @@ const getMessageManager = function(win) {
/******************************************************************************/
-const contentObserver = {
+var contentObserver = {
classDescription: 'content-policy for ' + hostName,
classID: Components.ID('{7afbd130-cbaf-46c2-b944-f5d24305f484}'),
contractID: '@' + hostName + '/content-policy;1',
@@ -423,7 +424,7 @@ const contentObserver = {
const locationChangedMessageName = hostName + ':locationChanged';
-const LocationChangeListener = function(docShell) {
+var LocationChangeListener = function(docShell) {
if ( !docShell ) {
return;
}