Skip to content

Fix stubs for URL.createObjectURL and URL.revokeObjectURL in engine #1240

Closed

Description

@docEdub

Overview

The URL.createObjectURL and URL.revokeObjectURL functions are currently stubbed in Babylon.js nativeEngine.ts.

Implement these functions so their behavior matches current browser implementations.

Notes

This task was originally capture in issue #62.

Activity

  1. added this to the 7.0 milestone on Jun 12, 2023
  2. bghgary commented on Oct 12, 2023

    @bghgary
    Contributor

    Try to remove the stub and see if everything is okay.

  3. modified the milestones: 7.0, 8.0 on Mar 26, 2024
  4. modified the milestones: 8.0, 9.0, Future on Apr 3, 2025
  5. bkaradzic-microsoft commented on Oct 23, 2026

    @bkaradzic-microsoft
    Member

    Implemented in BabylonJS/JsRuntimeHost#207 (commit 9271f13): native URL.createObjectURL/revokeObjectURL use a blob URL registry and resolve blob URLs through UrlLib for fetch/XHR. BabylonNative's currently pinned runtime includes this implementation, and Embedding initializes the native URL polyfill before loading the engine, rather than relying on the engine's fallback stubs. Closing this URL-method request; broader Blob browser-parity gaps remain tracked separately in #1241.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions