LibWeb: Align CORSSettingsAttribute values with the specification

This change makes our crossOrigin attribute getter behave the same way
as other browsers.
This commit is contained in:
Tim Ledbetter 2024-03-21 18:34:01 +00:00 committed by Andreas Kling
commit aabf1a65b1
Notes: sideshowbarker 2024-07-17 02:37:08 +09:00
3 changed files with 44 additions and 2 deletions

View file

@ -1,7 +1,6 @@
// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attribute
[MissingValueDefault=, InvalidValueDefault=anonymous]
[InvalidValueDefault=anonymous]
enum CORSSettingsAttribute {
"anonymous",
"",
"use-credentials"
};