Helium314
Helium314
Still didn't manage to reproduce it... Anyway, when going through it again I noticed this is only dealing with file reading errors, so it won't deal with garbage data that...
Changed: * don't delete the backup file when calling `saveState` * retry from backup file on errors in `loadSession` and `loadSessions` Now it might actually help.
Related (same error `'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference at android.app.DownloadManager.enqueue`...): https://github.com/Tobi823/ffupdater/issues/99#issuecomment-1003185763
Can reproduce, but the crash log indicates some native crash in WebView and doesn't tell me anything further...
In the first link, the issue is caused by blocking https://cdn.adjust.com/adjust-latest.min.js But the crash happens a long time after blocking, and I have no clue what is really causing the...
Annoyances list shoud work like any other list. It consists mostly of element hiding rules, and is not implemented because I couldn't get it working. From the comment I suspect...
See https://sqlite.org/limits.html: `LIKE` is (by default) limited to 50000 bytes. Looks like `HistoryDatabase.findHistoryEntriesContaining` needs to be adjusted, maybe a length limit for `query`?
And indeed, limiting `search` stops the crash from happening: `search = "%${query.substring(0, query.lastIndex.coerceAtMost(1000))}%"`
Also can't reproduce it on S4 mini / Android 9 / WebView 95.something I get asked wether I want to open via app, and the page looks normal. No `tg:resolve`...
I think it's a problem of WebView or system download manager... Not working in Fulguris, Lightning and Jelly (all using system WebView), but working in Bromite (which has its own...