diff --git a/b2g/chrome/content/devtools.js b/b2g/chrome/content/devtools.js index e9a5fb1f745..e2b5ab5e5e2 100644 --- a/b2g/chrome/content/devtools.js +++ b/b2g/chrome/content/devtools.js @@ -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)); } };