An installed app is already open at /editor. A launch targets /files/report.txt and client_mode is focus-existing. The existing window is focused without navigation, while LaunchParams carrying the target are queued for its consumer. If no consumer is set, the target remains unconsumed; it does not become an invisible ordinary navigation.
This lesson continues The Gold Standard of Websites, the Gold Standard of Education and the How X Works hub. Every launch target, application window and queue is an original teaching fixture. The lesson does not promise support, override user-agent client selection, treat launch parameters as trusted data, leak out-of-scope URLs or present experimental launch handling as ordinary browser navigation.
Record installed-app identity, manifest URL and scope, processed launch_handler, supported client modes, selected application context, current URL, targetURL, new or existing context, navigation result, launchQueue state, consumer registration time, delivered LaunchParams, browser version and unavailable platform choices.
The Web App Launch Handler Draft Community Group Report defines client modes, launchQueue and LaunchParams. The W3C Web Application Manifest Working Draft defines start_url, application context and navigation scope while explicitly identifying launch_handler as experimental.
THE GOLD STANDARD · WEBSITES
A launch can navigate an app context, deliver LaunchParams, or do both according to client mode
Ordinary navigation changes the active document or history entry through web navigation rules. The experimental Web App Launch Handler can select a new or existing installed-app context and, for focus-existing, communicate the target through launchQueue without navigating that context. A consumer must process LaunchParams explicitly.
Fast route
Start with the decisive rule.
Start this route
Measurement route
Build the browser state and evidence ledger.
Start this route
Comparison route
Separate the nearest lookalikes.
Start this route
Transfer route
Change the context and retest.
Start this route
Reporting route
State limits and continue reading.
Start this route
Chapter contents
Open the full chapter index
- 1. Give the launch-navigation rule
- 2. Start with manifest scope
- 3. Treat start_url as advisory
- 4. Understand navigate-new
- 5. Understand navigate-existing
- 6. Understand focus-existing
- 7. Respect user-agent client selection
- 8. Set a launch consumer explicitly
- 9. Handle queued parameters
- 10. Keep targetURL and current URL distinct
- 11. Compare ordinary navigation
- 12. Separate history mutation
- 13. Handle files and extra payload cautiously
- 14. Protect privacy and scope
- 15. Repair common shortcuts
- 16. Answer practical questions
- 17. Build a reproducible launch matrix
- 18. Use the experimental draft and continue
1. Give the launch-navigation rule
Separate application-context selection, navigation and LaunchParams delivery. The selected client mode controls which steps occur.
Original worked example. focus-existing focuses /editor and queues /files/a without changing the current URL. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change client_mode to navigate-existing. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Log context, before URL, after URL and delivered params separately. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep configuration, browser state and the final claim in separate fields so a convenient interface label cannot rewrite platform evidence.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
2. Start with manifest scope
Launch targets must remain within the processed manifest scope. A similar origin string outside scope is not a valid launch target.
Original worked example. Scope /app/ accepts /app/note/7 and rejects /admin/note/7. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Widen scope in a controlled manifest and reprocess it. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive manifest URL, processed scope and target URL. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence means the required field could not be established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
3. Treat start_url as advisory
start_url is the developer-preferred launch address and can be ignored or modified by the user agent or user.
Original worked example. A fresh launch uses the installed start URL selected by the platform. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Launch through a valid deep link within scope. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record processed start URL, actual target and launch source. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
4. Understand navigate-new
navigate-new creates a new application context and loads the launch target. It does not reuse an existing client merely because one exists.
Original worked example. Two launches create two app windows with distinct target URLs. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Switch to a platform that supports only one instance and record fallback selection. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Count contexts and preserve each initial URL. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the state ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
5. Understand navigate-existing
navigate-existing selects an existing application context when available, focuses it and navigates it to the target.
Original worked example. The open dashboard is navigated to /app/item/9. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Close all app contexts and repeat, causing new-context behavior. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record selected context, navigation and replaced active document. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the origin, context, permission, state, operation, event or returned object involved. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
6. Understand focus-existing
focus-existing can focus an existing in-scope app context without navigating it, then communicate targetURL through LaunchParams.
Original worked example. The editor remains at /app/draft while params contain /app/open/9. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Move the current context out of scope and repeat. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Store focus action, before and after URL, and params. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, options, events, timestamps, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
7. Respect user-agent client selection
auto and unsupported preference lists let the user agent choose a supported mode. The site cannot claim one universal result.
Original worked example. The manifest lists focus-existing then navigate-existing; the platform chooses the first supported entry. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Reverse support availability without changing the list. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record requested list, supported subset and chosen mode. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep configuration, browser state and the final claim in separate fields so a convenient interface label cannot rewrite platform evidence.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
8. Set a launch consumer explicitly
LaunchParams are useful only when the document assigns a consumer and handles them. A queue alone does not open content.
Original worked example. setConsumer validates the target and asks the editor to load a document. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove the consumer and preserve the queued launch. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Log consumer assignment, invocation and application action. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence means the required field could not be established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
9. Handle queued parameters
LaunchParams arriving before consumer assignment remain unconsumed until processing can invoke the consumer.
Original worked example. Two launches queue before startup code sets the consumer; both are then delivered in order. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Set the consumer before the second launch. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record enqueue time, consumer time and delivery order. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
10. Keep targetURL and current URL distinct
A target in LaunchParams is data for the app, not proof that location changed or content loaded.
Original worked example. targetURL points to /app/note/2 while location remains /app/home. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Have the consumer call an ordinary navigation deliberately. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Store target value, location, navigation settlement and loaded content. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the state ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
11. Compare ordinary navigation
Hyperlinks, forms and location changes use HTML navigation paths; they do not automatically create a LaunchQueue delivery.
Original worked example. Clicking an in-app link changes the URL with no LaunchParams. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Launch the installed app to the same URL from the operating system. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record trigger source, navigation entry point and queue activity. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the origin, context, permission, state, operation, event or returned object involved. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
12. Separate history mutation
pushState or Navigation API entry updates are not app launches. Similar URLs do not merge their lifecycle evidence.
Original worked example. The app pushes /app/view/4 after handling a launch, with separate timestamps. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Remove the history update while keeping the same launch params. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Keep launch, navigation and history operations in distinct rows. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, options, events, timestamps, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
13. Handle files and extra payload cautiously
LaunchParams can carry target information and platform integrations can attach files. Validate type, scope and user intent before use.
Original worked example. The fixture receives a harmless text file handle and asks before replacing the editor buffer. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Deliver an unsupported file type. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Record source, handles, validation and user-visible outcome. If this check fails, mark the claim unavailable and repair the method before continuing.
Keep configuration, browser state and the final claim in separate fields so a convenient interface label cannot rewrite platform evidence.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
14. Protect privacy and scope
focus-existing must not leak targets outside navigation scope in either direction. Existing app state also needs careful disclosure.
Original worked example. An out-of-scope target is rejected before queue delivery. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Use an in-scope target with a sensitive query and minimize logging. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Audit scope, identifiers, logs and visible confirmation. If this check fails, mark the claim unavailable and repair the method before continuing.
Use a positive case, a clean negative case and an unavailable case. Unavailable evidence means the required field could not be established.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
15. Repair common shortcuts
Focused is not navigated, targetURL is not current URL, queued is not consumed, and manifest preference is not platform support.
Original worked example. A blinded trace asks readers to repair four launch claims. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Hide window chrome and infer only from context, URL and queue evidence. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Require trigger, mode, context, URL and consumer fields. If this check fails, mark the claim unavailable and repair the method before continuing.
Change one consequential premise while keeping the rest fixed. Predict the new branch before inspecting it and preserve disagreement.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
16. Answer practical questions
Provide ordinary in-app routing as the fallback, validate params, make launches idempotent and preserve unsaved work.
Original worked example. A notes app prompts before a focus-existing launch replaces the active workspace. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Disable launch_handler support and open the same deep link normally. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Audit unsupported modes, multiple windows, missing consumer and recovery. If this check fails, mark the claim unavailable and repair the method before continuing.
Carry one plausible alternative through the state ledger, then choose the next observation that separates it from the leading account.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
17. Build a reproducible launch matrix
Cross support, client-mode list, existing contexts, current scope, target, queue timing, consumer and navigation.
Original worked example. Sixteen rows cover new, existing, focus-only, fallback, missing consumer and out-of-scope targets. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. Change one premise per row and predict the selected path. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Archive manifests, URLs, timestamps and browser builds. If this check fails, mark the claim unavailable and repair the method before continuing.
Name the origin, context, permission, state, operation, event or returned object involved. Similar visible results can come from different platform paths.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Previous chapter · Contents · Next chapter
18. Use the experimental draft and continue
The manifest specification marks launch_handler experimental; implementation observations require dates and fallbacks.
Original worked example. The final report names Draft Community Group and Working Draft status. The objects, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.
Changed-context transfer. When algorithms change, rerun mode selection, scope, queue and consumer cases. State what changed, predict the consequence and revise only the conclusion that depended on that condition.
Practical evidence check. Save source URLs, access date, manifest, launch ledger and fallback result. If this check fails, mark the claim unavailable and repair the method before continuing.
Archive source, fixture, options, events, timestamps, browser version and raw exceptions so another reader can reproduce the conclusion.
Before closing, reconcile the original fixture against the chapter rule: identify the relevant objects, state, event order and missing evidence; change one condition and mark the first unsupported inference. Preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, context or platform state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.
Grouped reading routes
Core route
Companion lessons
- Separating IdleDetector userState from screenState
- Separating App Badge State from Notification Delivery
- Separating Contact Picker Selection from Persistent Contact Access
Related specialist lessons
Sources and further study
Web App Launch Handler Draft Community Group Report. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
W3C Web Application Manifest Working Draft. Used for the standard definitions, material mechanisms or method limits developed in this lesson.
The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying web-platform mechanisms, state and method limits.
Return to contents · Return to The Gold Standard of Websites
