Index: lib/compat.js |
diff --git a/lib/compat.js b/lib/compat.js |
index 21439f3d353d904341f2b54ac7fe7f14190ac3bd..c2b09dd500f241a8dc1ace2c7bbae6259d15b42a 100644 |
--- a/lib/compat.js |
+++ b/lib/compat.js |
@@ -50,13 +50,16 @@ let onShutdown = { |
// XPCOM emulation |
// |
+function nsIFileURL() {} |
+function nsIHttpChannel() {} |
+ |
let Components = |
{ |
interfaces: |
{ |
nsIFile: {DIRECTORY_TYPE: 0}, |
- nsIFileURL() {}, |
- nsIHttpChannel() {}, |
+ nsIFileURL, |
+ nsIHttpChannel, |
nsITimer: {TYPE_REPEATING_SLACK: 0}, |
nsIInterfaceRequestor: null, |
nsIChannelEventSink: null |