From e0d56b8718957b1e839f229ccfe96b0bd9ca22ff Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Fri, 23 Jul 2021 18:32:57 +0200 Subject: [PATCH 1/2] Support setting websocket credential mode --- fetch.bs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fetch.bs b/fetch.bs index 5ac06793e..24e612302 100644 --- a/fetch.bs +++ b/fetch.bs @@ -7533,7 +7533,7 @@ therefore not shareable, a WebSocket connection is very close to identical to an

Opening handshake

To establish a WebSocket connection, given a -url, protocols, and client, run these steps: +url, protocols, credentials mode, and client, run these steps:

  1. @@ -7551,11 +7551,10 @@ therefore not shareable, a WebSocket connection is very close to identical to an
  2. Let request be a new request, whose URL is requestURL, client is client, + credentials mode is credentials mode, service-workers mode is "none", referrer is "no-referrer", mode is "websocket", - credentials mode is - "include", cache mode is "no-store", and redirect mode is "error". From 0edfc74573c0b6b55a27b55ba6c90ad9aa8aa832 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 26 Jul 2021 14:17:27 +0200 Subject: [PATCH 2/2] credentialsMode --- fetch.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch.bs b/fetch.bs index 24e612302..293807861 100644 --- a/fetch.bs +++ b/fetch.bs @@ -7533,7 +7533,7 @@ therefore not shareable, a WebSocket connection is very close to identical to an

    Opening handshake

    To establish a WebSocket connection, given a -url, protocols, credentials mode, and client, run these steps: +url, protocols, credentialsMode, and client, run these steps:

    1. @@ -7551,7 +7551,7 @@ therefore not shareable, a WebSocket connection is very close to identical to an
    2. Let request be a new request, whose URL is requestURL, client is client, - credentials mode is credentials mode, + credentials mode is credentialsMode, service-workers mode is "none", referrer is "no-referrer", mode is "websocket",