Bug 1252099 - Final eslint cleanups in devtools/client/inspector/markup/test; r=miker
authorPatrick Brosset <pbrosset@mozilla.com>
Wed, 02 Mar 2016 16:14:16 +0100
changeset 323230 34c795c24d3178e5492e3f0989c13149e5c09e41
parent 323229 ea1e990cbed00987c08886a2358379e1fc2778dc
child 323231 129e9b9ce25be48c2544406be1d0e9e9ff33b51b
push id5913
push userjlund@mozilla.com
push dateMon, 25 Apr 2016 16:57:49 +0000
treeherdermozilla-beta@dcaf0a6fa115 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmiker
bugs1252099
milestone47.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 1252099 - Final eslint cleanups in devtools/client/inspector/markup/test; r=miker Many event-bubble tests had max-len issues that would have been really awkward to fix by wrapping the lines. So I decided to disable eslint for those lines instead. This patch fixes the last remaining eslint issues and un-ignores the directory in .eslintignore. MozReview-Commit-ID: KQ8qtrFceaf
.eslintignore
devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js
devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js
devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js
devtools/client/inspector/markup/test/browser_markup_links_01.js
devtools/client/inspector/markup/test/browser_markup_mutation_01.js
devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js
devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js
devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js
devtools/client/inspector/markup/test/doc_markup_anonymous.html
devtools/client/inspector/markup/test/doc_markup_events-overflow.html
--- a/.eslintignore
+++ b/.eslintignore
@@ -83,17 +83,16 @@ devtools/client/canvasdebugger/**
 devtools/client/commandline/**
 devtools/client/debugger/**
 devtools/client/eyedropper/**
 devtools/client/framework/**
 # devtools/client/inspector/shared/*.js files are eslint-clean, so they aren't
 # included in the ignore list.
 devtools/client/inspector/computed/**
 devtools/client/inspector/fonts/**
-devtools/client/inspector/markup/test/**
 devtools/client/inspector/shared/test/**
 devtools/client/inspector/test/**
 devtools/client/inspector/*.js
 devtools/client/jsonview/**
 devtools/client/memory/**
 devtools/client/netmonitor/**
 devtools/client/performance/**
 devtools/client/projecteditor/**
@@ -124,17 +123,17 @@ devtools/shared/sourcemap/*
 devtools/shared/qrcode/decoder/*
 devtools/shared/qrcode/encoder/*
 devtools/client/shared/vendor/*
 devtools/client/shared/d3.js
 devtools/client/webaudioeditor/lib/dagre-d3.js
 devtools/client/sourceeditor/codemirror/*.js
 devtools/client/sourceeditor/codemirror/**/*.js
 devtools/client/sourceeditor/test/codemirror/*
-devtools/client/markupview/test/lib_*
+devtools/client/inspector/markup/test/lib_*
 
 # mobile/android/ exclusions
 mobile/android/chrome/content
 mobile/android/tests/
 
 # Uses `#filter substitution`
 mobile/android/b2gdroid/app/b2gdroid.js
 mobile/android/app/mobile.js
--- a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute.js
+++ b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute.js
@@ -148,14 +148,15 @@ function* checkData(index, editor, inspe
       ok(editor.popup.isOpen, "Popup is open");
     } else {
       ok(editor.popup._panel.state != "open" &&
          editor.popup._panel.state != "showing",
         "Popup is closed");
     }
   } else {
     let nodeFront = yield getNodeFront("#node14", inspector);
-    let editor = getContainerForNodeFront(nodeFront, inspector).editor;
-    let attr = editor.attrElements.get("style").querySelector(".editable");
+    let container = getContainerForNodeFront(nodeFront, inspector);
+    let attr = container.editor.attrElements.get("style")
+                                            .querySelector(".editable");
     is(attr.textContent, completion,
        "Correct value is persisted after pressing Enter");
   }
 }
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.0).
 
 const TEST_LIB = "lib_jquery_1.0.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: URL_ROOT + TEST_LIB,
         attributes: [
@@ -225,12 +226,13 @@ const TEST_DATA = [
                  "  }\n" +
                  "\n" +
                  "  return returnValue;\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.1).
 
 const TEST_LIB = "lib_jquery_1.1.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: URL_ROOT + TEST_LIB,
         attributes: [
@@ -259,12 +260,13 @@ const TEST_DATA = [
                  "  if (jQuery.browser.msie) event.target = event.preventDefault = event.stopPropagation = event.handler = event.data = null;\n" +
                  "\n" +
                  "  return returnValue;\n" +
                  "}"
       }
     ]
   }
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.11.1).
 
 const TEST_LIB = "lib_jquery_1.11.1_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -183,12 +184,13 @@ const TEST_DATA = [
         ],
         handler: "var handler5 = function liveDivDrop() {\n" +
                  "  alert(5);\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.2).
 
 const TEST_LIB = "lib_jquery_1.2_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -178,12 +179,13 @@ const TEST_DATA = [
                  "  if (typeof jQuery == \"undefined\" || jQuery.event.triggered) return val;\n" +
                  "  val = jQuery.event.handle.apply(element, arguments);\n" +
                  "  return val;\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.3).
 
 const TEST_LIB = "lib_jquery_1.3_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: URL_ROOT + TEST_LIB + ":19",
         attributes: [
@@ -211,12 +212,13 @@ const TEST_DATA = [
         ],
         handler: "var handler2 = function liveDivDragStart() {\n" +
                  "  alert(2);\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js
@@ -7,16 +7,17 @@
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.4).
 
 const TEST_LIB = "lib_jquery_1.4_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -274,12 +275,13 @@ const TEST_DATA = [
                  "    }\n" +
                  "  }\n" +
                  "  return b\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js
@@ -9,16 +9,17 @@ requestLongerTimeout(2);
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.6).
 
 const TEST_LIB = "lib_jquery_1.6_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -375,12 +376,13 @@ const TEST_DATA = [
                  "    }\n" +
                  "    return b\n" +
                  "  }\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js
@@ -9,16 +9,17 @@ requestLongerTimeout(2);
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 1.7).
 
 const TEST_LIB = "lib_jquery_1.7_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -221,12 +222,13 @@ const TEST_DATA = [
         ],
         handler: "var handler5 = function liveDivDrop() {\n" +
                  "  alert(5);\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js
+++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js
@@ -9,16 +9,17 @@ requestLongerTimeout(2);
 // Test that markup view event bubbles show the correct event info for jQuery
 // and jQuery Live events (jQuery version 2.1.1).
 
 const TEST_LIB = "lib_jquery_2.1.1_min.js";
 const TEST_URL = URL_ROOT + "doc_markup_events_jquery.html?" + TEST_LIB;
 
 loadHelperScript("helper_events_test_runner.js");
 
+/*eslint-disable */
 const TEST_DATA = [
   {
     selector: "html",
     expected: [
       {
         type: "load",
         filename: TEST_URL + ":27",
         attributes: [
@@ -183,12 +184,13 @@ const TEST_DATA = [
         ],
         handler: "var handler5 = function liveDivDrop() {\n" +
                  "  alert(5);\n" +
                  "}"
       }
     ]
   },
 ];
+/*eslint-enable */
 
 add_task(function*() {
   yield runEventPopupTests(TEST_URL, TEST_DATA);
 });
--- a/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js
+++ b/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js
@@ -2,17 +2,20 @@
 /* Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 // Test that image preview tooltip shows updated content when the image src
 // changes.
 
+/*eslint-disable */
 const INITIAL_SRC = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADI5JREFUeNrsWwuQFNUVPf1m5z87szv7HWSWj8CigBFMEFZKiQsB1PgJwUAZg1HBpIQsKmokEhNjWUnFVPnDWBT+KolJYbRMoqUVq0yCClpqiX8sCchPWFwVlt2db7+X93pez7zu6Vn2NxsVWh8987p7pu+9555z7+tZjTGGY3kjOMa34w447oBjfKsY7i/UNM3Y8eFSAkD50Plgw03K5P9gvGv7U5ieeR3PszeREiPNX3/0DL4hjslzhm8THh+OITfXk3dhiv4GDtGPVzCaeJmPLYzuu5qJuWfuw2QTlcN1X9pwQU7LhdZ/ZAseD45cOh9hHvDkc/yAF/DNhdb5Mrr3PvBMaAYW8fMSIi2G497IMEK/YutGtAYr6+ej+nxu/NN8Ks3N7AR6HgcLz0Eg1Ljg1UcxZzi5qewIkMYLRweTr2Kzp+nmyXAd5pS3XQDd+N/4h4zgu9FI7brlXf90nMEnuwQxlvv+hosE3TuexmWeysmT4W+WxkMaLzf9Y8ATgjcUn7T9H1gqrpFq8eV1gMn6t16NhngjfoX6q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3tiISrcfYpuN2+iFph/02P36PNC9fVcCnp6H9jYouKyfaWufz5Tp9tVxcUniw7IohZv4dZz81/ns67z3AYPrc2n0+Ix2q8k0PWjgBy88XaibnfK9A+5LdDY2Ivhy36fbT8Zv3Lb1U1qLqUxorXEEXIs0mjjrtxoTZWtdvigNs2sgPiujTv6DIZLld6b/V5742JZV3fUsUVFy5gdsNtKWFzUCEVbNepD1MkSMVbsb6SZm7jI3/zODtQKgUMsOw8wDZ63t5xcV1TnaEAxoc6wrqY+Fj+N4DsqOnhOIdicrQSm1MPYCPlIqHn5bbHg8/bj2D3QfZnCX3mpAICDZV8jH5kpbZqTD0W+DxaA74CWzLN2nd14OlL72J38Lf7+TjC7dadZFDoZJQPrtaIKL/G0L6ktptPZVJ8fMqHYPZOKYPMyQGadIJfDvdXwAFiZOTvDBPydf5vk4rWA+RfdhBlaF/yDDBRoMu9pfnSjv/p7DG+HXfAcQcc49v/BBgAcFAO4DmB2GQAAAAASUVORK5CYII=";
+/*eslint-enable */
+
 const UPDATED_SRC = URL_ROOT + "doc_markup_tooltip.png";
 
 const INITIAL_SRC_SIZE = "64" + " \u00D7 " + "64";
 const UPDATED_SRC_SIZE = "22" + " \u00D7 " + "23";
 
 add_task(function*() {
   let { inspector } = yield openInspectorForURL(
     "data:text/html,<p>markup view tooltip test</p><img>");
--- a/devtools/client/inspector/markup/test/browser_markup_links_01.js
+++ b/devtools/client/inspector/markup/test/browser_markup_links_01.js
@@ -14,17 +14,18 @@ const TEST_DATA = [{
   attributes: [{
     attributeName: "href",
     links: [{type: "cssresource", value: "style.css"}]
   }]
 }, {
   selector: "link[rel=icon]",
   attributes: [{
     attributeName: "href",
-    links: [{type: "uri", value: "/media/img/firefox/favicon-196.223e1bcaf067.png"}]
+    links: [{type: "uri",
+             value: "/media/img/firefox/favicon-196.223e1bcaf067.png"}]
   }]
 }, {
   selector: "form",
   attributes: [{
     attributeName: "action",
     links: [{type: "uri", value: "/post_message"}]
   }]
 }, {
--- a/devtools/client/inspector/markup/test/browser_markup_mutation_01.js
+++ b/devtools/client/inspector/markup/test/browser_markup_mutation_01.js
@@ -65,17 +65,17 @@ const TEST_DATA = [
   },
   {
     desc: "Adding ::after element",
     numMutations: 2,
     test: function*(testActor) {
       yield testActor.eval(`
         let node1 = content.document.querySelector("#node1");
         node1.classList.add("pseudo");
-      `)
+      `);
     },
     check: function*(inspector) {
       let {children} = yield getContainerForSelector("#node1", inspector);
       is(children.childNodes.length, 2,
         "Node1 now has 2 children (text child and ::after");
     }
   },
   {
--- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js
+++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js
@@ -4,22 +4,24 @@
 /* import-globals-from helper_attributes_test_runner.js */
 "use strict";
 
 // One more test testing various add-attributes configurations
 // Some of the test data below asserts that long attributes get collapsed
 
 loadHelperScript("helper_attributes_test_runner.js");
 
+/*eslint-disable */
 const LONG_ATTRIBUTE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 const LONG_ATTRIBUTE_COLLAPSED = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEF\u2026UVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 const DATA_URL_INLINE_STYLE='color: red; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC");';
 const DATA_URL_INLINE_STYLE_COLLAPSED='color: red; background: url("data:image/png;base64,iVBORw0KG\u2026NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC");';
 const DATA_URL_ATTRIBUTE = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC";
 const DATA_URL_ATTRIBUTE_COLLAPSED = "data:image/png;base64,iVBORw0K\u20269/AFGGFyjOXZtQAAAAAElFTkSuQmCC";
+/*eslint-enable */
 
 var TEST_URL = "data:text/html,<div>markup-view attributes addition test</div>";
 var TEST_DATA = [{
   desc: "Add an attribute value containing < > &uuml; \" & '",
   text: 'src="somefile.html?param1=<a>&param2=&uuml;&param3=\'&quot;\'"',
   expectedAttributes: {
     src: "somefile.html?param1=<a>&param2=\xfc&param3='\"'"
   }
@@ -35,43 +37,46 @@ var TEST_DATA = [{
         "clicking the empty space after a node - this should result " +
         "in it being set to an empty string",
   text: 'class="newclass" style="""',
   expectedAttributes: {
     class: "newclass",
     style: ""
   }
 }, {
-  desc: "Try to add long data URL to make sure it is collapsed in attribute editor.",
+  desc: "Try to add long data URL to make sure it is collapsed in attribute " +
+        "editor.",
   text: `style='${DATA_URL_INLINE_STYLE}'`,
   expectedAttributes: {
     "style": DATA_URL_INLINE_STYLE
   },
   validate: (container, inspector) => {
     let editor = container.editor;
     let visibleAttrText = editor.attrElements.get("style")
                                              .querySelector(".attr-value")
                                              .textContent;
     is(visibleAttrText, DATA_URL_INLINE_STYLE_COLLAPSED);
   }
 }, {
-  desc: "Try to add long attribute to make sure it is collapsed in attribute editor.",
+  desc: "Try to add long attribute to make sure it is collapsed in attribute " +
+        "editor.",
   text: `data-long="${LONG_ATTRIBUTE}"`,
   expectedAttributes: {
     "data-long": LONG_ATTRIBUTE
   },
   validate: (container, inspector) => {
     let editor = container.editor;
     let visibleAttrText = editor.attrElements.get("data-long")
                                              .querySelector(".attr-value")
                                              .textContent;
     is(visibleAttrText, LONG_ATTRIBUTE_COLLAPSED);
   }
 }, {
-  desc: "Try to add long data URL to make sure it is collapsed in attribute editor.",
+  desc: "Try to add long data URL to make sure it is collapsed in attribute " +
+        "editor.",
   text: `src="${DATA_URL_ATTRIBUTE}"`,
   expectedAttributes: {
     "src": DATA_URL_ATTRIBUTE
   },
   validate: (container, inspector) => {
     let editor = container.editor;
     let visibleAttrText = editor.attrElements.get("src")
                                 .querySelector(".attr-value").textContent;
--- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js
+++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js
@@ -3,18 +3,20 @@
  http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 // Test editing various markup-containers' attribute fields, in particular
 // attributes with long values and quotes
 
 const TEST_URL = URL_ROOT + "doc_markup_edit.html";
+/*eslint-disable */
 const LONG_ATTRIBUTE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ";
 const LONG_ATTRIBUTE_COLLAPSED = "ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEF\u2026UVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ-ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+/*eslint-enable */
 
 add_task(function*() {
   let {inspector, testActor} = yield openInspectorForURL(TEST_URL);
 
   yield inspector.markup.expandAll();
   yield testCollapsedLongAttribute(inspector, testActor);
   yield testModifyInlineStyleWithQuotes(inspector, testActor);
   yield testEditingAttributeWithMixedQuotes(inspector, testActor);
@@ -43,18 +45,19 @@ function* testCollapsedLongAttribute(ins
   EventUtils.sendKey("return", inspector.panelWin);
   let input = inplaceEditor(attr).input;
   is(input.value, `data-long="${LONG_ATTRIBUTE}"`);
   EventUtils.sendKey("escape", inspector.panelWin);
 
   setEditableFieldValue(attr, input.value + ' data-short="ABC"', inspector);
   yield inspector.once("markupmutation");
 
-  let visibleAttrText = editor.attrElements.get("data-long").querySelector(".attr-value").textContent;
-  is(visibleAttrText, LONG_ATTRIBUTE_COLLAPSED)
+  let visibleAttrText = editor.attrElements.get("data-long")
+                              .querySelector(".attr-value").textContent;
+  is(visibleAttrText, LONG_ATTRIBUTE_COLLAPSED);
 
   yield assertAttributes("#node24", {
     id: "node24",
     class: "",
     "data-long": LONG_ATTRIBUTE,
     "data-short": "ABC"
   }, testActor);
 }
--- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js
+++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js
@@ -2,17 +2,19 @@
 /* Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/ */
 
 "use strict";
 
 // Tests that focus position is correct when tabbing through and editing
 // attributes.
 
-const TEST_URL = "data:text/html;charset=utf8,<div id='attr' a='1' b='2' c='3'></div><div id='delattr' tobeinvalid='1' last='2'></div>";
+const TEST_URL = "data:text/html;charset=utf8," +
+                 "<div id='attr' a='1' b='2' c='3'></div>" +
+                 "<div id='delattr' tobeinvalid='1' last='2'></div>";
 
 add_task(function*() {
   let {inspector} = yield openInspectorForURL(TEST_URL);
 
   yield testAttributeEditing(inspector);
   yield testAttributeDeletion(inspector);
 });
 
--- a/devtools/client/inspector/markup/test/doc_markup_anonymous.html
+++ b/devtools/client/inspector/markup/test/doc_markup_anonymous.html
@@ -18,16 +18,17 @@
 <body>
   <div id="pseudo"><span>middle</span></div>
 
   <div id="shadow">light dom</div>
 
   <div id="native"><video controls></video></div>
 
   <script>
-  var host = document.querySelector('#shadow');
+  "use strict";
+  var host = document.querySelector("#shadow");
   if (host.createShadowRoot) {
     var root = host.createShadowRoot();
-    root.innerHTML = '<h3>Shadow DOM</h3><select multiple></select>';
+    root.innerHTML = "<h3>Shadow DOM</h3><select multiple></select>";
   }
   </script>
 </body>
 </html>
\ No newline at end of file
--- a/devtools/client/inspector/markup/test/doc_markup_events-overflow.html
+++ b/devtools/client/inspector/markup/test/doc_markup_events-overflow.html
@@ -2,16 +2,17 @@
 <head>
   <meta charset="UTF-8">
   <title>doc_markup_events-overflow.html</title>
 </head>
 <body>
   <h1>doc_markup_events-overflow.html</h1>
   <span id="events">Inspect me!</span>
   <script>
+    "use strict";
     var el = document.getElementById("events");
     for (var i = 50; i > 0; i--) {
       el.addEventListener("click", function onClick() {
         alert("click");
       });
     }
   </script>
 </body>