allow_file_access_from_file_urls


Description:

[ Version ( since = "2.10" ) ]
public bool allow_file_access_from_file_urls { get; set construct; }

Whether file access is allowed from file URLs.

By default, when something is loaded in a WebView using a file URI, cross origin requests to other file resources are not allowed. This setting allows you to change that behaviour, so that it would be possible to do a XMLHttpRequest of a local file, for example.




2022 vala-language.org