Bug 353117, r=mconnor, sr=jst.

This commit is contained in:
mozilla.mano%sent.com 2006-09-18 19:45:30 +00:00
Родитель eae0985a60
Коммит dece182e1d
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

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