Migrate screenshot icons into the browser/component/screenshots directory
Categories
(Firefox :: Screenshots, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: emmamalysz, Assigned: kajalsah107, NeedInfo)
References
Details
Attachments
(1 file, 1 obsolete file)
All of screenshots icons in the extension (https://searchfox.org/mozilla-central/source/browser/extensions/screenshots/icons) should be moved to the new screenshots directory.
Here would be an example on how to migrate cancel.svg
:
hg mv browser/extensions/screenshots/icons/cancel.svg browser/components/screenshots/content/cancel.svg
.- Within the screenshot's jar.mn file, we would have to reference that file.
- We would then have to remove the image's references from
browser/extensions/screenshots/manifest.json
andbrowser/extensions/screenshots/moz.build
. - Update the references for the specific svg to use the new path. If we're taking cancel.svg as an example, what would be the new src we use here https://searchfox.org/mozilla-central/source/browser/extensions/screenshots/selector/ui.js#414-416? This may be a good hint: https://searchfox.org/mozilla-central/rev/9c9f2f85d00aef1943cb521ac95c72bae932ebc5/browser/components/aboutlogins/content/aboutLogins.html#275.
- Verify that the icon looks correct in the screenshots UI
- Repeat for all svgs
Updated•4 years ago
|
![]() |
||
Comment 4•4 years ago
|
||
Backed out changeset b12a0c04a68b (Bug 1719492) for causing bc failures in browser_all_files_referenced.js.
https://hg.mozilla.org/integration/autoland/rev/7244d9960075c25333b7c650ad4cafa3f3f71be1
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&revision=b12a0c04a68bda60aae6b05905501b22cb8e3d29&selectedTaskRun=LdMlYuy9SFC_ERoQ_oqMmQ.0
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=345761115&repo=autoland&lineNumber=3630
Comment 6•4 years ago
|
||
Backed out for causing bc failures at browser_all_files_referenced.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/5bd8ce81a52f4865c4c9cde731cec25937baf095
Failure log: https://treeherder.mozilla.org/logviewer?job_id=345943947&repo=autoland&lineNumber=2849
![]() |
||
Comment 8•4 years ago
|
||
bugherder |
Description
•