mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
BrowserWindow SetProxyAsync sets proxy for all new windows #478
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thomvandevin on GitHub (May 6, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
Steps to Reproduce:
I spawn a browserwindow like this:
From here on, if I try to spawn a new BrowserWindow that loads a new url, the previous ProxyConfig seems to affect the traffic of this new window.
My current fix is by setting the proxyConfig again:
@GregorBiswanger commented on GitHub (May 10, 2020):
Hi @tomkerkhove
we natively set this command window related. It must be native electron behavior that all other windows inherit from it.
I am unsure whether we should consider this a mistake and include a workaround in our API.
@GregorBiswanger commented on GitHub (May 10, 2020):
I found the following from the native electron: https://github.com/electron/electron/issues/4859