Add support for image bitmap to ContentDelegate.ContextElement
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: jonalmeida, Unassigned)
References
Details
When we long-press an HTML element, we get a ContextElement of the source URI, but not the image.
If we want to share an image then, we would need to download it again before using the Android system to perform actions like sharing to other apps. This seems like duplicate work to download an image that is already in web content.
It would be nice, if the ContextElement return with the image itself to be used.
This was possible in Focus WebView as far as I recall.
| Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Figure out how important this is based on telemetry and then prioritise.
| Reporter | ||
Comment 2•5 years ago
|
||
In Android Components, our solution for this is to use http client to download the image for sharing and rely on the network caching to avoid re-downloading the content.
You can see this working in your ShareDownloadFeature.
Description
•