aboutsummaryrefslogtreecommitdiff
path: root/ext/js/background/backend.js
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-29 10:31:45 +0700
committerGitHub <noreply@github.com>2023-12-29 03:31:45 +0000
commitd90d408279938d389019a8bed15c5eb95af7c8bc (patch)
tree0c81f456e3aaf853528c51b0d85ae54fcde05412 /ext/js/background/backend.js
parentc13ee62b84693346e28741d7f016c6700a2c27d4 (diff)
Comment updates (#481)
* comment updates * comment updates
Diffstat (limited to 'ext/js/background/backend.js')
-rw-r--r--ext/js/background/backend.js2
1 files changed, 1 insertions, 1 deletions
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<import('backend').TabInfo[]|(?import('backend').TabInfo)>}
*/
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;