diff --git a/mozilla/browser/components/feeds/src/FeedWriter.js b/mozilla/browser/components/feeds/src/FeedWriter.js index 43225906789..635aa3d9680 100755 --- a/mozilla/browser/components/feeds/src/FeedWriter.js +++ b/mozilla/browser/components/feeds/src/FeedWriter.js @@ -447,12 +447,8 @@ FeedWriter.prototype = { * See nsIDOMEventListener */ handleEvent: function(event) { - if (!this._window) { - // this._window is null unless this.write was called with a trusted - // window object. - return; - } - + // see comments in the write method + event = new XPCNativeWrapper(event); if (event.target.ownerDocument != this._document) { LOG("FeedWriter.handleEvent: Someone passed the feed writer as a listener to the events of another document!"); return;