| Index: lib/elemHideHitRegistration.js |
| =================================================================== |
| --- a/lib/elemHideHitRegistration.js |
| +++ b/lib/elemHideHitRegistration.js |
| @@ -130,16 +130,18 @@ HitRegistrationChannel.prototype = { |
| let filter = ElemHide.getFilterByKey(this.key); |
| if (filter) |
| { |
| let wnd = Utils.getRequestWindow(this); |
| if (wnd && wnd.document && !Policy.processNode(wnd, wnd.document, Policy.type.ELEMHIDE, filter)) |
| data = "<bindings xmlns='http://www.mozilla.org/xbl'/>"; |
| } |
| + dump("filter: " + filter + "data: " + data + "\n"); |
| + |
| let stream = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(Ci.nsIStringInputStream); |
| stream.setData(data, data.length); |
| return stream; |
| }, |
| isPending: function() |
| { |
| return false; |
| }, |