Backed out changeset e0da2d69cfdb (bug 1020257) for causing Gi Test Regressions

This commit is contained in:
Carsten "Tomcat" Book 2014-06-06 11:06:27 +02:00
parent 0bd5665dd1
commit fb86968fb8

View File

@ -272,14 +272,7 @@ Target.prototype = {
},
_send: function target_send(data) {
let frame = this.frame;
let systemapp = document.querySelector('#systemapp');
if (this.frame === systemapp) {
frame = getContentWindow();
}
shell.sendEvent(frame, 'developer-hud-update', Cu.cloneInto(data, target));
shell.sendEvent(this.frame, 'developer-hud-update', Cu.cloneInto(data, this.frame));
}
};