bug 1523104: remote: fix lint problems related to new browser-chrome tests; r=ochameau

This commit is contained in:
Andreas Tolfsen 2019-02-17 15:29:12 +00:00
Родитель 516501f774
Коммит b53e3572d1
2 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -0,0 +1,9 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
module.exports = {
"extends": ["plugin:mozilla/browser-test"],
};

Просмотреть файл

@ -3,6 +3,8 @@
"use strict";
/* global getCDP */
// Test very basic CDP features.
const TEST_URI = "data:text/html;charset=utf-8,default-test-page";
@ -26,7 +28,7 @@ add_task(async function() {
return list.find(target => {
return target.url == TEST_URI;
});
}
},
});
ok(true, "CDP client has been instantiated");
@ -41,7 +43,7 @@ add_task(async function() {
Log.entryAdded(({entry}) => {
const {timestamp, level, text, args} = entry;
const msg = text || args.join(" ");
const msg = text || args.join(" ");
console.log(`${new Date(timestamp)}\t${level.toUpperCase()}\t${msg}`);
});