Skip to content

Commit 5e0bec8

Browse files
committed
Bug 1991124 - Fix ESLint require-jsdoc issues in urlbar and search code. r=urlbar-reviewers,search-reviewers,scunnane,dao
Differential Revision: https://phabricator.services.mozilla.com/D266628 UltraBlame original commit: 75e6b2958acc22b5f96e5795c2ed639bd796d150
1 parent dcba8f2 commit 5e0bec8

File tree

8 files changed

+141
-129
lines changed

8 files changed

+141
-129
lines changed

browser/components/urlbar/SearchModeSwitcher.sys.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,6 +2502,13 @@ the
25022502
popup
25032503
.
25042504
*
2505+
*
2506+
param
2507+
{
2508+
Element
2509+
}
2510+
separator
2511+
*
25052512
/
25062513
async
25072514
#

browser/components/urlbar/UrlbarProviderAutofill.sys.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2023,12 +2023,22 @@ UrlbarResult
20232023
}
20242024
result
20252025
*
2026+
The
2027+
result
2028+
entry
2029+
.
2030+
*
20262031
property
20272032
{
20282033
Query
20292034
}
20302035
instance
20312036
*
2037+
The
2038+
query
2039+
instance
2040+
.
2041+
*
20322042
/
20332043
/
20342044
*

browser/components/urlbar/UrlbarResult.sys.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,14 @@ string
306306
qsSuggestion
307307
]
308308
*
309+
The
310+
suggestion
311+
text
312+
from
313+
quick
314+
suggest
315+
.
316+
*
309317
/
310318
/
311319
*

