From dece182e1d84504c3e374d156f57c39bc1b01338 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Mon, 18 Sep 2006 19:45:30 +0000 Subject: [PATCH] Bug 353117, r=mconnor, sr=jst. --- browser/components/feeds/src/FeedWriter.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/browser/components/feeds/src/FeedWriter.js b/browser/components/feeds/src/FeedWriter.js index 0c92700354ef..ec329b0bb8c2 100755 --- a/browser/components/feeds/src/FeedWriter.js +++ b/browser/components/feeds/src/FeedWriter.js @@ -435,12 +435,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;