allow_universal_access_from_file_urls


Description:

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

Whether or not JavaScript running in the context of a file scheme URL should be allowed to access content from any origin.

By default, when something is loaded in a WebView using a file scheme URL, access to the local file system and arbitrary local storage is not allowed. This setting allows you to change that behaviour, so that it would be possible to use local storage, for example.




2022 vala-language.org