browser/components/urlbar/UrlbarSearchTermsPersistence.sys.mjs

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,18 @@ string
158158
}
159159
providerId
160160
*
161+
The
162+
search
163+
engine
164+
provider
165+
id
166+
associated
167+
with
168+
the
169+
persisted
170+
terms
171+
.
172+
*
161173
property
162174
{
163175
RegExp
@@ -166,6 +178,19 @@ RegExp
166178
searchPageRegexp
167179
]
168180
*
181+
The
182+
regular
183+
expression
184+
for
185+
determining
186+
if
187+
the
188+
search
189+
page
190+
URL
191+
matches
192+
.
193+
*
169194
property
170195
{
171196
{
@@ -186,6 +211,22 @@ boolean
186211
}
187212
includeParams
188213
*
214+
The
215+
parameters
216+
that
217+
should
218+
be
219+
included
220+
in
221+
determining
222+
if
223+
the
224+
search
225+
page
226+
URL
227+
matches
228+
.
229+
*
189230
property
190231
{
191232
{
@@ -203,6 +244,22 @@ string
203244
}
204245
excludeParams
205246
*
247+
The
248+
parameters
249+
that
250+
should
251+
be
252+
excluded
253+
in
254+
determining
255+
if
256+
the
257+
search
258+
page
259+
URL
260+
matches
261+
.
262+
*
206263
/
207264
ChromeUtils
208265
.

browser/components/urlbar/private/MLSuggest.sys.mjs

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,20 @@ purposes
433433
.
434434
*
435435
*
436+
param
437+
{
438+
object
439+
}
440+
options
441+
*
442+
Configuration
443+
options
444+
for
445+
the
446+
ML
447+
engine
448+
.
449+
*
436450
returns
437451
{
438452
MLEngine
@@ -441,15 +455,15 @@ MLEngine
441455
/
442456
createEngine
443457
(
444-
args
458+
options
445459
)
446460
{
447461
return
448462
lazy
449463
.
450464
createEngine
451465
(
452-
args
466+
options
453467
)
454468
;
455469
}

browser/components/urlbar/private/YelpSuggestions.sys.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,6 +1655,13 @@ RESULT_MENU_COMMAND
16551655
name
16561656
]
16571657
*
1658+
The
1659+
name
1660+
of
1661+
the
1662+
command
1663+
.
1664+
*
16581665
property
16591666
{
16601667
{
@@ -1667,6 +1674,19 @@ string
16671674
l10n
16681675
]
16691676
*
1677+
The
1678+
id
1679+
of
1680+
the
1681+
l10n
1682+
string
1683+
to
1684+
use
1685+
for
1686+
the
1687+
translation
1688+
.
1689+
*
16701690
/
16711691
/
16721692
*

eslint-rollouts.config.mjs

Lines changed: 0 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -5106,21 +5106,6 @@ browser
51065106
/
51075107
components
51085108
/
5109-
search
5110-
/
5111-
content
5112-
/
5113-
autocomplete
5114-
-
5115-
popup
5116-
.
5117-
js
5118-
"
5119-
"
5120-
browser
5121-
/
5122-
components
5123-
/
51245109
security
51255110
/
51265111
unexpectedScriptLoad
@@ -5132,105 +5117,6 @@ browser
51325117
/
51335118
components
51345119
/
5135-
urlbar
5136-
/
5137-
SearchModeSwitcher
5138-
.
5139-
sys
5140-
.
5141-
mjs
5142-
"
5143-
"
5144-
browser
5145-
/
5146-
components
5147-
/
5148-
urlbar
5149-
/
5150-
UrlbarProviderAutofill
5151-
.
5152-
sys
5153-
.
5154-
mjs
5155-
"
5156-
"
5157-
browser
5158-
/
5159-
components
5160-
/
5161-
urlbar
5162-
/
5163-
UrlbarResult
5164-
.
5165-
sys
5166-
.
5167-
mjs
5168-
"
5169-
"
5170-
browser
5171-
/
5172-
components
5173-
/
5174-
urlbar
5175-
/
5176-
UrlbarSearchTermsPersistence
5177-
.
5178-
sys
5179-
.
5180-
mjs
5181-
"
5182-
"
5183-
browser
5184-
/
5185-
components
5186-
/
5187-
urlbar
5188-
/
5189-
private
5190-
/
5191-
MLSuggest
5192-
.
5193-
sys
5194-
.
5195-
mjs
5196-
"
5197-
"
5198-
browser
5199-
/
5200-
components
5201-
/
5202-
urlbar
5203-
/
5204-
private
5205-
/
5206-
YelpSuggestions
5207-
.
5208-
sys
5209-
.
5210-
mjs
5211-
"
5212-
"
5213-
browser
5214-
/
5215-
components
5216-
/
5217-
urlbar
5218-
/
5219-
tests
5220-
/
5221-
engagementTelemetry
5222-
/
5223-
browser
5224-
/
5225-
head
5226-
.
5227-
js
5228-
"
5229-
"
5230-
browser
5231-
/
5232-
components
5233-
/
52345120
webrtc
52355121
/
52365122
content
@@ -5261,19 +5147,6 @@ mjs
52615147
"
52625148
toolkit
52635149
/
5264-
components
5265-
/
5266-
search
5267-
/
5268-
SearchSuggestionController
5269-
.
5270-
sys
5271-
.
5272-
mjs
5273-
"
5274-
"
5275-
toolkit
5276-
/
52775150
modules
52785151
/
52795152
AppServicesTracing

toolkit/components/search/SearchSuggestionController.sys.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,6 +1989,16 @@ string
19891989
}
19901990
term
19911991
*
1992+
The
1993+
search
1994+
term
1995+
used
1996+
for
1997+
obtaining
1998+
the
1999+
suggestions
2000+
.
2001+
*
19922002
property
19932003
{
19942004
FormHistoryResultType
@@ -1997,6 +2007,19 @@ FormHistoryResultType
19972007
formHistoryResults
19982008
]
19992009
*
2010+
The
2011+
results
2012+
in
2013+
a
2014+
form
2015+
history
2016+
result
2017+
object
2018+
used
2019+
for
2020+
SearchSuggestions
2021+
.
2022+
*
20002023
property
20012024
{
20022025
Array

0 commit comments

Comments
 (0)