lightning-js / renderer

Lightning 3 Renderer
Apache License 2.0
57 stars 23 forks source link

fix: fallback when fetch does not supports URL scheme "data" #410

Open pecoram opened 1 month ago

pecoram commented 1 month ago

This PR implements a fallback for cases where createImageBitmap is supported but the fetch fails because does not supports URL scheme "data" (for example when using a polyfill).

pecoram commented 1 month ago

OK - I'm opening the PR with just the change we need, then we'll consider whether to go ahead with this