Media capabilities code in aboutSupport.js does strange path manipulation
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: Gijs, Assigned: achronop)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
This is not how you do path manipulation in a platform-agnostic way.
Use file.append()
and then get the path.
Also, I hate to be a stickler about rules, but this patch should have had review from a relevant toolkit/firefox peer - they would probably have flagged this up.
Assignee | ||
Comment 1•5 years ago
|
||
Thanks for the report I will fix it. I missed completely those rule do you have a link to them?
Reporter | ||
Comment 2•5 years ago
|
||
(In reply to Alex Chronopoulos [:achronop] from comment #1)
Thanks for the report I will fix it. I missed completely those rule do you have a link to them?
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Code_Review_FAQ
https://wiki.mozilla.org/Modules/All#Toolkit
(Mossop is in the process of updating the Firefox/Toolkit modules to provide better guidance about who can review what, as well as doing some housekeeping in the list of active peers.)
Assignee | ||
Comment 3•5 years ago
|
||
Use file.append() to create the desired path in a platform agnostic way.
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/7a5a3aef7880 Fix path manipulation in about support. r=Gijs
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Updated•2 years ago
|
Updated•2 years ago
|
Description
•