| Index: lib/child/elemHide.js |
| =================================================================== |
| --- a/lib/child/elemHide.js |
| +++ b/lib/child/elemHide.js |
| @@ -134,17 +134,17 @@ BaseChannel.prototype = { |
| _getResponse: notImplemented, |
| _checkSecurity: function() |
| { |
| if (!this.loadInfo.triggeringPrincipal.equals(Utils.systemPrincipal)) |
| throw Cr.NS_ERROR_FAILURE; |
| }, |
| - asyncOpen: function() |
| + asyncOpen: function(listener, context) |
| { |
| Promise.resolve(this._getResponse()).then(data => |
| { |
| let stream = Cc["@mozilla.org/io/string-input-stream;1"] |
| .createInstance(Ci.nsIStringInputStream); |
| stream.setData(data, data.length); |
| try |