- From: Kenneth Rohde Christiansen <notifications@github.com>
- Date: Mon, 26 Apr 2021 02:45:44 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 26 April 2021 09:45:57 UTC
@kenchris commented on this pull request. > + member</dfn> are given by the following algorithm. The algorithm + takes a <a data-cite= + "WEBIDL#sequence-type">sequence</a><<a>ProtocolHandlerItem</a>> + <var>protocol_handlers</var> and a <a>URL</a> <var>manifest + URL</var>. This algorithm returns a <a data-cite= + "WEBIDL#sequence-type">sequence</a><<a>ProtocolHandlerItem</a>>. + </p> + <ol> + <li>Let <var>processedProtocolHandlers</var> be a new Array object + created as if by the expression []. + </li> + <li>For each <var>protocol_handler</var> (<a>ProtocolHandlerItem</a>) + in the sequence: + <ol> + <li>If <var>protocol_handler</var>["protocol"] or + <var>protocol_handler</var>["url"] are undefined, return failure How can you return and still continue the iteration? Who would ever catch that return value? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/manifest/pull/972#pullrequestreview-644472119
Received on Monday, 26 April 2021 09:45:57 UTC