From d142f284de7e663f3dc84e45ab605611b03911e1 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Sun, 5 Nov 2023 21:31:47 +0000 Subject: [PATCH 1/3] Update index.bs Fixup alpn and sni options/socketinfo --- index.bs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.bs b/index.bs index c4fbb25..0036cf1 100644 --- a/index.bs +++ b/index.bs @@ -93,6 +93,8 @@ The {{Socket}} class is an instance of the [=socket=] concept. It should not be dictionary SocketInfo { DOMString remoteAddress = null; DOMString localAddress = null; + DOMString sni = null; + DOMString[] alpn = []; }; [Exposed=*] @@ -280,6 +282,8 @@ enum SecureTransportKind { "off", "on", "starttls" }; dictionary SocketOptions { SecureTransportKind secureTransport = "off"; boolean allowHalfOpen = false; + DOMString sni = null; + DOMString[] alpn = []; }; [Exposed=*] From e0c534b841e20d5104f35e4c35a1a486d8db595b Mon Sep 17 00:00:00 2001 From: James M Snell Date: Sun, 5 Nov 2023 21:33:52 +0000 Subject: [PATCH 2/3] Update index.bs --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 0036cf1..bac25bd 100644 --- a/index.bs +++ b/index.bs @@ -94,7 +94,7 @@ dictionary SocketInfo { DOMString remoteAddress = null; DOMString localAddress = null; DOMString sni = null; - DOMString[] alpn = []; + DOMString alpn = null; }; [Exposed=*] From 81ee101e47dc25d4565a272d6151c5280ca3beaa Mon Sep 17 00:00:00 2001 From: James M Snell Date: Sun, 5 Nov 2023 21:34:56 +0000 Subject: [PATCH 3/3] Update index.bs --- index.bs | 1 - 1 file changed, 1 deletion(-) diff --git a/index.bs b/index.bs index bac25bd..a4ae9ab 100644 --- a/index.bs +++ b/index.bs @@ -93,7 +93,6 @@ The {{Socket}} class is an instance of the [=socket=] concept. It should not be dictionary SocketInfo { DOMString remoteAddress = null; DOMString localAddress = null; - DOMString sni = null; DOMString alpn = null; };