should be allowed to access content from any origin. By default, when something is loaded in a #WebKitWebView 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.
Settings.allowUniversalAccessFromFileUrls
bool allowUniversalAccessFromFileUrls() @propertyGet allowUniversalAccessFromFileUrls property.
Returns
Whether or not JavaScript running in the context of a file scheme URL
void allowUniversalAccessFromFileUrls(bool propval) @propertySet allowUniversalAccessFromFileUrls property.
Parameters
propval | 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 #WebKitWebView 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. |