Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_temporary_permissions_navigation.js
Categories
(Firefox :: General, enhancement, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: prathiksha, Assigned: aleja533, Mentored)
Details
Attachments
(1 file)
This is a good first bug for newcomers to Firefox development.
BrowserTestUtils.waitForCondition in browser_temporary_permissions_navigation.js[0] can be replaced by TestUtils.waitForCondition.
You can run this test with the ./mach test command:
./mach test browser/base/content/test/permissions/browser_temporary_permissions_navigation.js
Please leave a comment if you would like to be assigned to this bug. Feel free to contact us via Matrix in the #osfcep channel or leave a comment here if you're stuck.
Reporter | ||
Updated•5 years ago
|
I run the test and it's pass. Now what would be the next step?
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to aleja533 from comment #2)
I run the test and it's pass. Now what would be the next step?
So the test is expected to pass with or without changing BrowserTestUtils to TestUtils. This good-first-bug is more of a task of cleaning up something in the code. The intent is to get beginners acquainted with creating patches, the setup, reviews, Mercurial, running tests, etc. You need to replace BrowserTestUtils with TestUtils in your patch as explained in the bug description.
Comment 4•5 years ago
|
||
Did you mean to close this? I don't think so. Your next step would be to make the suggested changes and submit a patch. :)
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Description
•