Contact emailsalancut...@chromium.org, mgi...@chromium.org

Explainerhttps://github.com/WICG/sw-launch/blob/main/launch_handler.md

Summary

Adds a "launch_handler" app manifest member that enables web apps to
customise their launch behaviour across all types of app launch triggers.
Example usage: { "name": "Example app", "start_url": "/index.html",
"launch_handler": { "route_to": "existing", "navigate_existing_client":
"always" } } This will cause all launches of the Example app to focus an
existing app window and navigate it (if it exists) instead of always
launching a new app window.


Blink componentBlink>AppManifest
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EAppManifest>

Search tagsweb app <https://www.chromestatus.com/features#tags:web%20app>,
pwa <https://www.chromestatus.com/features#tags:pwa>, link capturing
<https://www.chromestatus.com/features#tags:link%20capturing>, link handling
<https://www.chromestatus.com/features#tags:link%20handling>, launch
<https://www.chromestatus.com/features#tags:launch>

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/683

TAG review statusPending

Risks


Interoperability and Compatibility



Gecko: No signal <https://github.com/mozilla/standards-positions/issues/567>

WebKit:

Web developers: Strong positive signals on the Declarative Link Capturing
origin trial
<https://developer.chrome.com/origintrials/#/view_trial/4285175045443026945>
which
has overlapping behaviour with this API (which is replacing DLC).


Goals for experimentation

Replace the Declarative Link Capturing
<https://github.com/WICG/sw-launch/blob/main/declarative_link_capturing.md>
API experiment and gather feedback on the "navigate_existing_client":
"never" behaviour as it gets an implementation.

Ongoing technical constraints

Overlap with the Declarative Link Capturing origin trial
<https://developer.chrome.com/origintrials/#/view_trial/4285175045443026945> to
enable existing clients to migrate over to this new API.

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

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?No, this requires browser tests
<https://source.chromium.org/search?q=class:WebAppLaunchHanderBrowserTest&ss=chromium>
.

Flag nameWebAppEnableLaunchHandler
chrome://flags/#enable-desktop-pwas-launch-handler

Requires code in //chrome?True

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1231886

Launch bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1247817

Estimated milestones

M97


Link to entry on the Chrome Platform Status
https://www.chromestatus.com/feature/5722383233056768

Links to previous Intent discussionsIntent to prototype:
https://groups.google.com/a/chromium.org/g/blink-dev/c/8tNe2jrJ78A


This intent message was generated by Chrome Platform Status
<https://www.chromestatus.com/>.

-- 
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+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANJJ2Cm5RFDLAf7n5eRhgHbgioCUe8uv16Sh5v5BSoMgSdKJrw%40mail.gmail.com.

Reply via email to