java.lang.IllegalArgumentException: Unsupported URI scheme
at org.mozilla.geckoview.GeckoWebExecutor.fetch(GeckoWebExecutor.java:128)
at mozilla.components.browser.engine.gecko.fetch.GeckoViewFetchClient.fetch(GeckoViewFetchClient.kt:64)
at mozilla.components.browser.icons.loader.HttpIconLoader.load(HttpIconLoader.kt:54)
at mozilla.components.browser.icons.BrowserIconsKt.load(BrowserIcons.kt:276)
at mozilla.components.browser.icons.BrowserIconsKt.access$load(BrowserIcons.kt:1)
at mozilla.components.browser.icons.BrowserIcons.loadIconInternal(BrowserIcons.kt:127)
at mozilla.components.browser.icons.BrowserIcons.access$loadIconInternal(BrowserIcons.kt:77)
at mozilla.components.browser.icons.BrowserIcons$loadIcon$1.invokeSuspend(BrowserIcons.kt:110)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
I confirmed catching the IllegalArgumentException in HttpIconLoader fixes this, which we should probably do because crashing on fetching icons seems silly, but I thought this was interesting to bring up before catching it because it's unclear to me why this website would be an Unsupported URI scheme.
7160: Closes#7142: Sanitize url in HttpIconLoader r=pocmo a=Amejia481
7196: Closes#7176: Add to the configuration file for instrumentation tests components that use Room r=gabrielluong,pocmo,isabelrios a=Amejia481
Closes#7176
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
ekager commentedMay 28, 2020
•
edited by data-sync-user
Originally reported here: mozilla-mobile/fenix#10880
Steps to reproduce
Visit https://www.gruppoapi.com/ricerca-stazioni-servizio
I confirmed catching the
IllegalArgumentException
inHttpIconLoader
fixes this, which we should probably do because crashing on fetching icons seems silly, but I thought this was interesting to bring up before catching it because it's unclear to me why this website would be anUnsupported URI scheme
.┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: