Web App Origin Migration Sample

Available in Chrome 147+ | View on GitHub | Browse Samples

Background

Installed web apps have an unchangable unique identifier, the manifest id member (MDN). This allows the browser to identify the app uniquely, for operations like updating, discovery, and when APIs need to refer to a specific installed web app.

Sometimes an app needs to change this, for a number of possible reasons, such as:

To test this, run at least Chrome 147 with chrome://flags/#web-app-migration-api enabled.
The following sites are set up to help demo and test this: