Index: lib/compat.js |
=================================================================== |
--- a/lib/compat.js |
+++ b/lib/compat.js |
@@ -133,31 +133,6 @@ |
var Services = |
{ |
- io: { |
- newURI: function(uri) |
Sebastian Noack
2016/04/04 11:22:26
These functions aren't called (directly) on Chrome
|
- { |
- if (!uri.length || uri[0] == "~") |
- throw new Error("Invalid URI"); |
- |
- /^([^:\/]*)/.test(uri); |
- var scheme = RegExp.$1.toLowerCase(); |
- |
- return { |
- scheme: scheme, |
- spec: uri, |
- QueryInterface: function() |
- { |
- return this; |
- } |
- }; |
- }, |
- newFileURI: function(file) |
- { |
- var result = this.newURI("file:///" + file.path); |
- result.file = file; |
- return result; |
- } |
- }, |
obs: { |
addObserver: function() {}, |
removeObserver: function() {} |