Setting additionalArguments in webPreferences is not working


#1

According to https://github.com/electron/electron/blob/master/docs/api/web-contents.md we can set additionalArguments in webPreferences on will-attach-webview.

However, I found that the will-attach-webview is triggered and I can retrieve the webPreferences object in callback. But when I set a string array to webPreferences.additionalArguments. I cannot find it back in process.argv of my <webview> after it attached. How come…?

Can anyone help me? Thanks in advance.