mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 17:28:48 +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
Notes:
sideshowbarker
2024-07-17 05:19:06 +09:00
Author: https://github.com/stelar7
Commit: d767f14df8
Pull-request: https://github.com/SerenityOS/serenity/pull/21789
Issue: https://github.com/SerenityOS/serenity/issues/21778
5 changed files with 22 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/Scripting/Fetching.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
|
||||
[Exposed=Window]
|
||||
|
@ -11,7 +12,7 @@ interface HTMLScriptElement : HTMLElement {
|
|||
[CEReactions, Reflect=nomodule] attribute boolean noModule;
|
||||
// FIXME: [CEReactions] attribute boolean async;
|
||||
[CEReactions, Reflect] attribute boolean defer;
|
||||
[CEReactions, Reflect=crossorigin] attribute DOMString? crossOrigin;
|
||||
[CEReactions, Reflect=crossorigin, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
|
||||
// FIXME: [CEReactions] attribute DOMString text;
|
||||
[CEReactions, Reflect] attribute DOMString integrity;
|
||||
[CEReactions, Reflect=referrerpolicy] attribute DOMString referrerPolicy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue