Bug 1207499 - Part 14: Remove use of expression closure from devtools/. r=pbrosset
authorTooru Fujisawa <arai_a@mac.com>
Thu, 24 Sep 2015 21:31:45 +0900
changeset 265272 57ef7c720fda0524ecf4e212add44611fda9f0bc
parent 265271 056927c667aba841994c8fa970116c4e205007a4
child 265273 906415bde4ed5fa7989dcdae30dd32d1509c9056
push id65891
push userarai_a@mac.com
push dateWed, 30 Sep 2015 16:36:04 +0000
treeherdermozilla-inbound@10194aec7255 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbrosset
bugs1207499
milestone44.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 1207499 - Part 14: Remove use of expression closure from devtools/. r=pbrosset
devtools/server/actors/inspector.js
--- a/devtools/server/actors/inspector.js
+++ b/devtools/server/actors/inspector.js
@@ -994,17 +994,19 @@ var NodeFront = protocol.FrontClass(Node
   getFormProperty: function(name) {
     return this._form.props ? this._form.props[name] : null;
   },
 
   hasFormProperty: function(name) {
     return this._form.props ? (name in this._form.props) : null;
   },
 
-  get formProperties() this._form.props,
+  get formProperties() {
+    return this._form.props;
+  },
 
   /**
    * Return a new AttributeModificationList for this node.
    */
   startModifyingAttributes: function() {
     return AttributeModificationList(this);
   },