| 
40 | 40 |         },  | 
41 | 41 |         {  | 
42 | 42 |           "html": "<a data-link-type=\"dfn|abstract-op\" href=\"https://wicg.github.io/manifest-incubations/#dfn-process-the-file_handlers-member\" class=\"internalDFN\" id=\"ref-for-dfn-process-the-file_handlers-member-1\">Process the <code>file_handlers</code> member</a>, passing <var data-type=\"ordered map\">json</var>, <var data-type=\"ordered map\">manifest</var>\n        and <var data-type=\"URL\">manifest URL</var>."  | 
 | 43 | +        },  | 
 | 44 | +        {  | 
 | 45 | +          "html": "<a data-link-type=\"dfn|abstract-op\" href=\"https://wicg.github.io/manifest-incubations/#dfn-process-the-related_applications-member\" class=\"internalDFN\" id=\"ref-for-dfn-process-the-related_applications-member-1\">Process the <code>related_applications</code> member</a>, passing <var data-type=\"ordered map\">json</var> and\n        <var data-type=\"ordered map\">manifest</var>."  | 
43 | 46 |         }  | 
44 | 47 |       ]  | 
45 | 48 |     },  | 
 | 
494 | 497 |         }  | 
495 | 498 |       ]  | 
496 | 499 |     },  | 
 | 500 | +    {  | 
 | 501 | +      "name": "process the related_applications member",  | 
 | 502 | +      "href": "https://wicg.github.io/manifest-incubations/#dfn-process-the-related_applications-member",  | 
 | 503 | +      "html": "To <dfn id=\"dfn-process-the-related_applications-member\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">process the <code>related_applications</code> member</dfn>, given\n        <a data-link-type=\"dfn|abstract-op\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"ordered-map\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\">ordered map</a> <var data-type=\"ordered map\">json</var> and <a data-link-type=\"dfn|abstract-op\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"ordered-map\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ordered-map\">ordered map</a>\n        <var data-type=\"ordered map\">manifest</var>:",  | 
 | 504 | +      "rationale": ".algorithm",  | 
 | 505 | +      "steps": [  | 
 | 506 | +        {  | 
 | 507 | +          "html": "Let <var data-type=\"list\">relatedApplications</var> be a new <a data-link-type=\"dfn|abstract-op\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"list\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list\">list</a>."  | 
 | 508 | +        },  | 
 | 509 | +        {  | 
 | 510 | +          "html": "Set <var data-type=\"ordered map\">manifest</var>[\"related_applications\"] to <var data-type=\"list\">relatedApplications</var>."  | 
 | 511 | +        },  | 
 | 512 | +        {  | 
 | 513 | +          "html": "If <var data-type=\"ordered map\">json</var>[\"related_applications\"] doesn't <a data-link-type=\"dfn|abstract-op\" data-link-for=\"map\" data-xref-for=\"map\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"map-exists\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-exists\">exist</a> or\n        <var data-type=\"ordered map\">json</var>[\"related_applications\"] is not a <a data-link-type=\"dfn|abstract-op\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"list\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list\">list</a>, return."  | 
 | 514 | +        },  | 
 | 515 | +        {  | 
 | 516 | +          "html": "<a data-link-type=\"dfn|abstract-op\" data-link-for=\"list\" data-xref-for=\"list\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"list-iterate\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-iterate\">For each</a> <var>app</var> of <var data-type=\"ordered map\">json</var>[\"related_applications\"]:",  | 
 | 517 | +          "rationale": "if",  | 
 | 518 | +          "steps": [  | 
 | 519 | +            {  | 
 | 520 | +              "html": "If neither <var>app</var>[\"id\"] nor <var>app</var>[\"url\"] are\n            missing:",  | 
 | 521 | +              "rationale": "set",  | 
 | 522 | +              "steps": [  | 
 | 523 | +                {  | 
 | 524 | +                  "html": "Set <var>app</var>[\"url\"] to the result of running\n                <a href=\"https://wicg.github.io/manifest-incubations/#dfn-process-the-url-member-of-an-application\" class=\"internalDFN\" data-link-type=\"dfn\" id=\"ref-for-dfn-process-the-url-member-of-an-application-1\">process the <code>url</code> member of an application</a> given\n                <var>app</var>[\"url\"]."  | 
 | 525 | +                },  | 
 | 526 | +                {  | 
 | 527 | +                  "html": "<a data-link-type=\"dfn|abstract-op\" data-link-for=\"list\" data-xref-for=\"list\" data-cite=\"infra\" data-cite-path=\"\" data-cite-frag=\"list-append\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#list-append\">append</a> <var>app</var> to\n                <var data-type=\"list\">relatedApplications</var>."  | 
 | 528 | +                }  | 
 | 529 | +              ]  | 
 | 530 | +            }  | 
 | 531 | +          ]  | 
 | 532 | +        },  | 
 | 533 | +        {  | 
 | 534 | +          "html": "Set <var data-type=\"list\">relatedApplications</var>."  | 
 | 535 | +        }  | 
 | 536 | +      ]  | 
 | 537 | +    },  | 
 | 538 | +    {  | 
 | 539 | +      "name": "process the url member of an application",  | 
 | 540 | +      "href": "https://wicg.github.io/manifest-incubations/#dfn-process-the-url-member-of-an-application",  | 
 | 541 | +      "html": "To <dfn id=\"dfn-process-the-url-member-of-an-application\" tabindex=\"0\" aria-haspopup=\"dialog\" data-dfn-type=\"dfn\">process the <code>url</code> member of an application</dfn>:",  | 
 | 542 | +      "rationale": ".algorithm",  | 
 | 543 | +      "steps": [  | 
 | 544 | +        {  | 
 | 545 | +          "html": "If <var>application URL</var> is missing, return null."  | 
 | 546 | +        },  | 
 | 547 | +        {  | 
 | 548 | +          "html": "Otherwise, <a data-link-type=\"dfn|abstract-op\" data-lt=\"URL Parser\" data-cite=\"url\" data-cite-path=\"\" data-cite-frag=\"concept-url-parser\" data-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-parser\">parse</a> <var>application URL</var> and if\n          the result is not failure, return the result. Otherwise return null."  | 
 | 549 | +        }  | 
 | 550 | +      ]  | 
 | 551 | +    },  | 
497 | 552 |     {  | 
498 | 553 |       "name": "present an install prompt",  | 
499 | 554 |       "href": "https://wicg.github.io/manifest-incubations/#dfn-present-an-install-prompt",  | 
 | 
0 commit comments