WebView fails to show a page which URL is read from a local file.
The following error is output.
This happens with Android targetSdkVersion 30. It works fine with 29.
This might be a result of Android changing a behavior.
Reference : https://developer.android.com/reference/android/webkit/WebSettings#setAllowFileAccess(boolean)
How to reproduce
- Use minibrowser_qtbug97487.zip
- If you change targetSdkVersion to 29 in build.gradle, it works.