diff options
Diffstat (limited to 'toolkit/components/thumbnails/test')
6 files changed, 10 insertions, 10 deletions
diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_bg_captureIfMissing.js b/toolkit/components/thumbnails/test/browser_thumbnails_bg_captureIfMissing.js index 15cf4d7067..b3b4c1f305 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_bg_captureIfMissing.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_bg_captureIfMissing.js @@ -3,7 +3,7 @@ add_task(async function thumbnails_bg_captureIfMissing() { let numNotifications = 0; - function observe(subject, topic, data) { + function observe(subject, topic) { is(topic, "page-thumbnail:create", "got expected topic"); numNotifications += 1; } diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_bug727765.js b/toolkit/components/thumbnails/test/browser_thumbnails_bug727765.js index 8e953e0ffa..d4dd7caca7 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_bug727765.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_bug727765.js @@ -21,7 +21,7 @@ add_task(async function thumbnails_bg_bug727765() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(255, 0, 0, "we have a red thumbnail"); // Check the thumbnail color of the bottom right pixel. diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_bug818225.js b/toolkit/components/thumbnails/test/browser_thumbnails_bug818225.js index 5f557c40a4..37f9b2f7d7 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_bug818225.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_bug818225.js @@ -17,7 +17,7 @@ add_task(async function thumbnails_bg_bug818225() { gBrowser, url: URL, }, - async browser => { + async () => { gBrowserThumbnails.clearTopSiteURLCache(); await whenFileExists(URL); } diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_redirect.js b/toolkit/components/thumbnails/test/browser_thumbnails_redirect.js index b77b4011c3..ba06b9e779 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_redirect.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_redirect.js @@ -21,7 +21,7 @@ add_task(async function thumbnails_redirect() { gBrowser, url: URL, }, - browser => {} + () => {} ); // Create a tab, redirecting to a page with a red background. @@ -30,7 +30,7 @@ add_task(async function thumbnails_redirect() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(255, 0, 0, "we have a red thumbnail"); // Wait until the referrer's thumbnail's file has been written. diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_storage.js b/toolkit/components/thumbnails/test/browser_thumbnails_storage.js index 6a9f1ed3f6..39d26897a2 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_storage.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_storage.js @@ -89,7 +89,7 @@ async function promiseCreateThumbnail() { gBrowser, url: URL, }, - async browser => { + async () => { gBrowserThumbnails.clearTopSiteURLCache(); await whenFileExists(URL); } diff --git a/toolkit/components/thumbnails/test/browser_thumbnails_update.js b/toolkit/components/thumbnails/test/browser_thumbnails_update.js index 004df9a01f..7a00717e2f 100644 --- a/toolkit/components/thumbnails/test/browser_thumbnails_update.js +++ b/toolkit/components/thumbnails/test/browser_thumbnails_update.js @@ -163,7 +163,7 @@ add_task(async function thumbnails_captureAndStore_error_response() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(0, 255, 0, "we have a green thumbnail"); } ); @@ -176,7 +176,7 @@ add_task(async function thumbnails_captureAndStore_error_response() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(0, 255, 0, "we still have a green thumbnail"); } ); @@ -195,7 +195,7 @@ add_task(async function thumbnails_captureAndStore_ok_response() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(0, 255, 0, "we have a green thumbnail"); } ); @@ -208,7 +208,7 @@ add_task(async function thumbnails_captureAndStore_ok_response() { gBrowser, url: URL, }, - async browser => { + async () => { await captureAndCheckColor(255, 0, 0, "we now have a red thumbnail"); } ); |