Open
Description
Issue Type
Before opening an issue, please search and see if it has already been raised.
One of the cases was fixed in:
This is a:
- Bug Report
- Successfully reproduced against the latest version of NW.js
Current/Missing Behavior
Calling URL.createObjectURL fails in most occurences:
- When nw.js is run with a flag
--mixed-context
- When
URL.createObjectURL
is called in an nw-enabled webview (allownw
attribute). - When
URL.createObjectURL
is called in a first window after creating a second one.
The error is
Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed.
Minimal code that reproduces that:
URL.createObjectURL(new Blob([]))
Expected/Proposed Behavior
Calling URL.createObjectURL should work
Additional Info
- Operating System: Confirmed to affect Windows 10 and 11, Linux (SteamOS and others).
- NW.js Version: 0.87.0