Open Postulo links in the installed app, and check installability in Chromium (#899) #1059
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1059
Loading…
Reference in a new issue
No description provided.
Delete branch "899-address-bar-install"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The manifest gains
launch_handler(client_mode: ["focus-existing", "auto"]) andhandle_links: "preferred", so a Postulo link followed from mail, chat or an extensionopens in the installed app where the browser captures links and the person allows it,
and an open app window is reused instead of a second one started. Both are the browser's
to honour and the person's to switch off there; Postulo adds no setting of its own.
focus-existingbrings the window forward but does not navigate it: the link's addressarrives through
launchQueue.app.jsnow consumes it and goes there, same origin only,passing over the launch that loaded the page itself, so an unsaved form still asks first
through the existing
beforeunloadguard.The candidates the issue named for a missing address-bar icon were each checked. The
cancelled
beforeinstallpromptis not one:preventDefault()holds back Android'smini-infobar and nothing else, and the desktop omnibox icon, Edge's App available and
the menu entry are drawn from the installability check; the comment in
app.jsnow saysso. The signed-out manifest fetch,
start_urlredirecting to sign-in, the icon sizes andscope "/"all pass Chromium's own check. The worker stays signed-in only (#753).The browser suite asks the full Chromium (
channel="chromium", with a real profile, sincethe headless shell answers every page with an empty list and an off-the-record context is
never installable) for
Page.getInstallabilityErrors, signed in and signed out, andreads Chromium's parse of the manifest. A unit test covers the new members and the scope.
The help page's Firefox paragraph no longer sends people to Firefox Labs (web apps are on
by default since Firefox 143), and it mentions Open in app.
Closes #899
Notes for review
🤖 Generated with Claude Code