From bbc8b078135628abb01ee551729c36685cfc4c61 Mon Sep 17 00:00:00 2001 From: Keith Cirkel Date: Thu, 5 Oct 2023 12:26:08 +0100 Subject: [PATCH] Editorial: make CORS settings attributes consistent Helps with #9832. --- source | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source b/source index fa7ba5d73be..9b385cb5403 100644 --- a/source +++ b/source @@ -7320,20 +7320,19 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

CORS settings attributes

-

A CORS settings attribute is an enumerated attribute. The following - table lists the keywords and states for the attribute — the states given in the first cell - of the rows with keywords give the states to which those keywords map.

+

A CORS settings attribute The attribute is an enumerated attribute with + the following keywords and states:

+ - -
Keyword State - Keywords Brief description
Anonymous anonymous + Anonymous Requests for the element will have their mode set to "cors" and their credentials mode set to " (the empty string)
Use Credentials use-credentials + Use Credentials Requests for the element will have their mode set to "cors" and their credentials mode set to "