Update browser_overflowScroll.js to use BrowserTestUtils.overflowTabs function
Categories
(Firefox :: Keyboard Navigation, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: tgiles, Assigned: shasha, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
Currently, the browser_overflowScroll.js uses a custom implementation for getting the tabs to overflow. With the addition of the shared overflowTabs function in Bug 1778450, we should update this test to used the shared implementation. The shared overflowTabs now lives in BrowserTestUtils, instead of shared-head.js
Note: we'll need to keep the left, right, isLeft, isRight, etc. block of variables intact. We just need to swap out the overflowTabs logic for the function call.
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help.
This will tell others that you're working on the next steps. - Download and build the Firefox source code
- If you have any problems, please ask on Element/Matrix in the
#introduction
channel. They're there to help you get started. - You can also read the Developer Guide, which has answers to most development questions.
- If you have any problems, please ask on Element/Matrix in the
- Start working on this bug.
- As noted in Comment #0, you'll need to update the test to use BrowserTestUtils.overflowTabs() instead of the test's current implementation.
- If you have any problems with this bug, please comment on this bug and set the needinfo flag for me. Also, you can find me and my teammates on the
#fx-desktop-dev
channel on Element/Matrix most hours of most days.
- Build your change with
mach build
and test your change withmach test browser/base/content/test/tabs/browser_overflowScroll.js --headless
. Also check your changes for adherence to our style guidelines by usingmach lint
. - Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.
- How to Submit a Patch
- This is when the bug will be assigned to you.
- After a series of reviews and changes to your patch, I'll mark it for checkin or push it to autoland.
- If there are changes requested, please read the "To update a submitted patch" section to ensure you don't accidentally create a duplicate revision!
- Your code will soon be shipping to Firefox users worldwide!
Reporter | ||
Comment 3•2 years ago
|
||
Hi Renzo, feel free to solve this issue! I'll assign it to you. If you have any questions, feel free to reach out over on element or needinfo me here. Feel free to look at Bug 1791439 as an example as well.
Comment 4•2 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 5•2 years ago
|
||
Hi Tim, Does this overflowTabs still need refactoring? if so I'd love to give it a go.
Reporter | ||
Comment 6•2 years ago
•
|
||
Hi Sage, yeah this refactoring work is still valid. Thanks for the help! Please refer to Comment #1 for help getting started, but feel free to needinfo me here or reach out to me over on Matrix if you run into other issues along the way!
Comment 7•2 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•2 years ago
|
||
Hi Tim. Is this bug still valid? If yes, I would like to give it a try.
Reporter | ||
Comment 9•2 years ago
|
||
Hey Shreya, this bug is still valid, feel free to take a try at it. Thanks for the help! Feel free to needinfo me for help with this bug or reach out over on Matrix if you run into issues!
Assignee | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
bugherder |
Description
•