diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 17:17:32 +0200 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-07-04 17:17:32 +0200 |
commit | fbb154ffb1bc1be56004820bf62015c92d13c3c5 (patch) | |
tree | 4bd3bbe707d22e240a69eeee4480d7680cea88cd /js/vapi-background.js | |
parent | a15d6164fa76b14a06de23eecaa850704a77447f (diff) | |
download | ematrix-fbb154ffb1bc1be56004820bf62015c92d13c3c5.tar.lz ematrix-fbb154ffb1bc1be56004820bf62015c92d13c3c5.tar.xz ematrix-fbb154ffb1bc1be56004820bf62015c92d13c3c5.zip |
Temporarily fix undefined reference
Ideally HttpObserver should be its own module, but right now it
depends on too much "context" to be independent from vapi-background.
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r-- | js/vapi-background.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js index 8f095ae..0c14992 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -34,7 +34,7 @@ const {classes: Cc, interfaces: Ci, utils: Cu} = Components; const {Services} = Cu.import('resource://gre/modules/Services.jsm', null); const {HTTPRequestHeaders} = - Cu.import('chrome://ematrix/content/HTTPRequestHeaders.jsm', null); + Cu.import('chrome://ematrix/content/HttpRequestHeaders.jsm', null); let vAPI = self.vAPI; // Guaranteed to be initialized by vapi-core.js @@ -71,7 +71,7 @@ } }; - let httpObserver = { + vAPI.httpObserver = { classDescription: 'net-channel-event-sinks for ' + location.host, classID: Components.ID('{5d2e2797-6d68-42e2-8aeb-81ce6ba16b95}'), contractID: '@' + location.host + '/net-channel-event-sinks;1', |