You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being addressed by #212 (open) — Support data URLs in the fetch polyfill, which resolves both percent-encoded and Base64 data: URLs generically (WHATWG forgiving-base64 validation, default/explicit media types, fragment stripping, case-insensitive base64, missing padding, invalid-alphabet rejection), with cases ported from WPT fetch/data-urls and Chromium's DataURL tests — rather than the one-off decode this issue was filed against (BabylonJS/BabylonNative#1328).
Note on scope: #212 implements data: inside Polyfills/Fetch/Source/Fetch.cpp, so it covers the fetch path only. XMLHttpRequest and other UrlRequest consumers (image/video src, texture loaders) still won't resolve data:. The fully generic answer is the same shape as the blob: work in #207/#213 — a data: scheme resolver registered through UrlLib::UrlRequest::RegisterSchemeResolver, so every consumer gets it uniformly.
Leaving this open until that generic path exists; #212 is the first (and largest) piece.
Activity
bkaradzic-microsoft commentedon Aug 18, 2026
Being addressed by #212 (open) — Support data URLs in the fetch polyfill, which resolves both percent-encoded and Base64
data:URLs generically (WHATWG forgiving-base64 validation, default/explicit media types, fragment stripping, case-insensitivebase64, missing padding, invalid-alphabet rejection), with cases ported from WPTfetch/data-urlsand Chromium'sDataURLtests — rather than the one-off decode this issue was filed against (BabylonJS/BabylonNative#1328).Note on scope: #212 implements
data:insidePolyfills/Fetch/Source/Fetch.cpp, so it covers thefetchpath only.XMLHttpRequestand otherUrlRequestconsumers (image/videosrc, texture loaders) still won't resolvedata:. The fully generic answer is the same shape as theblob:work in #207/#213 — adata:scheme resolver registered throughUrlLib::UrlRequest::RegisterSchemeResolver, so every consumer gets it uniformly.Leaving this open until that generic path exists; #212 is the first (and largest) piece.
Resolve data: URLs for every UrlLib consumer via a registered scheme …
Resolve data: URLs for every UrlLib consumer via a registered scheme …