author | Carsten "Tomcat" Book <cbook@mozilla.com> |
Fri, 06 Jun 2014 11:06:27 +0200 | |
changeset 187143 | c8288d0c7a1544a590a0cac9c39397ac10c8a45b |
parent 187142 | 7297cfffd91c930525a9f2acfcd084ad5ae7decf |
child 187144 | 7146e89a7b8333c76267d4d8fb40cc6cae552567 |
push id | 44529 |
push user | emorley@mozilla.com |
push date | Fri, 06 Jun 2014 18:15:19 +0000 |
treeherder | mozilla-inbound@078b39cfcf44 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1020257 |
milestone | 32.0a1 |
backs out | e0da2d69cfdb3511f97a2a7021aaf84468c9d3f3 |
first release with | nightly linux32
c8288d0c7a15
/
32.0a1
/
20140606030206
/
files
nightly linux64
c8288d0c7a15
/
32.0a1
/
20140606030206
/
files
nightly mac
c8288d0c7a15
/
32.0a1
/
20140606030206
/
files
nightly win32
c8288d0c7a15
/
32.0a1
/
20140606030206
/
files
nightly win64
c8288d0c7a15
/
32.0a1
/
20140606030206
/
files
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
releases | nightly linux32
32.0a1
/
20140606030206
/
pushlog to previous
nightly linux64
32.0a1
/
20140606030206
/
pushlog to previous
nightly mac
32.0a1
/
20140606030206
/
pushlog to previous
nightly win32
32.0a1
/
20140606030206
/
pushlog to previous
nightly win64
32.0a1
/
20140606030206
/
pushlog to previous
|
--- a/b2g/chrome/content/devtools.js +++ b/b2g/chrome/content/devtools.js @@ -267,24 +267,17 @@ Target.prototype = { * widgets. */ destroy: function target_destroy() { delete this.metrics; this._send({}); }, _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)); } }; /** * The Console Watcher tracks the following metrics in apps: reflows, warnings, * and errors, with security errors reported separately.