[w3c/manifest] editorial: add missing assertion to chosen-display-mode algorithm (PR #1238)

Closes #1055

This change (choose at least one, delete ones that don't apply):

* Makes editorial changes (changes informative sections, or changes normative sections without changing behavior)

Commit message:

editorial: add missing assertion to chosen-display-mode algorithm

The note under "steps for determining the web app's chosen display mode" says the loop "is guaranteed to return a value before the assertion", but the algorithm had no assertion. This adds the final "Assert: this step is never reached." step the note refers to. No behavioural change.

Person merging, please make sure that commits are squashed with the `editorial:` commit message prefix.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/marcoscaceres/manifest/pull/1238.html" title="Last updated on Jul 24, 2026, 1:50 AM UTC (3b19491)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/manifest/1238/76294d8...marcoscaceres:3b19491.html" title="Last updated on Jul 24, 2026, 1:50 AM UTC (3b19491)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/manifest/pull/1238

-- Commit Summary --

  * editorial: add missing assertion to chosen-display-mode algorithm

-- File Changes --

    M index.html (2)

-- Patch Links --

https://github.com/w3c/manifest/pull/1238.patch
https://github.com/w3c/manifest/pull/1238.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/1238
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/pull/1238@github.com>

Received on Friday, 24 July 2026 01:51:08 UTC