Bug 1510561 - Part 7: Apply plugin:mozilla/require-jsdoc to browser/components/urlbar. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D159472
This commit is contained in:
trickypr
2022-10-24 13:32:38 +00:00
parent f28fa5aa80
commit 4b9c23b007
44 changed files with 207 additions and 67 deletions

View File

@@ -66,6 +66,8 @@ class ProviderTopSites extends UrlbarProvider {
/**
* Unique name for the provider, used by the context to filter on providers.
* Not using a unique name will cause the newest registration to win.
*
* @returns {string}
*/
get name() {
return "UrlbarProviderTopSites";
@@ -73,6 +75,8 @@ class ProviderTopSites extends UrlbarProvider {
/**
* The type of the provider.
*
* @returns {UrlbarUtils.PROVIDER_TYPE}
*/
get type() {
return UrlbarUtils.PROVIDER_TYPE.PROFILE;