Index: lib/compat.js |
=================================================================== |
--- a/lib/compat.js |
+++ b/lib/compat.js |
@@ -133,31 +133,6 @@ |
var Services = |
{ |
- io: { |
- newURI: function(uri) |
- { |
- 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() {} |