mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:25:07 +00:00
LibWeb: Introduce the concept of "Enumerated" values
This does _NOT_ correspond to anything in the IDL or ECMAScript spec, but is a custom extended attribute. We use it to define the "enumerated" values of an attribute
This commit is contained in:
parent
19bf42a7e6
commit
d767f14df8
5 changed files with 22 additions and 4 deletions
7
Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl
Normal file
7
Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl
Normal file
|
@ -0,0 +1,7 @@
|
|||
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attribute
|
||||
[MissingValueDefault=, InvalidValueDefault=anonymous]
|
||||
enum CORSSettingsAttribute {
|
||||
"anonymous",
|
||||
"",
|
||||
"use-credentials"
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue