This repository has been archived by the owner on Apr 17, 2021. It is now read-only.
Ensure chrome intent URIs, other unknown protocols embeded in pages, don't result in "Unknown protocol" pages #3019
Labels
chore
Task to improve tooling, do something not product/user facing
Chrome intent URIs allow pages to open apps using URIs (e.g.
<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end"> Take a QR code </a>
. A intuitive behavior for our developers is to show an error when seeing a protocol we can't handle. However, in my experience, some pages will try to open an intent Uri and fallback to a web page if the app is not available:In the naive implementation, this will send the user to an "Unknown protocol" page. Even if we don't fully support the chrome intent URIs, we should ensure we don't do the wrong thing.
Note: later versions of a-c may get us this for free.
The text was updated successfully, but these errors were encountered: