Bug 1864896: Autofix unused function arguments (extensions/permissions). r=timhuang

Differential Revision: https://phabricator.services.mozilla.com/D202966
This commit is contained in:
Dave Townsend 2024-03-01 18:28:35 +00:00
Родитель 0d866b2f8f
Коммит abcec2057e
11 изменённых файлов: 11 добавлений и 11 удалений

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

@ -12,7 +12,7 @@ add_task(async function test_permissions_sent_over_ipc_on_bloburl() {
// setup a profile.
do_get_profile();
async function assertExpectedContentPage(contentPage) {
async function assertExpectedContentPage() {
const [processType, remoteType, principalSpec] = await page.spawn(
[],
async () => {

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

@ -109,7 +109,7 @@ add_task(async function test() {
["http://foo.com^inBrowser=1", "A", 2, 0, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -139,7 +139,7 @@ add_task(async function test() {
["https://[::1]", "3rdPartyStorage^https://www.a.co.uk", 2, 0, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -185,7 +185,7 @@ add_task(async function test() {
["https://192.0.2.235", "A", 1, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -203,7 +203,7 @@ add_task(function test() {
["https://127.0.0.1", "A", 1, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// This will force the permission-manager to reload the data.
Services.obs.notifyObservers(null, "testonly-reload-permissions-from-disk");

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

@ -252,7 +252,7 @@ add_task(async function test() {
["https://192.0.2.235", "A", 1, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -108,7 +108,7 @@ add_task(function test() {
["http://localhost", "B", 2, 0, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// This will force the permission-manager to reload the data.
Services.obs.notifyObservers(null, "testonly-reload-permissions-from-disk");

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

@ -253,7 +253,7 @@ add_task(async function test() {
["https://192.0.2.235", "A", 1, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -104,7 +104,7 @@ add_task(function test() {
["http://foo.com^inBrowser=1", "A", 2, 0, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// This will force the permission-manager to reload the data.
Services.obs.notifyObservers(null, "testonly-reload-permissions-from-disk");

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

@ -238,7 +238,7 @@ add_task(async function test() {
["https://192.0.2.235", "A", 2, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(

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

@ -175,7 +175,7 @@ add_task(async function test() {
["http://foo.com^inBrowser=1", "A", 2, 0, 0, 0],
];
let found = expected.map(it => 0);
let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(