Closed
Bug 1504523
Opened 7 years ago
Closed 7 years ago
browser_UrlbarInput_overflow.js: Use String repeat() method
Categories
(Firefox :: Address Bar, enhancement, P5)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dao, Assigned: rishabhjairath, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
new Array(200).fill("%20").join("") can be simplified to "%20".repeat(200):
https://searchfox.org/mozilla-central/rev/7c0a5e2aefd29b5b56923bc9fbc1180fc488b33c/browser/components/urlbar/tests/browser/browser_UrlbarInput_overflow.js#53
Assignee | ||
Comment 1•7 years ago
|
||
Hi Dao,
I am a newbie with one contribution. Can I take up this issue?
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to rishabhjairath from comment #1)
> Hi Dao,
> I am a newbie with one contribution. Can I take up this issue?
Sure... Let me know if you have questions.
Assignee: nobody → rishabhjairath
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #2)
> (In reply to rishabhjairath from comment #1)
> > Hi Dao,
> > I am a newbie with one contribution. Can I take up this issue?
>
> Sure... Let me know if you have questions.
I have pulled the latest changes. But in "browser/components/urlbar/tests" I only have one folder named "unit". How can I get the "browser" folder in tests?
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to rishabhjairath from comment #3)
> (In reply to Dão Gottwald [::dao] from comment #2)
> > (In reply to rishabhjairath from comment #1)
> > > Hi Dao,
> > > I am a newbie with one contribution. Can I take up this issue?
> >
> > Sure... Let me know if you have questions.
>
> I have pulled the latest changes. But in "browser/components/urlbar/tests" I
> only have one folder named "unit". How can I get the "browser" folder in
> tests?
It should be there in the tests folder. It's an ordinary folder, no idea why it wouldn't be there in your case...
Assignee | ||
Comment 5•7 years ago
|
||
Hi Dao,
could you review my changes please?
https://phabricator.services.mozilla.com/D11925
Assignee | ||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Attachment #9025362 -
Attachment description: Bug 1504523 - used String repeat() method in browser browser_UrlbarInput_overflow.js → Bug 1504523 - Use String repeat() method in browser_UrlbarInput_overflow.js
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4cfa567d7380
Use String repeat() method in browser_UrlbarInput_overflow.js r=dao
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•