Bug 1256798 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_variables_view_filter.js r=jlast
authorMichael Kohler <mkohler@picobudget.com>
Sat, 07 May 2016 02:17:00 +0200
changeset 298242 11f5403803254abbb8039b900b3fe21afdbd46af
parent 298241 ae06aaa4f0cf8e468f79ed9bc44b36fabf419259
child 298243 e5e4114404d05d341781e10c71333ffd838285cb
push id19329
push userntim.bugs@gmail.com
push dateMon, 23 May 2016 19:38:25 +0000
treeherderfx-team@e5e4114404d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast
bugs1256798
milestone49.0a1
Bug 1256798 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_variables_view_filter.js r=jlast MozReview-Commit-ID: ISSOCbU2xX6
devtools/client/webconsole/test/browser_console_variables_view_filter.js
--- a/devtools/client/webconsole/test/browser_console_variables_view_filter.js
+++ b/devtools/client/webconsole/test/browser_console_variables_view_filter.js
@@ -30,31 +30,34 @@ add_task(function* () {
   let fetched = jsterm.once("variablesview-fetched");
 
   yield jsterm.execute("inspect({ foo: { bar : \"baz\" } })");
 
   let view = yield fetched;
   let variablesView = view._variablesView;
   let searchbox = variablesView._searchboxNode;
 
-  assertAttrs(view, "foo,__proto__", "To start with, we just see the top level foo attr");
+  assertAttrs(view, "foo,__proto__",
+              "To start with, we just see the top level foo attr");
 
   fetched = jsterm.once("variablesview-fetched");
   searchbox.value = "bar";
   searchbox.doCommand();
   view = yield fetched;
 
-  assertAttrs(view, "", "If we don't manually expand nested attr, we don't see them in search");
+  assertAttrs(view, "",
+              "If we don't manually expand nested attr, we don't see them");
 
   fetched = jsterm.once("variablesview-fetched");
   searchbox.value = "";
   searchbox.doCommand();
   view = yield fetched;
 
-  assertAttrs(view, "foo", "If we reset the search, we get back to original state");
+  assertAttrs(view, "foo",
+              "If we reset the search, we get back to original state");
 
   yield [...view][0][1].expand();
 
   fetched = jsterm.once("variablesview-fetched");
   searchbox.value = "bar";
   searchbox.doCommand();
   view = yield fetched;
 
@@ -67,10 +70,11 @@ add_task(function* () {
 
   assertAttrs(view, "foo,foo.bar", "We can also search for attr values");
 
   fetched = jsterm.once("variablesview-fetched");
   searchbox.value = "";
   searchbox.doCommand();
   view = yield fetched;
 
-  assertAttrs(view, "foo", "If we reset again, we get back to original state again");
+  assertAttrs(view, "foo",
+              "If we reset again, we get back to original state again");
 });