Intent to Experiment: Declarative Link Capturing for PWAs

435 views
Skip to first unread message

Alan Cutter

unread,
Feb 4, 2021, 6:16:39 AM2/4/21
to blink-dev

Contact emails

mgi...@chromium.org, alanc...@chromium.org, trev...@chromium.org


Explainer

https://github.com/WICG/sw-launch/blob/master/declarative_link_capturing.md


Specification

None


Summary

New Web App Manifest member to control what happens when the user navigates to a page within scope of an installed web app.


This feature introduces the "capture_links" member, an enumeration allowing the customization of link capturing behaviour, allowing sites to:


- Automatically open a new PWA window when the user clicks a link to their app.

- Have a "single window mode" like mobile apps.



Blink component

UI>Browser>WebAppInstalls


Search tags

pwa, link capturing


TAG review

https://github.com/w3ctag/design-reviews/issues/589


TAG review status

In progress


Risks



Interoperability and Compatibility

Very small, since any browser not implementing this will just fall back to the standard behaviour, which is to navigate to links in a browser tab.
This member is also forwards compatible as it can accept a list of behaviours, older browsers will bypass any new ones that are added later. Gecko: No signal


Edge: Strong positive, this compliments their efforts in specing url_handlers.


WebKit: No signal


Web developers: No signals



Goals for experimentation

Looking for feedback on whether the current behaviours and implementation adequately satisfy real world needs. This experiment is also for web developers to determine whether this additional feature is enough to justify building a PWA over other native app solutions.


Experimental timeline

Start: M90

End: M93


Ongoing technical constraints

None


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Not supported on Android, their window model doesn’t make sense for “new-client”.


Is this feature fully tested by web-platform-tests?

No


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5734953453092864


Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/2ZnA1IrSpS8



This intent message was generated by Chrome Platform Status.


Chris Harrelson

unread,
Feb 4, 2021, 3:21:24 PM2/4/21
to Alan Cutter, blink-dev
LGTM

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANJJ2CmFcKwf_-n4ybHHvyh0DpBJ-B7zW5SXhUKZojfxGazUnw%40mail.gmail.com.

Alan Cutter

unread,
Mar 21, 2021, 11:38:07 PM3/21/21
to blink-dev, Chris Harrelson, blink-dev, Alan Cutter
FYI this experiment has been pushed one milestone from M90 to M91.

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Chris Harrelson

unread,
Mar 22, 2021, 11:58:15 AM3/22/21
to Alan Cutter, blink-dev
Sounds good thanks. M91-M94 it is then.

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d5bf3061-153a-4f7b-8792-1e4d86f47309n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages