Skip to content
Snippets Groups Projects
Commit f0eef7bf authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Initial review comments

parent 8f5aadc8
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ abstract class AbstractCustomTabsService : CustomTabsService() {
logger.debug("Opening speculative connections")
// Most likely URL for a future navigation: Open a speculative connection.
// XXX Isolated as first parties?
engine.speculativeConnect(url.toString())
// A list of other likely URLs. Let's open a speculative connection for them up to a limit.
......
......@@ -83,6 +83,7 @@ class CustomTabWindowFeature(
// if we need to add new schemes to properly support this workflow.
// See Fenix #8412
try {
// XXX has scheme http or https
intent.launchUrl(activity, uri)
} catch (e: ActivityNotFoundException) {
onLaunchUrlFallback(uri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment