v160 · capabilities (fugu) · launch handling
When activation is withheld
The grant is deliberately narrow. The spec runs the activation notification steps only in the focus-existing branch, exactly once per launch, and forbids it for launches the user did not initiate and for re-delivery after a reload. Chromium’s condition is user_initiated() && !started_new_navigation() plus a kill switch. This page logs what really reaches it — including across a reload — and maps every other path to its outcome.
--disable-features=WebAppLaunchHandlerUserActivation. Real deliveries need this concept installed as an app (shortcut: Launch again (focus-existing)).
Where this page is running
Real evidence: deliveries, reloads and activation
| document | navigation type | deliveries | activation on deliveries |
|---|
Reload to check: Chrome 146+ no longer re-queues the original LaunchParams on reload, and the spec forbids granting activation for any re-delivery.
Path explorer (a model of the spec + Chromium rule — not a probe)
The table above is the probe. This explorer encodes the prepare an application context algorithm and the condition in LaunchQueue::SendLaunchParams() (Chromium CL 8769986) so you can see why each other path gets nothing.
migration: feature-detect at runtime, keep the fallback
launchQueue.setConsumer((params) => {
// Never branch on the Chrome version: the kill switch, a navigating
// launch, or a non-user launch all yield false on 160+ too.
if (navigator.userActivation?.isActive) {
openSeparateWindow(params.targetURL);
} else {
showInAppPrompt(params.targetURL); // the user's click supplies activation
}
});