BabylonJS / BabylonNative

Build cross-platform native applications with the power of the Babylon.js JavaScript framework
MIT License
753 stars 130 forks source link

Fix stub for `Blob` in engine #1241

Open docEdub opened 1 year ago

docEdub commented 1 year ago

Overview

The Blob function is currently stubbed in Babylon.js nativeEngine.ts.

Implement the Blob function so its behavior matches current browser implementations.

Notes

This task was originally captured in issue https://github.com/BabylonJS/BabylonNative/issues/62.

bghgary commented 9 months ago

Try to remove the stub and see if everything still works.

CedricGuillemet commented 5 months ago

Try to remove the stub and see if everything still works.

It doesn't:

Running Light Projection Texture
Exception thrown at 0x00007FFFF19B567C in Playground.exe: Microsoft C++ exception: Js::JavascriptException at memory location 0x000000062603B680.
ReferenceError: 'Blob' is not defined