Closed
Bug 879938
Opened 12 years ago
Closed 9 years ago
Remove Lookup methods and Xpath elements from lib/prefs.js
Categories
(Mozilla QA Graveyard :: Mozmill Tests, defect)
Mozilla QA Graveyard
Mozmill Tests
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jfrench, Unassigned, Mentored)
References
()
Details
(Whiteboard: [lang=js])
Split off from bug 503192, this is a marker bug to remove and replace any elementslib.Lookup methods and Xpath elements from lib/prefs.js to make the code base less fragile. We would like to replace Lookup with ID, Selector, or if neither work, Class via NodeCollector.
An example of this approach can be found here in the getElements() method in lib/addons.js
http://hg.mozilla.org/qa/mozmill-tests/file/b8a22c8c9a3b/lib/addons.js#l1026
Updated•12 years ago
|
Comment 1•11 years ago
|
||
I would like to work on this bug. I would upload the patch within a while.
Comment 2•11 years ago
|
||
Amod, I would suggest that you are getting started with a single bug like bug 879884 first. Once done or nearly finished we could assign additionally bugs to you. Would that work?
Comment 3•11 years ago
|
||
sure...no problem..
Updated•11 years ago
|
Whiteboard: [mentor=whimboo][lang=js][good first bug] → [mentor=whimboo][lang=js]
Comment 4•11 years ago
|
||
since the bug 879884 is resolved I self-assign this bug and start working on it.
Status: NEW → ASSIGNED
Updated•11 years ago
|
Assignee: nobody → amod.narvekar
Comment 5•11 years ago
|
||
Sounds like a good starter for you indeed. Let us know if you have questions.
Comment 6•11 years ago
|
||
(In reply to Jonathan French (:jfrench) from comment #0)
> An example of this approach can be found here in the getElements() method in
> lib/addons.js
> http://hg.mozilla.org/qa/mozmill-tests/file/b8a22c8c9a3b/lib/addons.js#l1026
In this case, would it be correct to define | parent | as done in
http://hg.mozilla.org/qa/mozmill-tests/file/b8a22c8c9a3b/lib/addons.js#l1035
http://hg.mozilla.org/qa/mozmill-tests/file/b8a22c8c9a3b/lib/addons.js#l1046
http://hg.mozilla.org/qa/mozmill-tests/file/b8a22c8c9a3b/lib/addons.js#l1048
Comment 7•11 years ago
|
||
You might wanna take the same set of parameters, and make use them as needed. First you might want to check which elements to modify and how best they are reachable. If you have to use the nodeCollector it would be wise to implement it similar to the addons.js module.
Assignee | ||
Updated•11 years ago
|
Mentor: hskupin
Whiteboard: [mentor=whimboo][lang=js] → [lang=js]
Comment 8•10 years ago
|
||
I will put this bug back into the general bucket, so we can find someone who want to fix it in a short term. Would be good to get this done soon.
Assignee: amod.narvekar → nobody
Status: ASSIGNED → NEW
Comment 9•9 years ago
|
||
Since the last update on this bug the Mozmill tests have been deprecated in
favor of the Firefox UI tests. So we no longer want to fix this bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•