I have already set my
disablewebsecurity. However, when I try to access certain website which contain
content-security-policy header with
'unsafe-inline'. The js broke!!!
Here is the error message:
UPDATE: I have tried
webFrame.registerURLSchemeAsBypassingCSP('file') but no luck. Seems that the error is prompted before my
preload script of the
<webview> executed. That means
webFrame.registerURLSchemeAsBypassingCSP('file') has not even ran!
How come Thanks in advance