Re: [whatwg/fetch] Initial resource timing integration. (#1185)

@annevk commented on this pull request.



> +  <p><var>timingInfo</var>'s <a for="connection timing info">alpn negotiated protocol</a> should be
+  the <var>connection</var>'s ALPN Protocol ID, with the following caveats: [[RFC7301]]
+  <!-- TODO Since it's in octets, I guess we have to isomorphic decode it? -->
+
+  <ul>
+   <li><p>When a proxy is configured, if a tunnel connection is established then this must be the
+   ALPN Protocol ID of the tunneled protocol, otherwise it must be the ALPN Protocol ID of the first
+   hop to the proxy.
+
+   <li><p>Octets in the ALPN Protocol ID must not be percent-encoded if they are valid token
+   characters except "%", and when using percent-encoding, uppercase hex digits must be used.
+   <!-- TODO I don't think we have to state this as the network does this. -->
+
+   <li><p>Formally registered ALPN Protocol IDs are documented by
+   <a href="https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids">IANA</a>.
+   <!-- TODO I'm not sure we need to reference this? -->

I kept it, but moved it to a note as it's not a requirement.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1185#discussion_r600285604

Received on Wednesday, 24 March 2021 08:59:32 UTC