commit | 7f160bf8df7dca9946d76ecc4ac6fddf670e9d2f | [log] [tgz] |
---|---|---|
author | huangxueqing <huangxueqing@xiaomi.com> | Wed Jul 11 14:34:22 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 11 14:34:22 2018 |
tree | 08e7657e6a4e9bbcd605b7417d1a35952ea3dbd0 | |
parent | 0d0514d9c82d874a15a8686b60744da4ccdb3241 [diff] |
Reland "Ignore Intent filters with wildcard hosts when handling links." This is a reland of 6d48958d7cd5f2d958a846e35d410f4ed5b85934 Don't check acceptable scheme links since UrlUtilities.isAcceptedScheme() was native function, libchrome.so had not loaded when handle intent. Original change's description: > Ignore Intent filters with wildcard hosts when handling links. > > If the Android device has a package installed that declares > an Intent filter with `android:host="*"`, Chrome will launch > the Intent picker UX whenever a person taps a link. > This is a poor user experience. (Using `android:host="*"` > arguably doesn't make much sense; normally, Intent filters > would use `*` to match subdomains such as *.google.com.) Thus, > skip Intent filters with such wildcard hosts when handling > acceptable scheme links. > > R=dtrainor@chromium.org > > Bug: 841133 > Change-Id: I3cb14309ed53e0bd623ed0da59af6635391a8718 > Reviewed-on: https://chromium-review.googlesource.com/1053847 > Reviewed-by: Michael Thiessen <mthiesse@chromium.org> > Reviewed-by: Chris Palmer <palmer@chromium.org> > Reviewed-by: Maria Khomenko <mariakhomenko@chromium.org> > Commit-Queue: Michael Thiessen <mthiesse@chromium.org> > Cr-Commit-Position: refs/heads/master@{#564487} Bug: 841133 Change-Id: Id2fd7f7364eb6c70280b29a1f71783a2ee89747b Reviewed-on: https://chromium-review.googlesource.com/1096554 Reviewed-by: Yaron Friedman <yfriedman@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Reviewed-by: Maria Khomenko <mariakhomenko@chromium.org> Commit-Queue: Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#574155}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .