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
This commit is contained in:
mozilla.mano%sent.com
2006-09-18 18:08:03 +00:00
parent 60e9df9e0f
commit a1e09ada29

View File

@@ -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;