зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1711726 - Remove unused vars from places tests. r=mak
These are currently exhibited as ESLint warnings. Depends on D131150 Differential Revision: https://phabricator.services.mozilla.com/D131151
This commit is contained in:
Родитель
19bb20c6c8
Коммит
10da657bc5
|
@ -10,7 +10,6 @@ const { PrivateBrowsingUtils } = ChromeUtils.import(
|
||||||
|
|
||||||
const UTF8 = "UTF-8";
|
const UTF8 = "UTF-8";
|
||||||
const UTF16 = "UTF-16";
|
const UTF16 = "UTF-16";
|
||||||
const CHARSET_ANNO = PlacesUtils.CHARSET_ANNO;
|
|
||||||
|
|
||||||
const TEST_URI = "http://foo.com";
|
const TEST_URI = "http://foo.com";
|
||||||
const TEST_BOOKMARKED_URI = "http://bar.com";
|
const TEST_BOOKMARKED_URI = "http://bar.com";
|
||||||
|
|
|
@ -15,16 +15,6 @@ const URIS = [
|
||||||
"http://c.example3.com/",
|
"http://c.example3.com/",
|
||||||
];
|
];
|
||||||
|
|
||||||
const TOPIC_CONNECTION_CLOSED = "places-connection-closed";
|
|
||||||
|
|
||||||
var EXPECTED_NOTIFICATIONS = [
|
|
||||||
"places-shutdown",
|
|
||||||
"places-expiration-finished",
|
|
||||||
"places-connection-closed",
|
|
||||||
];
|
|
||||||
|
|
||||||
const UNEXPECTED_NOTIFICATIONS = ["xpcom-shutdown"];
|
|
||||||
|
|
||||||
const FTP_URL = "ftp://localhost/clearHistoryOnShutdown/";
|
const FTP_URL = "ftp://localhost/clearHistoryOnShutdown/";
|
||||||
|
|
||||||
const { Sanitizer } = ChromeUtils.import("resource:///modules/Sanitizer.jsm");
|
const { Sanitizer } = ChromeUtils.import("resource:///modules/Sanitizer.jsm");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче