mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +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
Notes:
sideshowbarker
2024-07-17 02:23:25 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/d4a890080d Pull-request: https://github.com/SerenityOS/serenity/pull/20913 Reviewed-by: https://github.com/AtkinsSJ ✅
146 changed files with 157 additions and 158 deletions
|
@ -135,10 +135,10 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
|
|||
return { .name = "JS::Handle<WebIDL::CallbackType>", .sequence_storage_type = SequenceStorageType::MarkedVector };
|
||||
|
||||
if (type.is_string()) {
|
||||
if (interface.extended_attributes.contains("UseNewAKString"))
|
||||
return { .name = "String", .sequence_storage_type = SequenceStorageType::Vector };
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString"))
|
||||
return { .name = "DeprecatedString", .sequence_storage_type = SequenceStorageType::Vector };
|
||||
|
||||
return { .name = "DeprecatedString", .sequence_storage_type = SequenceStorageType::Vector };
|
||||
return { .name = "String", .sequence_storage_type = SequenceStorageType::Vector };
|
||||
}
|
||||
|
||||
if (type.name() == "double" && !type.is_nullable())
|
||||
|
@ -411,8 +411,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
|
||||
// FIXME: Add support for optional, variadic, nullable and default values to all types
|
||||
if (parameter.type->is_string()) {
|
||||
bool use_new_ak_string = interface.extended_attributes.contains("UseNewAKString");
|
||||
if (!use_new_ak_string)
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString"))
|
||||
generate_to_deprecated_string(scoped_generator, parameter, variadic, optional, optional_default_value);
|
||||
else
|
||||
generate_to_new_string(scoped_generator, parameter, variadic, optional, optional_default_value);
|
||||
|
@ -811,7 +810,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
}
|
||||
|
||||
generate_to_cpp(dictionary_generator, member, member_property_value_name, "", member_value_name, interface, member.extended_attributes.contains("LegacyNullToEmptyString"), !member.required, member.default_value);
|
||||
if (member.type->is_string() && optional && interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (member.type->is_string() && optional && !interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
dictionary_generator.append(R"~~~(
|
||||
if (@member_value_name@.has_value())
|
||||
@cpp_name@.@member_name@ = @member_value_name@.release_value();
|
||||
|
@ -1330,7 +1329,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
if (includes_string) {
|
||||
// 14. If types includes a string type, then return the result of converting V to that type.
|
||||
// NOTE: Currently all string types are converted to String.
|
||||
if (interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (!interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
union_generator.append(R"~~~(
|
||||
return TRY(@js_name@@js_suffix@.to_string(vm));
|
||||
)~~~");
|
||||
|
@ -1418,7 +1417,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
|
|||
)~~~");
|
||||
} else {
|
||||
if (optional_default_value == "\"\"") {
|
||||
if (!interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
union_generator.append(R"~~~(
|
||||
@union_type@ @cpp_name@ = @js_name@@js_suffix@.is_undefined() ? DeprecatedString::empty() : TRY(@js_name@@js_suffix@_to_variant(@js_name@@js_suffix@));
|
||||
)~~~");
|
||||
|
@ -1604,7 +1603,7 @@ static void generate_wrap_statement(SourceGenerator& generator, DeprecatedString
|
|||
|
||||
if (type.is_nullable() && !is<UnionType>(type)) {
|
||||
if (type.is_string()) {
|
||||
if (!interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
scoped_generator.append(R"~~~(
|
||||
if (@value@.is_null()) {
|
||||
@result_expression@ JS::js_null();
|
||||
|
@ -1639,7 +1638,7 @@ static void generate_wrap_statement(SourceGenerator& generator, DeprecatedString
|
|||
}
|
||||
|
||||
if (type.is_string()) {
|
||||
if (type.is_nullable() && interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (type.is_nullable() && !interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
scoped_generator.append(R"~~~(
|
||||
@result_expression@ JS::PrimitiveString::create(vm, @value@.release_value());
|
||||
)~~~");
|
||||
|
@ -1769,7 +1768,7 @@ static void generate_wrap_statement(SourceGenerator& generator, DeprecatedString
|
|||
// Handle Enum? values, which were null-checked above
|
||||
if (type.is_nullable())
|
||||
scoped_generator.set("value", DeprecatedString::formatted("{}.value()", value));
|
||||
if (!interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
scoped_generator.append(R"~~~(
|
||||
@result_expression@ JS::PrimitiveString::create(vm, Bindings::idl_enum_to_deprecated_string(@value@));
|
||||
)~~~");
|
||||
|
@ -2325,7 +2324,7 @@ enum class @enum.type.name@ {
|
|||
};
|
||||
)~~~");
|
||||
|
||||
if (!interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
enum_generator.append(R"~~~(
|
||||
inline DeprecatedString idl_enum_to_deprecated_string(@enum.type.name@ value) {
|
||||
switch(value) {
|
||||
|
@ -2972,7 +2971,7 @@ JS_DEFINE_NATIVE_FUNCTION(@class_name@::to_string)
|
|||
auto retval = TRY(throw_dom_exception_if_needed(vm, [&] { return impl->@attribute.cpp_getter_name@(); }));
|
||||
)~~~");
|
||||
} else {
|
||||
if (!interface.extended_attributes.contains("UseNewAKString")) {
|
||||
if (interface.extended_attributes.contains("UseDeprecatedAKString")) {
|
||||
stringifier_generator.append(R"~~~(
|
||||
auto retval = TRY(throw_dom_exception_if_needed(vm, [&] { return impl->to_deprecated_string(); }));
|
||||
)~~~");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSGroupingRule.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface CSSConditionRule : CSSGroupingRule {
|
||||
attribute CSSOMString conditionText;
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface CSSKeyframeRule : CSSRule {
|
||||
attribute CSSOMString keyText;
|
||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface CSSKeyframesRule : CSSRule {
|
||||
attribute CSSOMString name;
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface CSSStyleDeclaration {
|
||||
|
||||
[CEReactions] attribute CSSOMString cssText;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface MediaList {
|
||||
[LegacyNullToEmptyString] stringifier attribute CSSOMString mediaText;
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
// https://w3c.github.io/csswg-drafts/cssom-view-1/#mediaquerylistevent
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface MediaQueryListEvent : Event {
|
||||
constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <DOM/Element.idl>
|
||||
|
||||
// https://drafts.csswg.org/cssom/#stylesheet
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface StyleSheet {
|
||||
|
||||
readonly attribute Element? ownerNode;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[SecureContext,Exposed=(Window,Worker), UseNewAKString]
|
||||
[SecureContext,Exposed=(Window,Worker)]
|
||||
interface SubtleCrypto {
|
||||
// FIXME: Add support for AlgorithmIdentifier ("typedef (object or DOMString)")
|
||||
Promise<any> digest(DOMString algorithm, BufferSource data);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Node.idl>
|
||||
#import <DOM/Element.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Attr : Node {
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
readonly attribute DOMString? prefix;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#characterdata
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface CharacterData : Node {
|
||||
[LegacyNullToEmptyString] attribute DOMString data;
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/CharacterData.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#comment
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Comment : CharacterData {
|
||||
constructor(optional DOMString data = "");
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface CustomEvent : Event {
|
||||
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Document.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#domimplementation
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface DOMImplementation {
|
||||
|
||||
// FIXME: This should return XMLDocument instead of Document.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://dom.spec.whatwg.org/#interface-domtokenlist
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface DOMTokenList {
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMString? item(unsigned long index);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#import <Selection/Selection.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#document
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Document : Node {
|
||||
constructor();
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#import <DOM/ParentNode.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#documentfragment
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface DocumentFragment : Node {
|
||||
constructor();
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <DOM/Node.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#documenttype
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface DocumentType : Node {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString publicId;
|
||||
|
|
|
@ -19,7 +19,7 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|||
};
|
||||
|
||||
// https://dom.spec.whatwg.org/#element
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Element : Node {
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
readonly attribute DOMString? prefix;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#event
|
||||
[Exposed=*, UseNewAKString]
|
||||
[Exposed=*]
|
||||
interface Event {
|
||||
|
||||
constructor(DOMString type, optional EventInit eventInitDict = {});
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/AbortSignal.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#eventtarget
|
||||
[Exposed=*, UseNewAKString]
|
||||
[Exposed=*]
|
||||
interface EventTarget {
|
||||
|
||||
constructor();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Element.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseNewAKString]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
interface HTMLCollection {
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface HTMLFormControlsCollection : HTMLCollection {
|
||||
[ImplementedAs=named_item_or_radio_node_list] getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/MutationRecord.idl>
|
||||
#import <DOM/Node.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface MutationObserver {
|
||||
|
||||
constructor(MutationCallback callback);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/Node.idl>
|
||||
#import <DOM/NodeList.idl>
|
||||
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface MutationRecord {
|
||||
|
||||
readonly attribute DOMString type;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Attr.idl>
|
||||
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
||||
[Exposed=Window, LegacyUnenumerableNamedProperties, UseDeprecatedAKString]
|
||||
interface NamedNodeMap {
|
||||
readonly attribute unsigned long length;
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#import <DOM/EventTarget.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#node
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Node : EventTarget {
|
||||
|
||||
readonly attribute unsigned short nodeType;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/NodeList.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#radionodelist
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface RadioNodeList : NodeList {
|
||||
attribute DOMString value;
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <DOM/AbstractRange.idl>
|
||||
#import <Geometry/DOMRect.idl>
|
||||
|
||||
[Exposed=Window, UseNewAKString]
|
||||
[Exposed=Window]
|
||||
interface Range : AbstractRange {
|
||||
|
||||
constructor();
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <DOM/InnerHTML.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#shadowroot
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface ShadowRoot : DocumentFragment {
|
||||
readonly attribute ShadowRootMode mode;
|
||||
// FIXME: readonly attribute boolean delegatesFocus;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <DOM/CharacterData.idl>
|
||||
|
||||
// https://dom.spec.whatwg.org/#text
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, UseDeprecatedAKString]
|
||||
interface Text : CharacterData {
|
||||
constructor(optional DOMString data = "");
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker), UseDeprecatedAKString]
|
||||
interface TextDecoder {
|
||||
// FIXME: 'optional TextDecoderOptions options = {}'
|
||||
constructor(optional DOMString label = "utf-8");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker), UseDeprecatedAKString]
|
||||
interface TextEncoder {
|
||||
constructor();
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
typedef (sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit;
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Headers {
|
||||
constructor(optional HeadersInit init);
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
typedef (Request or USVString) RequestInfo;
|
||||
|
||||
// https://fetch.spec.whatwg.org/#request
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Request {
|
||||
constructor(RequestInfo input, optional RequestInit init = {});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <Fetch/BodyInit.idl>
|
||||
#import <Fetch/Headers.idl>
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface Response {
|
||||
constructor(optional BodyInit? body = null, optional ResponseInit init = {});
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=(Window,Worker), Serializable, UseNewAKString]
|
||||
[Exposed=(Window,Worker), Serializable]
|
||||
interface Blob {
|
||||
constructor(optional sequence<BlobPart> blobParts, optional BlobPropertyBag options = {});
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <FileAPI/Blob.idl>
|
||||
|
||||
[Exposed=(Window,Worker), Serializable, UseNewAKString]
|
||||
[Exposed=(Window,Worker), Serializable]
|
||||
interface File : Blob {
|
||||
constructor(sequence<BlobPart> fileBits, USVString fileName, optional FilePropertyBag options = {});
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// https://drafts.fxtf.org/geometry/#dommatrix
|
||||
// FIXME: LegacyWindowAlias currently doesn't do anything.
|
||||
[Exposed=(Window,Worker), Serializable, LegacyWindowAlias=(SVGMatrix, WebKitCSSMatrix), UseNewAKString]
|
||||
[Exposed=(Window,Worker), Serializable, LegacyWindowAlias=(SVGMatrix, WebKitCSSMatrix)]
|
||||
interface DOMMatrix : DOMMatrixReadOnly {
|
||||
constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#import <Geometry/DOMPoint.idl>
|
||||
|
||||
// https://drafts.fxtf.org/geometry/#dommatrixreadonly
|
||||
[Exposed=(Window,Worker), Serializable, UseNewAKString]
|
||||
[Exposed=(Window,Worker), Serializable]
|
||||
interface DOMMatrixReadOnly {
|
||||
constructor(optional (DOMString or sequence<unrestricted double>) init);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue