mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:07:43 +00:00
LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
This commit is contained in:
parent
198591cc20
commit
d4a890080d
146 changed files with 157 additions and 158 deletions
|
@ -1,4 +1,4 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker), UseDeprecatedAKString]
|
||||
interface CanvasGradient {
|
||||
// opaque object
|
||||
undefined addColorStop(double offset, DOMString color);
|
||||
|
|
|
@ -20,7 +20,7 @@ enum CanvasTextAlign { "start", "end", "left", "right", "center" };
|
|||
enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#canvasrenderingcontext2d
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface CanvasRenderingContext2D {
|
||||
[ImplementedAs=canvas_for_binding] readonly attribute HTMLCanvasElement canvas;
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[Exposed=*, UseNewAKString]
|
||||
[Exposed=*]
|
||||
interface CloseEvent : Event {
|
||||
constructor(DOMString type, optional CloseEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface CustomElementRegistry {
|
||||
[CEReactions] undefined define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options = {});
|
||||
(CustomElementConstructor or undefined) get(DOMString name);
|
||||
|
|
|
@ -9,7 +9,7 @@ enum DOMParserSupportedType {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface DOMParser {
|
||||
constructor();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface ErrorEvent : Event {
|
||||
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <XHR/FormData.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface FormDataEvent : Event {
|
||||
constructor(DOMString type, FormDataEventInit eventInitDict);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLHyperlinkElementUtils.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLAnchorElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLHyperlinkElementUtils.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLAreaElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlbrelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLBRElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlbaseelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLBaseElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/sections.html#htmlbodyelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLBodyElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlbuttonelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLButtonElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlcanvaselement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLCanvasElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmldataelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLDataElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmldivelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLDivElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <DOM/EventHandler.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLElement : Element {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlembedelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLEmbedElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlfontelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLFontElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLFormElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlframeelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLFrameElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlframesetelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLFrameSetElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/grouping-content.html#htmlhrelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLHRElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlheadingelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLHeadingElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlhtmlelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLHtmlElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <DOM/Document.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLIFrameElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement
|
||||
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
|
||||
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height), UseDeprecatedAKString]
|
||||
interface HTMLImageElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <FileAPI/FileList.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/input.html#htmlinputelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLInputElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/grouping-content.html#htmllielement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLLIElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#htmllabelelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLLabelElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmllegendelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLLegendElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmllinkelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLLinkElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/image-maps.html#htmlmapelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLMapElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/obsolete.html#htmlmarqueeelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLMarqueeElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -11,7 +11,7 @@ enum CanPlayTypeResult {
|
|||
};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
||||
// error state
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlmetaelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLMetaElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/edits.html#htmlmodelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLModElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/grouping-content.html#htmlolistelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLOListElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmlobjectelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLObjectElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptgroupelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLOptGroupElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement
|
||||
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
|
||||
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false), UseDeprecatedAKString]
|
||||
interface HTMLOptionElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlparagraphelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLParagraphElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/obsolete.html#htmlparamelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLParamElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/grouping-content.html#htmlquoteelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLQuoteElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLScriptElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLOptionsCollection.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface HTMLSelectElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#htmlslotelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLSlotElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLSourceElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLStyleElement : HTMLElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablecaptionelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableCaptionElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablecellelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableCellElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablecolelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableColElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import <DOM/HTMLCollection.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltableelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <HTML/HTMLTableCellElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablerowelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableRowElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <HTML/HTMLTableRowElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/tables.html#htmltablesectionelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTableSectionElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTextAreaElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmltimeelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTimeElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#htmltrackelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLTrackElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/grouping-content.html#htmlulistelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLUListElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/HTMLMediaElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#htmlvideoelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface HTMLVideoElement : HTMLMediaElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://html.spec.whatwg.org/multipage/history.html#the-history-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface History {
|
||||
readonly attribute unsigned long length;
|
||||
// FIXME: attribute ScrollRestoration scrollRestoration;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#location
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface Location { // but see also additional creation steps and overridden internal methods
|
||||
[LegacyUnforgeable] stringifier attribute USVString href;
|
||||
[LegacyUnforgeable] readonly attribute USVString origin;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/comms.html#messageevent
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface MessageEvent : Event {
|
||||
constructor(DOMString type, optional MessageEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <HTML/Plugin.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface MimeType {
|
||||
readonly attribute DOMString type;
|
||||
readonly attribute DOMString description;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <HTML/MimeType.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface MimeTypeArray {
|
||||
readonly attribute unsigned long length;
|
||||
getter MimeType? item(unsigned long index);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import <XHR/FormData.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigateevent-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface NavigateEvent : Event {
|
||||
constructor(DOMString type, NavigateEventInit eventInitDict);
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import <HTML/NavigationTransition.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface Navigation : EventTarget {
|
||||
sequence<NavigationHistoryEntry> entries();
|
||||
readonly attribute NavigationHistoryEntry? currentEntry;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <HTML/NavigationType.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationcurrententrychangeevent-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface NavigationCurrentEntryChangeEvent : Event {
|
||||
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInitDict);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationdestination-interface
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface NavigationDestination {
|
||||
readonly attribute USVString url;
|
||||
readonly attribute DOMString key;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface NavigationHistoryEntry : EventTarget {
|
||||
readonly attribute USVString? url;
|
||||
readonly attribute DOMString key;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <HTML/NavigationType.idl>
|
||||
#import <HTML/NavigationHistoryEntry.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface NavigationTransition {
|
||||
readonly attribute NavigationType navigationType;
|
||||
readonly attribute NavigationHistoryEntry from;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#pagetransitionevent
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface PageTransitionEvent : Event {
|
||||
constructor(DOMString type, optional PageTransitionEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/Canvas/CanvasPath.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#path2d
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Path2D {
|
||||
constructor(optional (Path2D or DOMString) path);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <HTML/MimeType.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface Plugin {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString description;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <HTML/Plugin.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface PluginArray {
|
||||
undefined refresh();
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface PromiseRejectionEvent : Event {
|
||||
constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface Storage {
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface SubmitEvent : Event {
|
||||
constructor(DOMString type, optional SubmitEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <HTML/VideoTrack.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/media.html#trackevent
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface TrackEvent : Event {
|
||||
constructor(DOMString type, optional TrackEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#import <RequestIdleCallback/IdleRequest.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window
|
||||
[Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
[Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface Window : EventTarget {
|
||||
// the current browsing context
|
||||
[LegacyUnforgeable] readonly attribute WindowProxy window;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
#import <DOM/EventHandler.idl>
|
||||
|
||||
[Exposed=(Window), UseNewAKString]
|
||||
[Exposed=(Window)]
|
||||
interface Worker : EventTarget {
|
||||
constructor(DOMString scriptURL, optional WorkerOptions options = {});
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import <HTML/WorkerNavigator.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope
|
||||
[Exposed=Worker, UseNewAKString]
|
||||
[Exposed=Worker]
|
||||
interface WorkerGlobalScope : EventTarget {
|
||||
readonly attribute WorkerGlobalScope self;
|
||||
readonly attribute WorkerLocation location;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=Worker, UseNewAKString]
|
||||
[Exposed=Worker]
|
||||
interface WorkerLocation {
|
||||
stringifier readonly attribute USVString href;
|
||||
readonly attribute USVString origin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue