Backed out changeset e0da2d69cfdb (bug 1020257) for causing Gi Test Regressions
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Fri, 06 Jun 2014 11:06:27 +0200
changeset 206191 c8288d0c7a1544a590a0cac9c39397ac10c8a45b
parent 206190 7297cfffd91c930525a9f2acfcd084ad5ae7decf
child 206311 7146e89a7b8333c76267d4d8fb40cc6cae552567
push id3741
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 20:25:18 +0000
treeherdermozilla-beta@4d6f46f5af68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1020257
milestone32.0a1
backs oute0da2d69cfdb3511f97a2a7021aaf84468c9d3f3
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
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset e0da2d69cfdb (bug 1020257) for causing Gi Test Regressions
b2g/chrome/content/devtools.js
--- 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.