Skip to content

Commit 509822a

Browse files
author
Chris K
committed
Don't dispatch a warning on failing to get the windows object.
1 parent 98468de commit 509822a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ecma-debugger/eventlisteners/evlisteners.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ cls.EventListeners.prototype = new function()
169169
if (ctx.rt_id_list.every(function(rt_id) { return ctx.win_id_map[rt_id]; }))
170170
ctx.rt_id_list.map(this._get_event_types.bind(this, ctx));
171171
}
172-
else
173-
opera.postError(ui_strings.S_DRAGONFLY_INFO_MESSAGE +
174-
"failed to get the window object in cls.EventListeners.")
172+
// Ignore failure. It's quite common that new runtimes get replace quickly
173+
// by some document.write.
175174
};
176175

177176
this._get_event_types = function(ctx, rt_id)

0 commit comments

Comments
 (0)