window.open does not accept size values with "px" at the end #26077
Labels
10-x-y
11-x-y
beginner friendly
bug/regression ↩️
A new version of Electron broke something
platform/all
Preflight Checklist
Issue Details
Expected Behavior
The window should open with the correct size
Actual Behavior
The size is ignored
To Reproduce
Use nativeWindowOpen and do: window.open("", "", "width=300px")
Additional Information
This is working in chrome and firefox and was working in electron 9. If the event is intercepted via webContents.on("new-window") then the value is shown as NAN,
The text was updated successfully, but these errors were encountered: