From d90d408279938d389019a8bed15c5eb95af7c8bc Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Fri, 29 Dec 2023 10:31:45 +0700 Subject: Comment updates (#481) * comment updates * comment updates --- ext/js/background/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/background') diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js index b523cd6e..481567b5 100644 --- a/ext/js/background/backend.js +++ b/ext/js/background/backend.js @@ -1664,6 +1664,7 @@ export class Backend { } /** + * This function works around the need to have the "tabs" permission to access tab.url. * @param {number} timeout * @param {boolean} multiple * @param {import('backend').FindTabsPredicate} predicate @@ -1671,7 +1672,6 @@ export class Backend { * @returns {Promise} */ async _findTabs(timeout, multiple, predicate, predicateIsAsync) { - // This function works around the need to have the "tabs" permission to access tab.url. const tabs = await this._getAllTabs(); let done = false; -- cgit v1.2.3