Re: [w3c/manifest] Adding protocol handlers (#972)

@marcoscaceres commented on this pull request.



> +          system.
+        </p>
+        <p>
+          The steps for <dfn>processing the <code>protocol_handlers</code>
+          member</dfn> are given by the following algorithm. The algorithm
+          takes a <a data-cite=
+          "WEBIDL#sequence-type">sequence</a>&lt;<a>ProtocolHandlerItem</a>&gt;
+          <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>&lt;<a>ProtocolHandlerItem</a>&gt;.
+        </p>
+        <ol>
+          <li>Let <var>processedProtocolHandlers</var> be a new Array object
+          created as if by the expression [].
+          </li>
+          <li><a href="https://infra.spec.whatwg.org/#list-iterate">For each</a> <var>protocol_handler</var> (<a>ProtocolHandlerItem</a>)

@diekus, pro tip: in theory, if you need `data-cite="spec#thing"`, there is probably something wrong. Always check https://respec.org/xref/ first. 

If the term is not there, it usually means that there is a spec bug (in our spec). In the rare case where something is missing, you then need to ask the spec that you are trying to reference to export the term by adding `data-export=""` or `export` for BikeShed specs.

Hope that makes sense! 

PS: you can always ping us for help! 

-- 
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#discussion_r630751942

Received on Wednesday, 12 May 2021 06:15:07 UTC