alwu 6b3fcc326b Bug 1599938 - Implement a helper class to fetch image data from URL r=ckerschb,kershaw
We implement a helper class `FetchImageHelper` that is used to fetch image via an image URL directly. It would return a promise which would resolve with a surface image, them cusumer can acquire the image data from that surface.

We will use this class to fetch the artwork image which websites set from MediaSession API and display the image on the system virtual control interface.

Differential Revision: https://phabricator.services.mozilla.com/D69288
2020-04-20 17:43:57 +00:00
..