From a1e09ada2954c228daef4ba4394a49432b6eede4 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Mon, 18 Sep 2006 18:08:03 +0000 Subject: [PATCH] Bug 353117, r=mconnor, sr=jst, a=mconnor. git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@211934 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/components/feeds/src/FeedWriter.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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;