Bug 1256830 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js. r=bgrins

This commit is contained in:
moby 2016-05-26 15:02:00 -04:00
parent 1cea52bad1
commit 4c2cce623c

View File

@ -2,6 +2,7 @@
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
/* globals goUpdateCommand goDoCommand */
"use strict";
@ -20,8 +21,8 @@ add_task(function* () {
HUD = outputNode = null;
});
function consoleOpened(aHud) {
HUD = aHud;
function consoleOpened(hud) {
HUD = hud;
let deferred = promise.defer();
@ -34,7 +35,8 @@ function consoleOpened(aHud) {
.getControllerForCommand("cmd_copy");
is(controller.isCommandEnabled("cmd_copy"), false, "cmd_copy is disabled");
content.console.log("Hello world! bug587617");
ContentTask.spawn(gBrowser.selectedBrowser, null,
"() => content.console.log('Hello world! bug587617')");
waitForMessages({
webconsole: HUD,