mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
IDL: Add missing spec links
The only IDL interface without a spec link is Internals
This commit is contained in:
parent
1eae02a018
commit
26e6c47d0a
40 changed files with 42 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
// https://html.spec.whatwg.org/#canvasgradient
|
||||
[Exposed=(Window,Worker)]
|
||||
interface CanvasGradient {
|
||||
// opaque object
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// https://html.spec.whatwg.org/#canvaspattern
|
||||
[Exposed=(Window,Worker)]
|
||||
interface CanvasPattern {
|
||||
// opaque object
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://websockets.spec.whatwg.org/#the-closeevent-interface
|
||||
[Exposed=*]
|
||||
interface CloseEvent : Event {
|
||||
constructor(DOMString type, optional CloseEventInit eventInitDict = {});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#customelementregistry
|
||||
[Exposed=Window]
|
||||
interface CustomElementRegistry {
|
||||
[CEReactions] undefined define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options = {});
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// https://html.spec.whatwg.org/#domstringmap
|
||||
[Exposed=Window, LegacyOverrideBuiltIns]
|
||||
interface DOMStringMap {
|
||||
getter DOMString (DOMString name);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#errorevent
|
||||
[Exposed=(Window,Worker)]
|
||||
interface ErrorEvent : Event {
|
||||
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <HTML/HTMLMediaElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#htmlaudioelement
|
||||
[Exposed=Window, LegacyFactoryFunction=Audio(optional DOMString src)]
|
||||
interface HTMLAudioElement : HTMLMediaElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/Document.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#htmldocument
|
||||
[Exposed=Window]
|
||||
interface HTMLDocument : Document {
|
||||
};
|
||||
|
|
|
@ -48,6 +48,7 @@ HTMLElement includes GlobalEventHandlers;
|
|||
HTMLElement includes ElementContentEditable;
|
||||
HTMLElement includes HTMLOrSVGElement;
|
||||
|
||||
// https://html.spec.whatwg.org/#elementcontenteditable
|
||||
interface mixin ElementContentEditable {
|
||||
[CEReactions] attribute DOMString contentEditable;
|
||||
// FIXME: [CEReactions] attribute DOMString enterKeyHint;
|
||||
|
@ -55,6 +56,7 @@ interface mixin ElementContentEditable {
|
|||
// FIXME: [CEReactions] attribute DOMString inputMode;
|
||||
};
|
||||
|
||||
// https://html.spec.whatwg.org/#htmlorsvgelement
|
||||
interface mixin HTMLOrSVGElement {
|
||||
[SameObject] readonly attribute DOMStringMap dataset;
|
||||
// FIXME: attribute DOMString nonce; // intentionally no [CEReactions]
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#import <HTML/HTMLOptionElement.idl>
|
||||
#import <HTML/HTMLOptGroupElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#htmloptionscollection
|
||||
[Exposed=Window]
|
||||
interface HTMLOptionsCollection : HTMLCollection {
|
||||
// [CEReactions] attribute unsigned long length; // shadows inherited length
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <HTML/Plugin.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#mimetype
|
||||
[Exposed=Window]
|
||||
interface MimeType {
|
||||
readonly attribute DOMString type;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <HTML/MimeType.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#mimetypearray
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface MimeTypeArray {
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#import <HTML/NavigationType.idl>
|
||||
#import <HTML/NavigationHistoryEntry.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#navigationtransition
|
||||
[Exposed=Window]
|
||||
interface NavigationTransition {
|
||||
readonly attribute NavigationType navigationType;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <HTML/MimeType.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#plugin
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface Plugin {
|
||||
readonly attribute DOMString name;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <HTML/Plugin.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#pluginarray
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface PluginArray {
|
||||
undefined refresh();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#promiserejectionevent
|
||||
[Exposed=(Window,Worker)]
|
||||
interface PromiseRejectionEvent : Event {
|
||||
constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// https://html.spec.whatwg.org/#storage-2
|
||||
[Exposed=Window]
|
||||
interface Storage {
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/#worker
|
||||
[Exposed=(Window)]
|
||||
interface Worker : EventTarget {
|
||||
constructor(DOMString scriptURL, optional WorkerOptions options = {});
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// https://html.spec.whatwg.org/#workerlocation
|
||||
[Exposed=Worker]
|
||||
interface WorkerLocation {
|
||||
stringifier readonly attribute USVString href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue