Skip to content

URL.createObjectURL fails on 0.76.1 #8075

Closed
@Kruithne

Description

@Kruithne

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

URL.createObjectURL(new Blob([])) is the minimal code needed to reproduce the issue. In 0.76.1 the following error message is produced, regardless of input.

Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed.

Expected/Proposed Behavior

The expected behavior is that a URL to the blob is returned, such as:

blob:chrome-extension://hjnamambhlpahhgnmkmdplebghbjncpm/b1957c09-3e5c-48d3-b545-8052ddb77d3c

This works as expected on 0.75.0.

Additional Info

  • Operating System: Windows
  • NW.js Version: 0.76.1
  • Repro Link:
  • Code snippet: URL.createObjectURL(new Blob([]))
  • Crash report:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions