Bug 1145394 - Fix unparseable JS code (r=gavin)
authorBill McCloskey <billm@mozilla.com>
Tue, 24 Mar 2015 14:22:08 -0700
changeset 264351 692ec0a78180cd77c61b4766d57147df7949d960
parent 264350 d1f32269c3b4c16aec350b25dff444d20f2ddcda
child 264352 fb06cbc424420b3cc099f59aa23f2576d3ac6fa4
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs1145394
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1145394 - Fix unparseable JS code (r=gavin)
addon-sdk/source/examples/debug-client/data/client.js
--- a/addon-sdk/source/examples/debug-client/data/client.js
+++ b/addon-sdk/source/examples/debug-client/data/client.js
@@ -197,17 +197,17 @@ var Connection = Class({
   addPool: function(pool) {
     this.pools.add(pool);
   },
   removePool: function(pool) {
     this.pools.delete(pool);
   },
   poolFor: function(id) {
     for (let pool of this.pools.values()) {
-      if pool.has(id)
+      if (pool.has(id))
         return pool;
     }
   },
   get: function(id) {
     var pool = this.poolFor(id);
     return pool && pool.get(id);
   },
   disconnect: function() {
@@ -792,17 +792,17 @@ var Tab = Client.from({
     "canvasActor": "canvas",
     "webglActor": "webgl",
     "webaudioActor": "webaudio",
     "styleSheetsActor": "stylesheets",
     "styleEditorActor": "styleeditor",
     "storageActor": "storage",
     "gcliActor": "gcli",
     "memoryActor": "memory",
-    "eventLoopLag": "eventLoopLag"
+    "eventLoopLag": "eventLoopLag",
 
     "trace": "trace", // missing
   }
 });
 
 var tablist = Client.from({
   "category": "dict",
   "typeName": "tablist",