зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1256941 - Fix ESLint issues in devtools/client/webconsole/test/test-file-location.js;r=bgrins
MozReview-Commit-ID: VOMcoAjl5y
This commit is contained in:
Родитель
76890e1ed3
Коммит
72f476966b
|
@ -27,31 +27,31 @@ add_task(function* () {
|
|||
text: "message for level log",
|
||||
category: CATEGORY_WEBDEV,
|
||||
severity: SEVERITY_LOG,
|
||||
source: { url: "test-file-location.js", line: 6 },
|
||||
source: { url: "test-file-location.js", line: 8 },
|
||||
},
|
||||
{
|
||||
text: "message for level info",
|
||||
category: CATEGORY_WEBDEV,
|
||||
severity: SEVERITY_INFO,
|
||||
source: { url: "test-file-location.js", line: 7 },
|
||||
source: { url: "test-file-location.js", line: 9 },
|
||||
},
|
||||
{
|
||||
text: "message for level warn",
|
||||
category: CATEGORY_WEBDEV,
|
||||
severity: SEVERITY_WARNING,
|
||||
source: { url: "test-file-location.js", line: 8 },
|
||||
source: { url: "test-file-location.js", line: 10 },
|
||||
},
|
||||
{
|
||||
text: "message for level error",
|
||||
category: CATEGORY_WEBDEV,
|
||||
severity: SEVERITY_ERROR,
|
||||
source: { url: "test-file-location.js", line: 9 },
|
||||
source: { url: "test-file-location.js", line: 11 },
|
||||
},
|
||||
{
|
||||
text: "message for level debug",
|
||||
category: CATEGORY_WEBDEV,
|
||||
severity: SEVERITY_LOG,
|
||||
source: { url: "test-file-location.js", line: 10 },
|
||||
source: { url: "test-file-location.js", line: 12 },
|
||||
}],
|
||||
});
|
||||
});
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
"use strict";
|
||||
|
||||
console.log("message for level log");
|
||||
console.info("message for level info");
|
||||
console.warn("message for level warn");
|
||||
|
|
Загрузка…
Ссылка в новой задаче