For testing purposes, we allow Safari to use a custom HTTP/HTTPS proxy passed through command line arguments. MiniBrowser should also be able to do this.
<rdar://problem/59368527>
Created attachment 390458 [details] Patch
Created attachment 390486 [details] Patch
Comment on attachment 390486 [details] Patch Clearing flags on attachment: 390486 Committed r256530: <https://trac.webkit.org/changeset/256530>
All reviewed patches have been landed. Closing bug.
Comment on attachment 390486 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390486&action=review > Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:386 > parameters.defaultDataStoreParameters.networkSessionParameters.httpProxy = URL(URL(), [defaults stringForKey:(NSString *)WebKit2HTTPProxyDefaultsKey]); This patch is good, but we should be pushing Safari and MiniBrowser towards using SPI when they want proxies rather than checking in defaults ourselves.
Why are we special casing these apps? Seems like what a preference they enable or entitlements are for if we want to limit this for some reason.