mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1256830 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js. r=bgrins
This commit is contained in:
parent
1cea52bad1
commit
4c2cce623c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user