Support web app manifest ImageResource.purpose
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
People
(Reporter: tigeroakes, Assigned: marcosc)
Details
(Whiteboard: [geckoview:fenix:p2])
Attachments
(1 external file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
A parsed web app manifest should include all properties for ImageResources in the icons field
Actual results:
"purpose" is stripped out from ImageResource entries
Expected results:
The ImageObjectProcessor class only keeps the "src", "type", and "sizes" attributes from entries in the "icons" array in a web app manifest. A-C needs access to the "purpose" field as well, which determines if an icon can be masked and used as an adaptive icon.
https://www.w3.org/TR/appmanifest/#purpose-member
https://searchfox.org/mozilla-central/source/dom/manifest/ImageObjectProcessor.jsm#69
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Marcos, just a heads up, in case you have opinions: the A-C team would like to access ImageResource's purpose field for Fenix. Maliha is an intern working with the A-C team.
| Assignee | ||
Comment 2•7 years ago
|
||
Thanks for the heads-up, Chris!
Maliha, happy to review or help however I can. I'm marcosc on Slack if you have any questions.
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 3•7 years ago
|
||
implementation of purpose member
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 4•7 years ago
|
||
Comment 6•7 years ago
|
||
| bugherder | ||
Comment 7•7 years ago
|
||
firefox69=wontfix because we don't need to uplift this web app manifest changes to GV 69 Beta (especially considering it adds new dom.properties strings that need to be translated).
Description
•