[Bug]: BrowserWindow.webPreferences.additionalArguments cannot contain a "\" (broken since v14.x.y) #32064
Closed
3 tasks done
Labels
14-x-y
bug 🪲
has-repro-comment
Issue has repro in comments
has-repro-repo
Issue can be reproduced by cloning a git repo
stale
Preflight Checklist
Electron Version
14.0.0
What operating system are you using?
Windows
Operating System Version
Windows 10 Pro Version 20H2
What arch are you using?
x64
Last Known Working Electron version
13.3.0
Expected Behavior
I expect that I am able to pass in a string into additionalArguments that contains a "\". This functionality is no longer working in v14.0.0 (I also tested and see that it is broken in v16.0.0 as well).
Sample snippet (full repo is in "Additional Information" section)
Actual Behavior
I piggy-back off of additionalArguments in order to send a filepath to code that executes in the preload script.
I expect this to work
Testcase Gist URL
No response
Additional Information
Problem file in repo exists @app/electron/main.js
Steps to repro
The text was updated successfully, but these errors were encountered: