diff --git a/Libraries/LibIDL/IDLParser.cpp b/Libraries/LibIDL/IDLParser.cpp index a6934d0f837..9b4c9ce5370 100644 --- a/Libraries/LibIDL/IDLParser.cpp +++ b/Libraries/LibIDL/IDLParser.cpp @@ -187,57 +187,6 @@ HashMap Parser::parse_extended_attributes() return extended_attributes; } -static HashTable import_stack; -Module& Parser::resolve_import(auto path) -{ - ByteString include_path; - for (auto import_base_path : import_base_paths) { - auto maybe_include_path = LexicalPath::join(import_base_path, path).string(); - if (!FileSystem::exists(maybe_include_path)) - continue; - - include_path = maybe_include_path; - break; - } - - if (include_path.is_empty()) { - StringBuilder error_message; - error_message.appendff("Failed to find {} in the following directories:\n", path); - error_message.join('\n', import_base_paths); - report_parsing_error(error_message.to_byte_string(), filename, input, lexer.tell()); - } - - auto real_path_error_or = FileSystem::real_path(include_path); - if (real_path_error_or.is_error()) - report_parsing_error(ByteString::formatted("Failed to resolve path {}: {}", include_path, real_path_error_or.error()), filename, input, lexer.tell()); - auto real_path = real_path_error_or.release_value(); - - if (top_level_resolved_modules().contains(real_path)) - return *top_level_resolved_modules().find(real_path)->value; - - if (auto* module = context.find_parsed_module(real_path)) { - top_level_resolved_modules().set(real_path, module); - return *module; - } - - if (import_stack.contains(real_path)) - report_parsing_error(ByteString::formatted("Circular import detected: {}", include_path), filename, input, lexer.tell()); - import_stack.set(real_path); - - auto file_or_error = Core::File::open(real_path, Core::File::OpenMode::Read); - if (file_or_error.is_error()) - report_parsing_error(ByteString::formatted("Failed to open {}: {}", real_path, file_or_error.error()), filename, input, lexer.tell()); - - auto data_or_error = file_or_error.value()->read_until_eof(); - if (data_or_error.is_error()) - report_parsing_error(ByteString::formatted("Failed to read {}: {}", real_path, data_or_error.error()), filename, input, lexer.tell()); - auto& result = Parser(this, real_path, data_or_error.value(), import_base_paths, context).parse(); - import_stack.remove(real_path); - - top_level_resolved_modules().set(real_path, &result); - return result; -} - NonnullRefPtr Parser::parse_type() { if (lexer.consume_specific('(')) { @@ -1415,12 +1364,10 @@ static void validate_overload_sets(Interface& interface, StringView filename, St } } -Module Parser::parse(ByteString filename, StringView contents, Vector import_base_paths, Context& context) +Module Parser::parse(ByteString filename, StringView contents, Context& context) { - Parser parser(move(filename), contents, move(import_base_paths), context); - auto& module = parser.parse(); - module.imported_files = parser.imported_files(); - return module; + Parser parser(move(filename), contents, context); + return parser.parse(); } Module& Parser::parse() @@ -1443,18 +1390,6 @@ Module& Parser::parse() auto interface_ptr = make(context); auto& interface = *interface_ptr; interface.module_own_path = this_module; - top_level_resolved_modules().set(this_module, &module); - - { - while (lexer.consume_specific("#import"sv)) { - consume_whitespace(); - assert_specific('<'); - auto path = lexer.consume_until('>'); - lexer.ignore(); - resolve_import(path); - consume_whitespace(); - } - } parse_non_interface_entities(true, interface); @@ -1465,52 +1400,20 @@ Module& Parser::parse() parse_non_interface_entities(false, interface); - if (top_level_parser() == this) - VERIFY(import_stack.is_empty()); - if (!interface.name.is_empty()) module.interface = interface.context.add_interface(move(interface_ptr)); return module; } -Parser::Parser(ByteString filename, StringView contents, Vector import_base_paths, Context& context) - : import_base_paths(move(import_base_paths)) - , filename(move(filename)) +Parser::Parser(ByteString filename, StringView contents, Context& context) + : filename(move(filename)) , input(contents) , lexer(input) , context(context) { } -Parser::Parser(Parser* parent, ByteString filename, StringView contents, Vector import_base_paths, Context& context) - : import_base_paths(move(import_base_paths)) - , filename(move(filename)) - , input(contents) - , lexer(input) - , context(context) - , parent(parent) -{ -} - -Parser* Parser::top_level_parser() -{ - Parser* current = this; - for (Parser* next = this; next; next = next->parent) - current = next; - return current; -} - -HashMap& Parser::top_level_resolved_modules() -{ - return top_level_parser()->resolved_modules; -} - -Vector Parser::imported_files() const -{ - return const_cast(this)->top_level_resolved_modules().keys(); -} - static void resolve_partials_and_mixins(Context& context) { for (auto& interface : context.owned_interfaces) { diff --git a/Libraries/LibIDL/IDLParser.h b/Libraries/LibIDL/IDLParser.h index d8512529e28..363aa4cbad3 100644 --- a/Libraries/LibIDL/IDLParser.h +++ b/Libraries/LibIDL/IDLParser.h @@ -16,7 +16,7 @@ namespace IDL { class Parser { public: - static Module parse(ByteString filename, StringView contents, Vector import_base_paths, Context& context); + static Module parse(ByteString filename, StringView contents, Context& context); private: // https://webidl.spec.whatwg.org/#dfn-special-operation @@ -31,15 +31,12 @@ private: Yes, }; - Parser(Parser* parent, ByteString filename, StringView contents, Vector import_base_path, Context&); - Parser(ByteString filename, StringView contents, Vector import_base_paths, Context& context); + Parser(ByteString filename, StringView contents, Context& context); Module& parse(); - Vector imported_files() const; void assert_specific(char ch); void assert_string(StringView expected); void consume_whitespace(); - Module& resolve_import(auto path); HashMap parse_extended_attributes(); void parse_attribute(HashMap& extended_attributes, Interface&, IsStatic is_static = IsStatic::No); @@ -73,16 +70,10 @@ private: ByteString parse_identifier_ending_with_space(); ByteString parse_identifier_ending_with_space_or(auto... possible_terminating_characters); - Vector import_base_paths; ByteString filename; StringView input; LineTrackingLexer lexer; Context& context; - - HashMap& top_level_resolved_modules(); - HashMap resolved_modules; - Parser* top_level_parser(); - Parser* parent = nullptr; }; } diff --git a/Libraries/LibIDL/Types.h b/Libraries/LibIDL/Types.h index 07b47155a5f..47046d27d7c 100644 --- a/Libraries/LibIDL/Types.h +++ b/Libraries/LibIDL/Types.h @@ -354,7 +354,6 @@ public: struct Module { ByteString module_own_path; Optional interface; - Vector imported_files; }; class UnionType : public Type { diff --git a/Libraries/LibWeb/Animations/Animatable.idl b/Libraries/LibWeb/Animations/Animatable.idl index 40f6d234f3f..a6eaf2baec3 100644 --- a/Libraries/LibWeb/Animations/Animatable.idl +++ b/Libraries/LibWeb/Animations/Animatable.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/web-animations-1/#the-animatable-interface-mixin interface mixin Animatable { Animation animate(object? keyframes, optional (unrestricted double or KeyframeAnimationOptions) options = {}); diff --git a/Libraries/LibWeb/Animations/Animation.idl b/Libraries/LibWeb/Animations/Animation.idl index ee84261c26a..bdf12ae5de4 100644 --- a/Libraries/LibWeb/Animations/Animation.idl +++ b/Libraries/LibWeb/Animations/Animation.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/web-animations-1/#the-animation-interface [Exposed=Window] interface Animation : EventTarget { diff --git a/Libraries/LibWeb/Animations/AnimationEffect.idl b/Libraries/LibWeb/Animations/AnimationEffect.idl index 71d4ef909cc..f4ff39c0258 100644 --- a/Libraries/LibWeb/Animations/AnimationEffect.idl +++ b/Libraries/LibWeb/Animations/AnimationEffect.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/web-animations-1/#the-effecttiming-dictionaries // https://drafts.csswg.org/web-animations-2/#the-effecttiming-dictionaries dictionary EffectTiming { diff --git a/Libraries/LibWeb/Animations/AnimationPlaybackEvent.idl b/Libraries/LibWeb/Animations/AnimationPlaybackEvent.idl index 0f18e10efda..fb1813222c6 100644 --- a/Libraries/LibWeb/Animations/AnimationPlaybackEvent.idl +++ b/Libraries/LibWeb/Animations/AnimationPlaybackEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/web-animations-2/#animationplaybackevent [Exposed=Window] interface AnimationPlaybackEvent : Event { diff --git a/Libraries/LibWeb/Animations/AnimationTimeline.idl b/Libraries/LibWeb/Animations/AnimationTimeline.idl index d757239e47d..7a9cefb7905 100644 --- a/Libraries/LibWeb/Animations/AnimationTimeline.idl +++ b/Libraries/LibWeb/Animations/AnimationTimeline.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/web-animations-2/#the-animationtimeline-interface [Exposed=Window] interface AnimationTimeline { diff --git a/Libraries/LibWeb/Animations/DocumentTimeline.idl b/Libraries/LibWeb/Animations/DocumentTimeline.idl index afd63b974f4..02ad81696a9 100644 --- a/Libraries/LibWeb/Animations/DocumentTimeline.idl +++ b/Libraries/LibWeb/Animations/DocumentTimeline.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/web-animations-1/#dictdef-documenttimelineoptions dictionary DocumentTimelineOptions { DOMHighResTimeStamp originTime = 0; diff --git a/Libraries/LibWeb/Animations/KeyframeEffect.idl b/Libraries/LibWeb/Animations/KeyframeEffect.idl index 3f2eff4f892..f071509c902 100644 --- a/Libraries/LibWeb/Animations/KeyframeEffect.idl +++ b/Libraries/LibWeb/Animations/KeyframeEffect.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/web-animations-1/#the-compositeoperation-enumeration enum CompositeOperation { "replace", "add", "accumulate" }; diff --git a/Libraries/LibWeb/Animations/ScrollTimeline.idl b/Libraries/LibWeb/Animations/ScrollTimeline.idl index 7f43bd59e76..35f25d81a78 100644 --- a/Libraries/LibWeb/Animations/ScrollTimeline.idl +++ b/Libraries/LibWeb/Animations/ScrollTimeline.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/scroll-animations-1/#scrolltimeline [Exposed=Window] interface ScrollTimeline : AnimationTimeline { diff --git a/Libraries/LibWeb/CSS/AnimationEvent.idl b/Libraries/LibWeb/CSS/AnimationEvent.idl index 5f5d1a343f9..a15a5518d58 100644 --- a/Libraries/LibWeb/CSS/AnimationEvent.idl +++ b/Libraries/LibWeb/CSS/AnimationEvent.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-animations-1/#animationevent [Exposed=Window] interface AnimationEvent : Event { diff --git a/Libraries/LibWeb/CSS/CSS.idl b/Libraries/LibWeb/CSS/CSS.idl index f52a19ec497..cffc956b609 100644 --- a/Libraries/LibWeb/CSS/CSS.idl +++ b/Libraries/LibWeb/CSS/CSS.idl @@ -1,6 +1,3 @@ -#import -#import - dictionary PropertyDefinition { required CSSOMString name; CSSOMString syntax = "*"; diff --git a/Libraries/LibWeb/CSS/CSSAnimation.idl b/Libraries/LibWeb/CSS/CSSAnimation.idl index fca103a87e2..a07e883b652 100644 --- a/Libraries/LibWeb/CSS/CSSAnimation.idl +++ b/Libraries/LibWeb/CSS/CSSAnimation.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-animations-2/#cssanimation [Exposed=Window] interface CSSAnimation : Animation { diff --git a/Libraries/LibWeb/CSS/CSSConditionRule.idl b/Libraries/LibWeb/CSS/CSSConditionRule.idl index 5dc19c87f3f..013fc5dcfa4 100644 --- a/Libraries/LibWeb/CSS/CSSConditionRule.idl +++ b/Libraries/LibWeb/CSS/CSSConditionRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-conditional-3/#the-cssconditionrule-interface [Exposed=Window] interface CSSConditionRule : CSSGroupingRule { diff --git a/Libraries/LibWeb/CSS/CSSContainerRule.idl b/Libraries/LibWeb/CSS/CSSContainerRule.idl index a68c714c628..cb9a02ecaa3 100644 --- a/Libraries/LibWeb/CSS/CSSContainerRule.idl +++ b/Libraries/LibWeb/CSS/CSSContainerRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-conditional-5/#dictdef-csscontainercondition dictionary CSSContainerCondition { required CSSOMString name; diff --git a/Libraries/LibWeb/CSS/CSSCounterStyleRule.idl b/Libraries/LibWeb/CSS/CSSCounterStyleRule.idl index 19668c79ea5..c63845210a3 100644 --- a/Libraries/LibWeb/CSS/CSSCounterStyleRule.idl +++ b/Libraries/LibWeb/CSS/CSSCounterStyleRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-counter-styles/#the-csscounterstylerule-interface [Exposed=Window] interface CSSCounterStyleRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSFontFaceDescriptors.idl b/Libraries/LibWeb/CSS/CSSFontFaceDescriptors.idl index f98052d12c4..d3058a07e6b 100644 --- a/Libraries/LibWeb/CSS/CSSFontFaceDescriptors.idl +++ b/Libraries/LibWeb/CSS/CSSFontFaceDescriptors.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-fonts-4/#cssfontfacedescriptors [Exposed=Window] interface CSSFontFaceDescriptors : CSSStyleDeclaration { diff --git a/Libraries/LibWeb/CSS/CSSFontFaceRule.idl b/Libraries/LibWeb/CSS/CSSFontFaceRule.idl index 7d6591eafd0..5ced387cc8c 100644 --- a/Libraries/LibWeb/CSS/CSSFontFaceRule.idl +++ b/Libraries/LibWeb/CSS/CSSFontFaceRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-fonts/#om-fontface [Exposed=Window] interface CSSFontFaceRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSFontFeatureValuesRule.idl b/Libraries/LibWeb/CSS/CSSFontFeatureValuesRule.idl index 332640675db..a21e4256ee4 100644 --- a/Libraries/LibWeb/CSS/CSSFontFeatureValuesRule.idl +++ b/Libraries/LibWeb/CSS/CSSFontFeatureValuesRule.idl @@ -1,6 +1,3 @@ -#import -#import - [Exposed=Window] interface CSSFontFeatureValuesRule : CSSRule { attribute CSSOMString fontFamily; diff --git a/Libraries/LibWeb/CSS/CSSFunctionDeclarations.idl b/Libraries/LibWeb/CSS/CSSFunctionDeclarations.idl index 0f1ec0045b2..b459261904b 100644 --- a/Libraries/LibWeb/CSS/CSSFunctionDeclarations.idl +++ b/Libraries/LibWeb/CSS/CSSFunctionDeclarations.idl @@ -1,6 +1,3 @@ -#import -#import - [Exposed=Window] interface CSSFunctionDeclarations : CSSRule { [SameObject, PutForwards=cssText] readonly attribute CSSFunctionDescriptors style; diff --git a/Libraries/LibWeb/CSS/CSSFunctionDescriptors.idl b/Libraries/LibWeb/CSS/CSSFunctionDescriptors.idl index 295e28f9aa8..57d5e9deb08 100644 --- a/Libraries/LibWeb/CSS/CSSFunctionDescriptors.idl +++ b/Libraries/LibWeb/CSS/CSSFunctionDescriptors.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-mixins-1/#cssfunctiondescriptors [Exposed=Window] interface CSSFunctionDescriptors : CSSStyleDeclaration { diff --git a/Libraries/LibWeb/CSS/CSSFunctionRule.idl b/Libraries/LibWeb/CSS/CSSFunctionRule.idl index e8c75cea233..b427f087e83 100644 --- a/Libraries/LibWeb/CSS/CSSFunctionRule.idl +++ b/Libraries/LibWeb/CSS/CSSFunctionRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-mixins-1/#dictdef-functionparameter dictionary FunctionParameter { required CSSOMString name; diff --git a/Libraries/LibWeb/CSS/CSSGroupingRule.idl b/Libraries/LibWeb/CSS/CSSGroupingRule.idl index 3b6b03f7e9e..bdfef838184 100644 --- a/Libraries/LibWeb/CSS/CSSGroupingRule.idl +++ b/Libraries/LibWeb/CSS/CSSGroupingRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/cssom/#the-cssgroupingrule-interface [Exposed=Window] interface CSSGroupingRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSImageValue.idl b/Libraries/LibWeb/CSS/CSSImageValue.idl index fd50c8c5cee..13805301994 100644 --- a/Libraries/LibWeb/CSS/CSSImageValue.idl +++ b/Libraries/LibWeb/CSS/CSSImageValue.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssimagevalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSImageValue : CSSStyleValue { diff --git a/Libraries/LibWeb/CSS/CSSImportRule.idl b/Libraries/LibWeb/CSS/CSSImportRule.idl index 93cb1c98407..528f6fb7037 100644 --- a/Libraries/LibWeb/CSS/CSSImportRule.idl +++ b/Libraries/LibWeb/CSS/CSSImportRule.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/cssom/#the-cssimportrule-interface [Exposed=Window] interface CSSImportRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSKeyframeRule.idl b/Libraries/LibWeb/CSS/CSSKeyframeRule.idl index 9daf1560e16..3f1b1060bc3 100644 --- a/Libraries/LibWeb/CSS/CSSKeyframeRule.idl +++ b/Libraries/LibWeb/CSS/CSSKeyframeRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-animations-1/#interface-csskeyframerule-idl [Exposed=Window] interface CSSKeyframeRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSKeyframesRule.idl b/Libraries/LibWeb/CSS/CSSKeyframesRule.idl index c6aea702c96..8bcbd543271 100644 --- a/Libraries/LibWeb/CSS/CSSKeyframesRule.idl +++ b/Libraries/LibWeb/CSS/CSSKeyframesRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-animations-1/#interface-csskeyframesrule [Exposed=Window] interface CSSKeyframesRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSKeywordValue.idl b/Libraries/LibWeb/CSS/CSSKeywordValue.idl index dcbe177c8fc..698ea326adb 100644 --- a/Libraries/LibWeb/CSS/CSSKeywordValue.idl +++ b/Libraries/LibWeb/CSS/CSSKeywordValue.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#csskeywordvalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSKeywordValue : CSSStyleValue { diff --git a/Libraries/LibWeb/CSS/CSSLayerBlockRule.idl b/Libraries/LibWeb/CSS/CSSLayerBlockRule.idl index 901fe05cf46..d54125e9c5f 100644 --- a/Libraries/LibWeb/CSS/CSSLayerBlockRule.idl +++ b/Libraries/LibWeb/CSS/CSSLayerBlockRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-cascade-5/#the-csslayerblockrule-interface [Exposed=Window] interface CSSLayerBlockRule : CSSGroupingRule { diff --git a/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl b/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl index 5b8a2b00320..ba8f8ef9014 100644 --- a/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl +++ b/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-cascade-5/#the-csslayerstatementrule-interface [Exposed=Window] interface CSSLayerStatementRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSMarginRule.idl b/Libraries/LibWeb/CSS/CSSMarginRule.idl index a5ed49e2cad..95a99f2eacb 100644 --- a/Libraries/LibWeb/CSS/CSSMarginRule.idl +++ b/Libraries/LibWeb/CSS/CSSMarginRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/cssom/#cssmarginrule [Exposed=Window] interface CSSMarginRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSMathClamp.idl b/Libraries/LibWeb/CSS/CSSMathClamp.idl index e22e155659f..0b3aa4bced8 100644 --- a/Libraries/LibWeb/CSS/CSSMathClamp.idl +++ b/Libraries/LibWeb/CSS/CSSMathClamp.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathclamp [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathClamp : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathInvert.idl b/Libraries/LibWeb/CSS/CSSMathInvert.idl index a51b6f30f55..0568f880799 100644 --- a/Libraries/LibWeb/CSS/CSSMathInvert.idl +++ b/Libraries/LibWeb/CSS/CSSMathInvert.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathinvert [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathInvert : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathMax.idl b/Libraries/LibWeb/CSS/CSSMathMax.idl index a3f356ede30..e4e44378f77 100644 --- a/Libraries/LibWeb/CSS/CSSMathMax.idl +++ b/Libraries/LibWeb/CSS/CSSMathMax.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathmax [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathMax : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathMin.idl b/Libraries/LibWeb/CSS/CSSMathMin.idl index 24282b6c812..aa260d24c26 100644 --- a/Libraries/LibWeb/CSS/CSSMathMin.idl +++ b/Libraries/LibWeb/CSS/CSSMathMin.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathmin [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathMin : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathNegate.idl b/Libraries/LibWeb/CSS/CSSMathNegate.idl index 278df117a38..ecbca514638 100644 --- a/Libraries/LibWeb/CSS/CSSMathNegate.idl +++ b/Libraries/LibWeb/CSS/CSSMathNegate.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathnegate [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathNegate : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathProduct.idl b/Libraries/LibWeb/CSS/CSSMathProduct.idl index 18d9d6b8452..a24ac7249b2 100644 --- a/Libraries/LibWeb/CSS/CSSMathProduct.idl +++ b/Libraries/LibWeb/CSS/CSSMathProduct.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathproduct [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathProduct : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathSum.idl b/Libraries/LibWeb/CSS/CSSMathSum.idl index bd5dd26d5c7..e8114ac27d5 100644 --- a/Libraries/LibWeb/CSS/CSSMathSum.idl +++ b/Libraries/LibWeb/CSS/CSSMathSum.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathsum [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathSum : CSSMathValue { diff --git a/Libraries/LibWeb/CSS/CSSMathValue.idl b/Libraries/LibWeb/CSS/CSSMathValue.idl index c2fec46f20d..d05d3e6b93f 100644 --- a/Libraries/LibWeb/CSS/CSSMathValue.idl +++ b/Libraries/LibWeb/CSS/CSSMathValue.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmathvalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMathValue : CSSNumericValue { diff --git a/Libraries/LibWeb/CSS/CSSMatrixComponent.idl b/Libraries/LibWeb/CSS/CSSMatrixComponent.idl index d3aac72990f..d9a797f5461 100644 --- a/Libraries/LibWeb/CSS/CSSMatrixComponent.idl +++ b/Libraries/LibWeb/CSS/CSSMatrixComponent.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssmatrixcomponent [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSMatrixComponent : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSMediaRule.idl b/Libraries/LibWeb/CSS/CSSMediaRule.idl index b4edaea781d..fed6a42dc42 100644 --- a/Libraries/LibWeb/CSS/CSSMediaRule.idl +++ b/Libraries/LibWeb/CSS/CSSMediaRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-conditional-3/#the-cssmediarule-interface [Exposed=Window] interface CSSMediaRule : CSSConditionRule { diff --git a/Libraries/LibWeb/CSS/CSSNamespaceRule.idl b/Libraries/LibWeb/CSS/CSSNamespaceRule.idl index c5f830ec57b..070cee4dd2d 100644 --- a/Libraries/LibWeb/CSS/CSSNamespaceRule.idl +++ b/Libraries/LibWeb/CSS/CSSNamespaceRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom/#the-cssnamespacerule-interface [Exposed=Window] interface CSSNamespaceRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl b/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl index 72910862040..520e0998a33 100644 --- a/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl +++ b/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-nesting-1/#cssnesteddeclarations [Exposed=Window] interface CSSNestedDeclarations : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSNumericArray.idl b/Libraries/LibWeb/CSS/CSSNumericArray.idl index 9e75d076ad8..5f20778829c 100644 --- a/Libraries/LibWeb/CSS/CSSNumericArray.idl +++ b/Libraries/LibWeb/CSS/CSSNumericArray.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssnumericarray [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSNumericArray { diff --git a/Libraries/LibWeb/CSS/CSSNumericValue.idl b/Libraries/LibWeb/CSS/CSSNumericValue.idl index 56a8aba09f1..a41854c1fcd 100644 --- a/Libraries/LibWeb/CSS/CSSNumericValue.idl +++ b/Libraries/LibWeb/CSS/CSSNumericValue.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#enumdef-cssnumericbasetype enum CSSNumericBaseType { "length", diff --git a/Libraries/LibWeb/CSS/CSSPageDescriptors.idl b/Libraries/LibWeb/CSS/CSSPageDescriptors.idl index eaf1026ea64..302793bba0c 100644 --- a/Libraries/LibWeb/CSS/CSSPageDescriptors.idl +++ b/Libraries/LibWeb/CSS/CSSPageDescriptors.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom/#csspagedescriptors [Exposed=Window] interface CSSPageDescriptors : CSSStyleDeclaration { diff --git a/Libraries/LibWeb/CSS/CSSPageRule.idl b/Libraries/LibWeb/CSS/CSSPageRule.idl index 1cf8876544c..1838af10ebc 100644 --- a/Libraries/LibWeb/CSS/CSSPageRule.idl +++ b/Libraries/LibWeb/CSS/CSSPageRule.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/cssom/#csspagerule [Exposed=Window] interface CSSPageRule : CSSGroupingRule { diff --git a/Libraries/LibWeb/CSS/CSSPerspective.idl b/Libraries/LibWeb/CSS/CSSPerspective.idl index 9fa3d67fd43..0c162a540ff 100644 --- a/Libraries/LibWeb/CSS/CSSPerspective.idl +++ b/Libraries/LibWeb/CSS/CSSPerspective.idl @@ -1,7 +1,3 @@ -#import -#import -#import - typedef (CSSNumericValue or CSSKeywordish) CSSPerspectiveValue; // https://drafts.css-houdini.org/css-typed-om-1/#cssperspective diff --git a/Libraries/LibWeb/CSS/CSSPropertyRule.idl b/Libraries/LibWeb/CSS/CSSPropertyRule.idl index fcb2c9bac8f..e4ab1b43756 100644 --- a/Libraries/LibWeb/CSS/CSSPropertyRule.idl +++ b/Libraries/LibWeb/CSS/CSSPropertyRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-properties-values-api/#the-css-property-rule-interface [Exposed=Window] interface CSSPropertyRule : CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSRotate.idl b/Libraries/LibWeb/CSS/CSSRotate.idl index 1a2a0516787..99dc100b4e9 100644 --- a/Libraries/LibWeb/CSS/CSSRotate.idl +++ b/Libraries/LibWeb/CSS/CSSRotate.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssrotate [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSRotate : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSRule.idl b/Libraries/LibWeb/CSS/CSSRule.idl index 3dc4f8eea16..2a944ea37d1 100644 --- a/Libraries/LibWeb/CSS/CSSRule.idl +++ b/Libraries/LibWeb/CSS/CSSRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom/#the-cssrule-interface [Exposed=Window] interface CSSRule { diff --git a/Libraries/LibWeb/CSS/CSSRuleList.idl b/Libraries/LibWeb/CSS/CSSRuleList.idl index e8095374614..95b1e8cd977 100644 --- a/Libraries/LibWeb/CSS/CSSRuleList.idl +++ b/Libraries/LibWeb/CSS/CSSRuleList.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom/#the-cssrulelist-interface [Exposed=Window] interface CSSRuleList { diff --git a/Libraries/LibWeb/CSS/CSSScale.idl b/Libraries/LibWeb/CSS/CSSScale.idl index 3b6f52505ab..d80ec700d9a 100644 --- a/Libraries/LibWeb/CSS/CSSScale.idl +++ b/Libraries/LibWeb/CSS/CSSScale.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssscale [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSScale : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSSkew.idl b/Libraries/LibWeb/CSS/CSSSkew.idl index b483c511d7d..6c798d3a8ce 100644 --- a/Libraries/LibWeb/CSS/CSSSkew.idl +++ b/Libraries/LibWeb/CSS/CSSSkew.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssskew [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSSkew : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSSkewX.idl b/Libraries/LibWeb/CSS/CSSSkewX.idl index 4cdec76ff8b..c56c2c53255 100644 --- a/Libraries/LibWeb/CSS/CSSSkewX.idl +++ b/Libraries/LibWeb/CSS/CSSSkewX.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssskewx [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSSkewX : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSSkewY.idl b/Libraries/LibWeb/CSS/CSSSkewY.idl index 1eec834c4e9..aa2f9851c3f 100644 --- a/Libraries/LibWeb/CSS/CSSSkewY.idl +++ b/Libraries/LibWeb/CSS/CSSSkewY.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssskewy [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSSkewY : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSStyleProperties.idl b/Libraries/LibWeb/CSS/CSSStyleProperties.idl index bec81f01b60..1e68907f808 100644 --- a/Libraries/LibWeb/CSS/CSSStyleProperties.idl +++ b/Libraries/LibWeb/CSS/CSSStyleProperties.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/cssom/#cssstyleproperties [Exposed=Window] interface CSSStyleProperties : CSSStyleDeclaration { diff --git a/Libraries/LibWeb/CSS/CSSStyleRule.idl b/Libraries/LibWeb/CSS/CSSStyleRule.idl index 5b1054c7f90..995eb91ee12 100644 --- a/Libraries/LibWeb/CSS/CSSStyleRule.idl +++ b/Libraries/LibWeb/CSS/CSSStyleRule.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/cssom/#the-cssstylerule-interface [Exposed=Window] interface CSSStyleRule : CSSGroupingRule { diff --git a/Libraries/LibWeb/CSS/CSSStyleSheet.idl b/Libraries/LibWeb/CSS/CSSStyleSheet.idl index 8eb936b4706..af78c55e619 100644 --- a/Libraries/LibWeb/CSS/CSSStyleSheet.idl +++ b/Libraries/LibWeb/CSS/CSSStyleSheet.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://drafts.csswg.org/cssom/#cssstylesheet [Exposed=Window] interface CSSStyleSheet : StyleSheet { diff --git a/Libraries/LibWeb/CSS/CSSSupportsRule.idl b/Libraries/LibWeb/CSS/CSSSupportsRule.idl index 03eed837c11..1d74b8b2e09 100644 --- a/Libraries/LibWeb/CSS/CSSSupportsRule.idl +++ b/Libraries/LibWeb/CSS/CSSSupportsRule.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-conditional-3/#the-csssupportsrule-interface [Exposed=Window] interface CSSSupportsRule : CSSConditionRule { diff --git a/Libraries/LibWeb/CSS/CSSTransformComponent.idl b/Libraries/LibWeb/CSS/CSSTransformComponent.idl index 66055e9fe87..d24dec7c24c 100644 --- a/Libraries/LibWeb/CSS/CSSTransformComponent.idl +++ b/Libraries/LibWeb/CSS/CSSTransformComponent.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#csstransformcomponent [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSTransformValue.idl b/Libraries/LibWeb/CSS/CSSTransformValue.idl index 168e398049b..a1dbffa363a 100644 --- a/Libraries/LibWeb/CSS/CSSTransformValue.idl +++ b/Libraries/LibWeb/CSS/CSSTransformValue.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#csstransformvalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSTransformValue : CSSStyleValue { diff --git a/Libraries/LibWeb/CSS/CSSTransition.idl b/Libraries/LibWeb/CSS/CSSTransition.idl index d5a3dfe721e..3a554cbe772 100644 --- a/Libraries/LibWeb/CSS/CSSTransition.idl +++ b/Libraries/LibWeb/CSS/CSSTransition.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-transitions-2/#the-CSSTransition-interface [Exposed=Window] interface CSSTransition : Animation { diff --git a/Libraries/LibWeb/CSS/CSSTranslate.idl b/Libraries/LibWeb/CSS/CSSTranslate.idl index e344e893206..664d218a0be 100644 --- a/Libraries/LibWeb/CSS/CSSTranslate.idl +++ b/Libraries/LibWeb/CSS/CSSTranslate.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#csstranslate [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSTranslate : CSSTransformComponent { diff --git a/Libraries/LibWeb/CSS/CSSUnitValue.idl b/Libraries/LibWeb/CSS/CSSUnitValue.idl index 5205f895181..4203e601de9 100644 --- a/Libraries/LibWeb/CSS/CSSUnitValue.idl +++ b/Libraries/LibWeb/CSS/CSSUnitValue.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSUnitValue : CSSNumericValue { diff --git a/Libraries/LibWeb/CSS/CSSUnparsedValue.idl b/Libraries/LibWeb/CSS/CSSUnparsedValue.idl index da82e519fcd..8500b5f19ab 100644 --- a/Libraries/LibWeb/CSS/CSSUnparsedValue.idl +++ b/Libraries/LibWeb/CSS/CSSUnparsedValue.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssunparsedvalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSUnparsedValue : CSSStyleValue { diff --git a/Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl b/Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl index 1256ce5b21c..05386d17d74 100644 --- a/Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl +++ b/Libraries/LibWeb/CSS/CSSVariableReferenceValue.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#cssvariablereferencevalue [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface CSSVariableReferenceValue { diff --git a/Libraries/LibWeb/CSS/ElementCSSInlineStyle.idl b/Libraries/LibWeb/CSS/ElementCSSInlineStyle.idl index 0cb33e50037..637699db02d 100644 --- a/Libraries/LibWeb/CSS/ElementCSSInlineStyle.idl +++ b/Libraries/LibWeb/CSS/ElementCSSInlineStyle.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/csswg-drafts/cssom/#elementcssinlinestyle interface mixin ElementCSSInlineStyle { [SameObject, PutForwards=cssText, ImplementedAs=style_for_bindings] readonly attribute CSSStyleProperties style; diff --git a/Libraries/LibWeb/CSS/FontFaceSet.idl b/Libraries/LibWeb/CSS/FontFaceSet.idl index 8d45f0ef58a..edb22384f9c 100644 --- a/Libraries/LibWeb/CSS/FontFaceSet.idl +++ b/Libraries/LibWeb/CSS/FontFaceSet.idl @@ -1,6 +1,3 @@ -#import -#import - enum FontFaceSetLoadStatus { "loading", "loaded" }; // https://drafts.csswg.org/css-font-loading/#fontfaceset diff --git a/Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl b/Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl index 2cd0ad28850..35ea58f6416 100644 --- a/Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl +++ b/Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent dictionary FontFaceSetLoadEventInit : EventInit { sequence fontfaces = []; diff --git a/Libraries/LibWeb/CSS/LinkStyle.idl b/Libraries/LibWeb/CSS/LinkStyle.idl index 38a63522afd..ff757e44b11 100644 --- a/Libraries/LibWeb/CSS/LinkStyle.idl +++ b/Libraries/LibWeb/CSS/LinkStyle.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom-1/#ref-for-linkstyle interface mixin LinkStyle { readonly attribute CSSStyleSheet? sheet; diff --git a/Libraries/LibWeb/CSS/MediaQueryList.idl b/Libraries/LibWeb/CSS/MediaQueryList.idl index c0d1a454dbc..61f1e3dcbd2 100644 --- a/Libraries/LibWeb/CSS/MediaQueryList.idl +++ b/Libraries/LibWeb/CSS/MediaQueryList.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/cssom-view/#the-mediaquerylist-interface [Exposed=Window] interface MediaQueryList : EventTarget { diff --git a/Libraries/LibWeb/CSS/MediaQueryListEvent.idl b/Libraries/LibWeb/CSS/MediaQueryListEvent.idl index c1a7d361d0b..73f3e709fe0 100644 --- a/Libraries/LibWeb/CSS/MediaQueryListEvent.idl +++ b/Libraries/LibWeb/CSS/MediaQueryListEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/csswg-drafts/cssom-view-1/#mediaquerylistevent [Exposed=Window] interface MediaQueryListEvent : Event { diff --git a/Libraries/LibWeb/CSS/Screen.idl b/Libraries/LibWeb/CSS/Screen.idl index 1e7c14b78de..1c1e0e95a62 100644 --- a/Libraries/LibWeb/CSS/Screen.idl +++ b/Libraries/LibWeb/CSS/Screen.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/csswg-drafts/cssom-view-1/#screen [Exposed=Window] interface Screen { diff --git a/Libraries/LibWeb/CSS/ScreenOrientation.idl b/Libraries/LibWeb/CSS/ScreenOrientation.idl index 15a506e1fcf..529685c05f5 100644 --- a/Libraries/LibWeb/CSS/ScreenOrientation.idl +++ b/Libraries/LibWeb/CSS/ScreenOrientation.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/screen-orientation/#orientationtype-enum enum OrientationType { "portrait-primary", diff --git a/Libraries/LibWeb/CSS/StylePropertyMap.idl b/Libraries/LibWeb/CSS/StylePropertyMap.idl index ae286d6e086..878f38658f3 100644 --- a/Libraries/LibWeb/CSS/StylePropertyMap.idl +++ b/Libraries/LibWeb/CSS/StylePropertyMap.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymap [Exposed=Window] interface StylePropertyMap : StylePropertyMapReadOnly { diff --git a/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl b/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl index 9fa428173ad..158d5e5ec16 100644 --- a/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl +++ b/Libraries/LibWeb/CSS/StylePropertyMapReadOnly.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.css-houdini.org/css-typed-om-1/#stylepropertymapreadonly [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)] interface StylePropertyMapReadOnly { diff --git a/Libraries/LibWeb/CSS/StyleSheet.idl b/Libraries/LibWeb/CSS/StyleSheet.idl index c4fb1e3dc88..5ff1bc380ac 100644 --- a/Libraries/LibWeb/CSS/StyleSheet.idl +++ b/Libraries/LibWeb/CSS/StyleSheet.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/cssom/#stylesheet [Exposed=Window] interface StyleSheet { diff --git a/Libraries/LibWeb/CSS/StyleSheetList.idl b/Libraries/LibWeb/CSS/StyleSheetList.idl index 207e28d4a8a..002bac8ea91 100644 --- a/Libraries/LibWeb/CSS/StyleSheetList.idl +++ b/Libraries/LibWeb/CSS/StyleSheetList.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom/#the-stylesheetlist-interface [Exposed=Window] interface StyleSheetList { diff --git a/Libraries/LibWeb/CSS/TransitionEvent.idl b/Libraries/LibWeb/CSS/TransitionEvent.idl index 3ead72fccb9..641ea2fb665 100644 --- a/Libraries/LibWeb/CSS/TransitionEvent.idl +++ b/Libraries/LibWeb/CSS/TransitionEvent.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/css-transitions/#transitionevent [Exposed=Window] interface TransitionEvent : Event { diff --git a/Libraries/LibWeb/CSS/VisualViewport.idl b/Libraries/LibWeb/CSS/VisualViewport.idl index e9d103157c0..3ded62c33b4 100644 --- a/Libraries/LibWeb/CSS/VisualViewport.idl +++ b/Libraries/LibWeb/CSS/VisualViewport.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/cssom-view/#the-visualviewport-interface [Exposed=Window] interface VisualViewport : EventTarget { diff --git a/Libraries/LibWeb/Clipboard/Clipboard.idl b/Libraries/LibWeb/Clipboard/Clipboard.idl index 9e53af1de1a..31dc7940cd4 100644 --- a/Libraries/LibWeb/Clipboard/Clipboard.idl +++ b/Libraries/LibWeb/Clipboard/Clipboard.idl @@ -1,6 +1,3 @@ -#import -#import - typedef sequence ClipboardItems; // https://w3c.github.io/clipboard-apis/#clipboard diff --git a/Libraries/LibWeb/Clipboard/ClipboardEvent.idl b/Libraries/LibWeb/Clipboard/ClipboardEvent.idl index 44390df547b..bf940722a55 100644 --- a/Libraries/LibWeb/Clipboard/ClipboardEvent.idl +++ b/Libraries/LibWeb/Clipboard/ClipboardEvent.idl @@ -1,6 +1,3 @@ -#import -#import - dictionary ClipboardEventInit : EventInit { DataTransfer? clipboardData = null; }; diff --git a/Libraries/LibWeb/Compression/CompressionStream.idl b/Libraries/LibWeb/Compression/CompressionStream.idl index 42ccf24fe9f..68dd3adaeb6 100644 --- a/Libraries/LibWeb/Compression/CompressionStream.idl +++ b/Libraries/LibWeb/Compression/CompressionStream.idl @@ -1,5 +1,3 @@ -#import - // https://compression.spec.whatwg.org/#enumdef-compressionformat enum CompressionFormat { "deflate", diff --git a/Libraries/LibWeb/Compression/DecompressionStream.idl b/Libraries/LibWeb/Compression/DecompressionStream.idl index 3e4fad33b25..2e4ea8089e1 100644 --- a/Libraries/LibWeb/Compression/DecompressionStream.idl +++ b/Libraries/LibWeb/Compression/DecompressionStream.idl @@ -1,6 +1,3 @@ -#import -#import - // https://compression.spec.whatwg.org/#decompressionstream [Exposed=*] interface DecompressionStream { diff --git a/Libraries/LibWeb/ContentSecurityPolicy/SecurityPolicyViolationEvent.idl b/Libraries/LibWeb/ContentSecurityPolicy/SecurityPolicyViolationEvent.idl index c73dc935993..b36d533341d 100644 --- a/Libraries/LibWeb/ContentSecurityPolicy/SecurityPolicyViolationEvent.idl +++ b/Libraries/LibWeb/ContentSecurityPolicy/SecurityPolicyViolationEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/webappsec-csp/#enumdef-securitypolicyviolationeventdisposition enum SecurityPolicyViolationEventDisposition { "enforce", diff --git a/Libraries/LibWeb/CookieStore/CookieChangeEvent.idl b/Libraries/LibWeb/CookieStore/CookieChangeEvent.idl index c5129e69a21..9680fbbec4d 100644 --- a/Libraries/LibWeb/CookieStore/CookieChangeEvent.idl +++ b/Libraries/LibWeb/CookieStore/CookieChangeEvent.idl @@ -1,6 +1,3 @@ -#import -#import - dictionary CookieChangeEventInit : EventInit { CookieList changed; CookieList deleted; diff --git a/Libraries/LibWeb/CookieStore/CookieStore.idl b/Libraries/LibWeb/CookieStore/CookieStore.idl index 396d05f22ec..33ea854bc52 100644 --- a/Libraries/LibWeb/CookieStore/CookieStore.idl +++ b/Libraries/LibWeb/CookieStore/CookieStore.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - [GenerateToValue] dictionary CookieListItem { USVString name; diff --git a/Libraries/LibWeb/CredentialManagement/CredentialsContainer.idl b/Libraries/LibWeb/CredentialManagement/CredentialsContainer.idl index 26382ac0444..0b72be3b2cb 100644 --- a/Libraries/LibWeb/CredentialManagement/CredentialsContainer.idl +++ b/Libraries/LibWeb/CredentialManagement/CredentialsContainer.idl @@ -1,7 +1,3 @@ -#import -#import -#import - [Exposed=Window, SecureContext] interface CredentialsContainer { Promise get(optional CredentialRequestOptions options = {}); diff --git a/Libraries/LibWeb/CredentialManagement/FederatedCredential.idl b/Libraries/LibWeb/CredentialManagement/FederatedCredential.idl index 6dcea8ef6a3..1c800863557 100644 --- a/Libraries/LibWeb/CredentialManagement/FederatedCredential.idl +++ b/Libraries/LibWeb/CredentialManagement/FederatedCredential.idl @@ -1,5 +1,3 @@ -#import - [Exposed=Window, SecureContext] interface FederatedCredential : Credential { constructor(FederatedCredentialInit data); diff --git a/Libraries/LibWeb/CredentialManagement/PasswordCredential.idl b/Libraries/LibWeb/CredentialManagement/PasswordCredential.idl index 9d43080d7f5..8d8dfefbb94 100644 --- a/Libraries/LibWeb/CredentialManagement/PasswordCredential.idl +++ b/Libraries/LibWeb/CredentialManagement/PasswordCredential.idl @@ -1,5 +1,3 @@ -#import - [Exposed=Window, SecureContext] interface PasswordCredential : Credential { constructor(HTMLFormElement form); diff --git a/Libraries/LibWeb/Crypto/Crypto.idl b/Libraries/LibWeb/Crypto/Crypto.idl index 4553a22ddf7..64edcce3f35 100644 --- a/Libraries/LibWeb/Crypto/Crypto.idl +++ b/Libraries/LibWeb/Crypto/Crypto.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/webcrypto/#crypto-interface [Exposed=(Window,Worker)] interface Crypto { diff --git a/Libraries/LibWeb/Crypto/SubtleCrypto.idl b/Libraries/LibWeb/Crypto/SubtleCrypto.idl index 587950c9f7a..7ca9e3934b2 100644 --- a/Libraries/LibWeb/Crypto/SubtleCrypto.idl +++ b/Libraries/LibWeb/Crypto/SubtleCrypto.idl @@ -1,5 +1,3 @@ -#import - typedef (object or DOMString) AlgorithmIdentifier; dictionary Algorithm { diff --git a/Libraries/LibWeb/DOM/AbortController.idl b/Libraries/LibWeb/DOM/AbortController.idl index 37e90093971..f6a74d42368 100644 --- a/Libraries/LibWeb/DOM/AbortController.idl +++ b/Libraries/LibWeb/DOM/AbortController.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-abortcontroller [Exposed=*] interface AbortController { diff --git a/Libraries/LibWeb/DOM/AbortSignal.idl b/Libraries/LibWeb/DOM/AbortSignal.idl index 72447744420..bd4dca68526 100644 --- a/Libraries/LibWeb/DOM/AbortSignal.idl +++ b/Libraries/LibWeb/DOM/AbortSignal.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-AbortSignal [Exposed=*] interface AbortSignal : EventTarget { diff --git a/Libraries/LibWeb/DOM/AbstractRange.idl b/Libraries/LibWeb/DOM/AbstractRange.idl index 677da4a7fe2..cf9cde311ab 100644 --- a/Libraries/LibWeb/DOM/AbstractRange.idl +++ b/Libraries/LibWeb/DOM/AbstractRange.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-abstractrange [Exposed=Window] interface AbstractRange { diff --git a/Libraries/LibWeb/DOM/Attr.idl b/Libraries/LibWeb/DOM/Attr.idl index c72ae6c8672..1488fa376ff 100644 --- a/Libraries/LibWeb/DOM/Attr.idl +++ b/Libraries/LibWeb/DOM/Attr.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-attr [Exposed=Window] interface Attr : Node { diff --git a/Libraries/LibWeb/DOM/CDATASection.idl b/Libraries/LibWeb/DOM/CDATASection.idl index e4f307f1614..e3e8019895f 100644 --- a/Libraries/LibWeb/DOM/CDATASection.idl +++ b/Libraries/LibWeb/DOM/CDATASection.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-cdatasection [Exposed=Window] interface CDATASection : Text { diff --git a/Libraries/LibWeb/DOM/CharacterData.idl b/Libraries/LibWeb/DOM/CharacterData.idl index dd4a8198bfb..f7b1375cb7c 100644 --- a/Libraries/LibWeb/DOM/CharacterData.idl +++ b/Libraries/LibWeb/DOM/CharacterData.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://dom.spec.whatwg.org/#characterdata [Exposed=Window] interface CharacterData : Node { diff --git a/Libraries/LibWeb/DOM/Comment.idl b/Libraries/LibWeb/DOM/Comment.idl index 49cfcc1cb6a..be10c51a25f 100644 --- a/Libraries/LibWeb/DOM/Comment.idl +++ b/Libraries/LibWeb/DOM/Comment.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#comment [Exposed=Window] interface Comment : CharacterData { diff --git a/Libraries/LibWeb/DOM/CustomEvent.idl b/Libraries/LibWeb/DOM/CustomEvent.idl index fbc2a61ecbf..7e2e5460449 100644 --- a/Libraries/LibWeb/DOM/CustomEvent.idl +++ b/Libraries/LibWeb/DOM/CustomEvent.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-customevent [Exposed=*] interface CustomEvent : Event { diff --git a/Libraries/LibWeb/DOM/DOMImplementation.idl b/Libraries/LibWeb/DOM/DOMImplementation.idl index 92770329cbf..1ddc0983e17 100644 --- a/Libraries/LibWeb/DOM/DOMImplementation.idl +++ b/Libraries/LibWeb/DOM/DOMImplementation.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#domimplementation [Exposed=Window] interface DOMImplementation { diff --git a/Libraries/LibWeb/DOM/Document.idl b/Libraries/LibWeb/DOM/Document.idl index 372e6488f3a..7bca1208cd3 100644 --- a/Libraries/LibWeb/DOM/Document.idl +++ b/Libraries/LibWeb/DOM/Document.idl @@ -1,39 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://dom.spec.whatwg.org/#document // https://html.spec.whatwg.org/multipage/dom.html#the-document-object [Exposed=Window, LegacyOverrideBuiltins] diff --git a/Libraries/LibWeb/DOM/DocumentFragment.idl b/Libraries/LibWeb/DOM/DocumentFragment.idl index 9836cd476cd..94f32a1e1bf 100644 --- a/Libraries/LibWeb/DOM/DocumentFragment.idl +++ b/Libraries/LibWeb/DOM/DocumentFragment.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://dom.spec.whatwg.org/#documentfragment [Exposed=Window] interface DocumentFragment : Node { diff --git a/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl b/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl index dcb48a538e8..2eadaf00292 100644 --- a/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl +++ b/Libraries/LibWeb/DOM/DocumentOrShadowRoot.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#documentorshadowroot interface mixin DocumentOrShadowRoot { readonly attribute CustomElementRegistry? customElementRegistry; diff --git a/Libraries/LibWeb/DOM/DocumentType.idl b/Libraries/LibWeb/DOM/DocumentType.idl index 2c389387d2e..6285120053f 100644 --- a/Libraries/LibWeb/DOM/DocumentType.idl +++ b/Libraries/LibWeb/DOM/DocumentType.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#documenttype [Exposed=Window] interface DocumentType : Node { diff --git a/Libraries/LibWeb/DOM/Element.idl b/Libraries/LibWeb/DOM/Element.idl index a271ede830b..e449bcb4469 100644 --- a/Libraries/LibWeb/DOM/Element.idl +++ b/Libraries/LibWeb/DOM/Element.idl @@ -1,23 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - enum ScrollLogicalPosition { "start", "center", "end", "nearest" }; // https://drafts.csswg.org/cssom-view-1/#dictdef-scrollintoviewoptions dictionary ScrollIntoViewOptions : ScrollOptions { diff --git a/Libraries/LibWeb/DOM/Event.idl b/Libraries/LibWeb/DOM/Event.idl index ebf666c1496..f4b2f663331 100644 --- a/Libraries/LibWeb/DOM/Event.idl +++ b/Libraries/LibWeb/DOM/Event.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#event [Exposed=*] interface Event { diff --git a/Libraries/LibWeb/DOM/EventHandler.idl b/Libraries/LibWeb/DOM/EventHandler.idl index cfd1e015535..2fc181caa9d 100644 --- a/Libraries/LibWeb/DOM/EventHandler.idl +++ b/Libraries/LibWeb/DOM/EventHandler.idl @@ -1,7 +1,3 @@ -#import -#import -#import - [LegacyTreatNonObjectAsNull] callback EventHandlerNonNull = any (Event event); typedef EventHandlerNonNull? EventHandler; diff --git a/Libraries/LibWeb/DOM/EventListener.idl b/Libraries/LibWeb/DOM/EventListener.idl index 9e790f0d44b..2e7d294b4fb 100644 --- a/Libraries/LibWeb/DOM/EventListener.idl +++ b/Libraries/LibWeb/DOM/EventListener.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#callbackdef-eventlistener [Exposed=*, ImplementedAs=IDLEventListener] callback interface EventListener { diff --git a/Libraries/LibWeb/DOM/EventTarget.idl b/Libraries/LibWeb/DOM/EventTarget.idl index f0499bd2508..dc4ee9adfe4 100644 --- a/Libraries/LibWeb/DOM/EventTarget.idl +++ b/Libraries/LibWeb/DOM/EventTarget.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#eventtarget [Exposed=*] interface EventTarget { diff --git a/Libraries/LibWeb/DOM/HTMLCollection.idl b/Libraries/LibWeb/DOM/HTMLCollection.idl index cf09b0de3d3..e4e7105e15c 100644 --- a/Libraries/LibWeb/DOM/HTMLCollection.idl +++ b/Libraries/LibWeb/DOM/HTMLCollection.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-htmlcollection [Exposed=Window, LegacyUnenumerableNamedProperties] interface HTMLCollection { diff --git a/Libraries/LibWeb/DOM/MutationObserver.idl b/Libraries/LibWeb/DOM/MutationObserver.idl index 7776b4ee641..82813b6fd4c 100644 --- a/Libraries/LibWeb/DOM/MutationObserver.idl +++ b/Libraries/LibWeb/DOM/MutationObserver.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-mutationobserver [Exposed=Window] interface MutationObserver { diff --git a/Libraries/LibWeb/DOM/MutationRecord.idl b/Libraries/LibWeb/DOM/MutationRecord.idl index 3462e5bd1e1..ed9e5cf9f99 100644 --- a/Libraries/LibWeb/DOM/MutationRecord.idl +++ b/Libraries/LibWeb/DOM/MutationRecord.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-mutationrecord [Exposed=Window] interface MutationRecord { diff --git a/Libraries/LibWeb/DOM/NamedNodeMap.idl b/Libraries/LibWeb/DOM/NamedNodeMap.idl index 51f185d81a3..273619a1071 100644 --- a/Libraries/LibWeb/DOM/NamedNodeMap.idl +++ b/Libraries/LibWeb/DOM/NamedNodeMap.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-namednodemap [Exposed=Window, LegacyUnenumerableNamedProperties] interface NamedNodeMap { diff --git a/Libraries/LibWeb/DOM/Node.idl b/Libraries/LibWeb/DOM/Node.idl index 9e86e8fe89b..7a3e8ee2a56 100644 --- a/Libraries/LibWeb/DOM/Node.idl +++ b/Libraries/LibWeb/DOM/Node.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://dom.spec.whatwg.org/#node [Exposed=Window] interface Node : EventTarget { diff --git a/Libraries/LibWeb/DOM/NodeFilter.idl b/Libraries/LibWeb/DOM/NodeFilter.idl index 98f6b8d4875..ef10e012ad4 100644 --- a/Libraries/LibWeb/DOM/NodeFilter.idl +++ b/Libraries/LibWeb/DOM/NodeFilter.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#callbackdef-nodefilter [Exposed=Window] callback interface NodeFilter { diff --git a/Libraries/LibWeb/DOM/NodeIterator.idl b/Libraries/LibWeb/DOM/NodeIterator.idl index ad40ee675ec..15abc3d9ee7 100644 --- a/Libraries/LibWeb/DOM/NodeIterator.idl +++ b/Libraries/LibWeb/DOM/NodeIterator.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-nodeiterator [Exposed=Window] interface NodeIterator { diff --git a/Libraries/LibWeb/DOM/NodeList.idl b/Libraries/LibWeb/DOM/NodeList.idl index bf09e70046a..85be3839aba 100644 --- a/Libraries/LibWeb/DOM/NodeList.idl +++ b/Libraries/LibWeb/DOM/NodeList.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-nodelist [Exposed=Window] interface NodeList { diff --git a/Libraries/LibWeb/DOM/ParentNode.idl b/Libraries/LibWeb/DOM/ParentNode.idl index e2915cf1c8e..061638aeed7 100644 --- a/Libraries/LibWeb/DOM/ParentNode.idl +++ b/Libraries/LibWeb/DOM/ParentNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#parentnode interface mixin ParentNode { [SameObject] readonly attribute HTMLCollection children; diff --git a/Libraries/LibWeb/DOM/ProcessingInstruction.idl b/Libraries/LibWeb/DOM/ProcessingInstruction.idl index eaa4160b55e..5e49d475b8c 100644 --- a/Libraries/LibWeb/DOM/ProcessingInstruction.idl +++ b/Libraries/LibWeb/DOM/ProcessingInstruction.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#processinginstruction [Exposed=Window] interface ProcessingInstruction : CharacterData { diff --git a/Libraries/LibWeb/DOM/Range.idl b/Libraries/LibWeb/DOM/Range.idl index d8d69ff3259..eb2718555f6 100644 --- a/Libraries/LibWeb/DOM/Range.idl +++ b/Libraries/LibWeb/DOM/Range.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://dom.spec.whatwg.org/#interface-range [Exposed=Window] interface Range : AbstractRange { diff --git a/Libraries/LibWeb/DOM/ShadowRoot.idl b/Libraries/LibWeb/DOM/ShadowRoot.idl index 3327357cbf7..292de7f6fd1 100644 --- a/Libraries/LibWeb/DOM/ShadowRoot.idl +++ b/Libraries/LibWeb/DOM/ShadowRoot.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://dom.spec.whatwg.org/#shadowroot [Exposed=Window] interface ShadowRoot : DocumentFragment { diff --git a/Libraries/LibWeb/DOM/StaticRange.idl b/Libraries/LibWeb/DOM/StaticRange.idl index acc964ddf63..06917ca0e90 100644 --- a/Libraries/LibWeb/DOM/StaticRange.idl +++ b/Libraries/LibWeb/DOM/StaticRange.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#dictdef-staticrangeinit dictionary StaticRangeInit { required Node startContainer; diff --git a/Libraries/LibWeb/DOM/Text.idl b/Libraries/LibWeb/DOM/Text.idl index 02bd894f5c9..f3c64b36c41 100644 --- a/Libraries/LibWeb/DOM/Text.idl +++ b/Libraries/LibWeb/DOM/Text.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://dom.spec.whatwg.org/#text [Exposed=Window] interface Text : CharacterData { diff --git a/Libraries/LibWeb/DOM/TreeWalker.idl b/Libraries/LibWeb/DOM/TreeWalker.idl index 991b52a2d2a..a9adc1460f4 100644 --- a/Libraries/LibWeb/DOM/TreeWalker.idl +++ b/Libraries/LibWeb/DOM/TreeWalker.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#interface-treewalker [Exposed=Window] interface TreeWalker { diff --git a/Libraries/LibWeb/DOM/XMLDocument.idl b/Libraries/LibWeb/DOM/XMLDocument.idl index 63cf4fbbf04..8ee4b8a114c 100644 --- a/Libraries/LibWeb/DOM/XMLDocument.idl +++ b/Libraries/LibWeb/DOM/XMLDocument.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#xmldocument [Exposed=Window] interface XMLDocument : Document {}; diff --git a/Libraries/LibWeb/DOMURL/DOMURL.idl b/Libraries/LibWeb/DOMURL/DOMURL.idl index 50318ca78c7..df5ac24aed0 100644 --- a/Libraries/LibWeb/DOMURL/DOMURL.idl +++ b/Libraries/LibWeb/DOMURL/DOMURL.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://url.spec.whatwg.org/#url [Exposed=*, LegacyWindowAlias=webkitURL, ImplementedAs=DOMURL] interface URL { diff --git a/Libraries/LibWeb/Encoding/TextEncoder.idl b/Libraries/LibWeb/Encoding/TextEncoder.idl index f346601c951..60e9cb23a86 100644 --- a/Libraries/LibWeb/Encoding/TextEncoder.idl +++ b/Libraries/LibWeb/Encoding/TextEncoder.idl @@ -1,5 +1,3 @@ -#import - // https://encoding.spec.whatwg.org/#dictdef-textencoderencodeintoresult dictionary TextEncoderEncodeIntoResult { [GenerateAsRequired] unsigned long long read; diff --git a/Libraries/LibWeb/Encoding/TextEncoderStream.idl b/Libraries/LibWeb/Encoding/TextEncoderStream.idl index 160d21a2419..153e9b138e3 100644 --- a/Libraries/LibWeb/Encoding/TextEncoderStream.idl +++ b/Libraries/LibWeb/Encoding/TextEncoderStream.idl @@ -1,6 +1,3 @@ -#import -#import - // https://encoding.spec.whatwg.org/#textencoderstream [Exposed=*] interface TextEncoderStream { diff --git a/Libraries/LibWeb/EventTiming/PerformanceEventTiming.idl b/Libraries/LibWeb/EventTiming/PerformanceEventTiming.idl index 19c8c245782..e3c74092a64 100644 --- a/Libraries/LibWeb/EventTiming/PerformanceEventTiming.idl +++ b/Libraries/LibWeb/EventTiming/PerformanceEventTiming.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/event-timing/#sec-performance-event-timing [Exposed=Window] interface PerformanceEventTiming : PerformanceEntry { diff --git a/Libraries/LibWeb/Fetch/Body.idl b/Libraries/LibWeb/Fetch/Body.idl index b22da8e6e74..8bcc9798bb8 100644 --- a/Libraries/LibWeb/Fetch/Body.idl +++ b/Libraries/LibWeb/Fetch/Body.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://fetch.spec.whatwg.org/#body interface mixin Body { readonly attribute ReadableStream? body; diff --git a/Libraries/LibWeb/Fetch/BodyInit.idl b/Libraries/LibWeb/Fetch/BodyInit.idl index f4e76b3ce9a..b0c9535628b 100644 --- a/Libraries/LibWeb/Fetch/BodyInit.idl +++ b/Libraries/LibWeb/Fetch/BodyInit.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit; diff --git a/Libraries/LibWeb/Fetch/Request.idl b/Libraries/LibWeb/Fetch/Request.idl index e04eac710fe..144d1c790db 100644 --- a/Libraries/LibWeb/Fetch/Request.idl +++ b/Libraries/LibWeb/Fetch/Request.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - typedef (Request or USVString) RequestInfo; // https://fetch.spec.whatwg.org/#request diff --git a/Libraries/LibWeb/Fetch/Response.idl b/Libraries/LibWeb/Fetch/Response.idl index 9deda44a8d0..e84f947507a 100644 --- a/Libraries/LibWeb/Fetch/Response.idl +++ b/Libraries/LibWeb/Fetch/Response.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://fetch.spec.whatwg.org/#response-class [Exposed=(Window,Worker)] interface Response { diff --git a/Libraries/LibWeb/FileAPI/Blob.idl b/Libraries/LibWeb/FileAPI/Blob.idl index e9d378a6106..2f6388266d4 100644 --- a/Libraries/LibWeb/FileAPI/Blob.idl +++ b/Libraries/LibWeb/FileAPI/Blob.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/FileAPI/#blob-section [Exposed=(Window,Worker), Serializable] interface Blob { diff --git a/Libraries/LibWeb/FileAPI/File.idl b/Libraries/LibWeb/FileAPI/File.idl index 067771eb799..d60d2f786c7 100644 --- a/Libraries/LibWeb/FileAPI/File.idl +++ b/Libraries/LibWeb/FileAPI/File.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/FileAPI/#file-section [Exposed=(Window,Worker), Serializable] interface File : Blob { diff --git a/Libraries/LibWeb/FileAPI/FileList.idl b/Libraries/LibWeb/FileAPI/FileList.idl index b206c4af028..71ec4052e04 100644 --- a/Libraries/LibWeb/FileAPI/FileList.idl +++ b/Libraries/LibWeb/FileAPI/FileList.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/FileAPI/#filelist-section [Exposed=(Window,Worker), Serializable] interface FileList { diff --git a/Libraries/LibWeb/FileAPI/FileReader.idl b/Libraries/LibWeb/FileAPI/FileReader.idl index 38e25d8318c..26d7253c7c7 100644 --- a/Libraries/LibWeb/FileAPI/FileReader.idl +++ b/Libraries/LibWeb/FileAPI/FileReader.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/FileAPI/#dfn-filereader [Exposed=(Window,Worker)] interface FileReader : EventTarget { diff --git a/Libraries/LibWeb/FileAPI/FileReaderSync.idl b/Libraries/LibWeb/FileAPI/FileReaderSync.idl index 3308b9d436a..c843afb56e4 100644 --- a/Libraries/LibWeb/FileAPI/FileReaderSync.idl +++ b/Libraries/LibWeb/FileAPI/FileReaderSync.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/FileAPI/#FileReaderSync [Exposed=(DedicatedWorker,SharedWorker)] interface FileReaderSync { diff --git a/Libraries/LibWeb/Fullscreen/DocumentExtensions.idl b/Libraries/LibWeb/Fullscreen/DocumentExtensions.idl index da13c6679fd..639fc0446d3 100644 --- a/Libraries/LibWeb/Fullscreen/DocumentExtensions.idl +++ b/Libraries/LibWeb/Fullscreen/DocumentExtensions.idl @@ -1,5 +1,3 @@ -#import - // https://fullscreen.spec.whatwg.org/#ref-for-document partial interface Document { [LegacyLenientSetter] readonly attribute boolean fullscreenEnabled; diff --git a/Libraries/LibWeb/Fullscreen/DocumentOrShadowRootExtensions.idl b/Libraries/LibWeb/Fullscreen/DocumentOrShadowRootExtensions.idl index 6470762367c..43b3542702c 100644 --- a/Libraries/LibWeb/Fullscreen/DocumentOrShadowRootExtensions.idl +++ b/Libraries/LibWeb/Fullscreen/DocumentOrShadowRootExtensions.idl @@ -1,5 +1,3 @@ -#import - // https://fullscreen.spec.whatwg.org/#ref-for-documentorshadowroot partial interface mixin DocumentOrShadowRoot { [LegacyLenientSetter, ImplementedAs=fullscreen_element_for_bindings] readonly attribute Element? fullscreenElement; diff --git a/Libraries/LibWeb/Fullscreen/ElementExtensions.idl b/Libraries/LibWeb/Fullscreen/ElementExtensions.idl index 26de38913df..51f24cea254 100644 --- a/Libraries/LibWeb/Fullscreen/ElementExtensions.idl +++ b/Libraries/LibWeb/Fullscreen/ElementExtensions.idl @@ -1,5 +1,3 @@ -#import - // https://fullscreen.spec.whatwg.org/#ref-for-element partial interface Element { Promise requestFullscreen(); diff --git a/Libraries/LibWeb/Gamepad/Gamepad.idl b/Libraries/LibWeb/Gamepad/Gamepad.idl index 5073de0184a..908dd52fce6 100644 --- a/Libraries/LibWeb/Gamepad/Gamepad.idl +++ b/Libraries/LibWeb/Gamepad/Gamepad.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/gamepad/#dom-gamepadmappingtype enum GamepadMappingType { "", diff --git a/Libraries/LibWeb/Gamepad/GamepadEvent.idl b/Libraries/LibWeb/Gamepad/GamepadEvent.idl index 888e30a5625..6b5a1f77058 100644 --- a/Libraries/LibWeb/Gamepad/GamepadEvent.idl +++ b/Libraries/LibWeb/Gamepad/GamepadEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/gamepad/#dom-gamepadevent [Exposed=Window] interface GamepadEvent : Event { diff --git a/Libraries/LibWeb/Geolocation/GeolocationPosition.idl b/Libraries/LibWeb/Geolocation/GeolocationPosition.idl index 18352efeb32..aaf5797dfeb 100644 --- a/Libraries/LibWeb/Geolocation/GeolocationPosition.idl +++ b/Libraries/LibWeb/Geolocation/GeolocationPosition.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/geolocation/#position_interface [Exposed=Window, SecureContext] interface GeolocationPosition { diff --git a/Libraries/LibWeb/Geometry/DOMMatrix.idl b/Libraries/LibWeb/Geometry/DOMMatrix.idl index 6bd54fa7f9e..91920451bc9 100644 --- a/Libraries/LibWeb/Geometry/DOMMatrix.idl +++ b/Libraries/LibWeb/Geometry/DOMMatrix.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/geometry/#dommatrix [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=(SVGMatrix, WebKitCSSMatrix)] interface DOMMatrix : DOMMatrixReadOnly { diff --git a/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.idl b/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.idl index 9197c46b858..80b6f92e284 100644 --- a/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.idl +++ b/Libraries/LibWeb/Geometry/DOMMatrixReadOnly.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.fxtf.org/geometry/#dommatrixreadonly [Exposed=(Window,Worker), Serializable] interface DOMMatrixReadOnly { diff --git a/Libraries/LibWeb/Geometry/DOMPoint.idl b/Libraries/LibWeb/Geometry/DOMPoint.idl index 47b9857144a..c7e6fab2c71 100644 --- a/Libraries/LibWeb/Geometry/DOMPoint.idl +++ b/Libraries/LibWeb/Geometry/DOMPoint.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/geometry/#dompoint [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGPoint] interface DOMPoint : DOMPointReadOnly { diff --git a/Libraries/LibWeb/Geometry/DOMPointReadOnly.idl b/Libraries/LibWeb/Geometry/DOMPointReadOnly.idl index 8b61b67561e..81c70a632bf 100644 --- a/Libraries/LibWeb/Geometry/DOMPointReadOnly.idl +++ b/Libraries/LibWeb/Geometry/DOMPointReadOnly.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.fxtf.org/geometry/#dompointreadonly [Exposed=(Window,Worker), Serializable] interface DOMPointReadOnly { diff --git a/Libraries/LibWeb/Geometry/DOMQuad.idl b/Libraries/LibWeb/Geometry/DOMQuad.idl index aced4b27d73..03bff8f59ca 100644 --- a/Libraries/LibWeb/Geometry/DOMQuad.idl +++ b/Libraries/LibWeb/Geometry/DOMQuad.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.fxtf.org/geometry/#domquad [Exposed=(Window,Worker), Serializable] interface DOMQuad { diff --git a/Libraries/LibWeb/Geometry/DOMRect.idl b/Libraries/LibWeb/Geometry/DOMRect.idl index f63ee882bd7..a0f9bde63b3 100644 --- a/Libraries/LibWeb/Geometry/DOMRect.idl +++ b/Libraries/LibWeb/Geometry/DOMRect.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/geometry/#dompoint [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGRect] interface DOMRect : DOMRectReadOnly { diff --git a/Libraries/LibWeb/Geometry/DOMRectList.idl b/Libraries/LibWeb/Geometry/DOMRectList.idl index f308caf2989..04d3e46415f 100644 --- a/Libraries/LibWeb/Geometry/DOMRectList.idl +++ b/Libraries/LibWeb/Geometry/DOMRectList.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/geometry/#domrectlist [Exposed=Window] interface DOMRectList { diff --git a/Libraries/LibWeb/HTML/AnimationFrameProvider.idl b/Libraries/LibWeb/HTML/AnimationFrameProvider.idl index c34ab2974fc..2da87860bf8 100644 --- a/Libraries/LibWeb/HTML/AnimationFrameProvider.idl +++ b/Libraries/LibWeb/HTML/AnimationFrameProvider.idl @@ -1,5 +1,3 @@ -#import - callback FrameRequestCallback = undefined (DOMHighResTimeStamp time); // https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#animationframeprovider diff --git a/Libraries/LibWeb/HTML/AudioTrackList.idl b/Libraries/LibWeb/HTML/AudioTrackList.idl index 633f1a2586d..af9be89b6b7 100644 --- a/Libraries/LibWeb/HTML/AudioTrackList.idl +++ b/Libraries/LibWeb/HTML/AudioTrackList.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/media.html#audiotracklist [Exposed=Window] interface AudioTrackList : EventTarget { diff --git a/Libraries/LibWeb/HTML/BarProp.idl b/Libraries/LibWeb/HTML/BarProp.idl index 2143bae3091..d349cdd8af5 100644 --- a/Libraries/LibWeb/HTML/BarProp.idl +++ b/Libraries/LibWeb/HTML/BarProp.idl @@ -1,4 +1,3 @@ - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#barprop [Exposed=Window] interface BarProp { diff --git a/Libraries/LibWeb/HTML/BeforeUnloadEvent.idl b/Libraries/LibWeb/HTML/BeforeUnloadEvent.idl index a7ce14c0836..45fc925d194 100644 --- a/Libraries/LibWeb/HTML/BeforeUnloadEvent.idl +++ b/Libraries/LibWeb/HTML/BeforeUnloadEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-beforeunloadevent-interface [Exposed=Window] interface BeforeUnloadEvent : Event { diff --git a/Libraries/LibWeb/HTML/BroadcastChannel.idl b/Libraries/LibWeb/HTML/BroadcastChannel.idl index 04fec6196cf..0af5e923ed1 100644 --- a/Libraries/LibWeb/HTML/BroadcastChannel.idl +++ b/Libraries/LibWeb/HTML/BroadcastChannel.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/web-messaging.html#broadcastchannel [Exposed=(Window,Worker)] interface BroadcastChannel : EventTarget { diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasDrawImage.idl b/Libraries/LibWeb/HTML/Canvas/CanvasDrawImage.idl index a475376fe33..e986fdc12a0 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasDrawImage.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasDrawImage.idl @@ -1,10 +1,3 @@ -#import -#import -#import -#import -#import -#import - typedef (HTMLImageElement or SVGImageElement or // FIXME: We should use HTMLOrSVGImageElement instead of HTMLImageElement diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasDrawPath.idl b/Libraries/LibWeb/HTML/Canvas/CanvasDrawPath.idl index d893f86fadb..7d146a24f70 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasDrawPath.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasDrawPath.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvasfillrule enum CanvasFillRule { "nonzero", "evenodd" }; diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasFillStrokeStyles.idl b/Libraries/LibWeb/HTML/Canvas/CanvasFillStrokeStyles.idl index 9b78a2a6e5a..9a068b95cd2 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasFillStrokeStyles.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasFillStrokeStyles.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvasfillstrokestyles interface mixin CanvasFillStrokeStyles { attribute (DOMString or CanvasGradient or CanvasPattern) strokeStyle; diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasImageData.idl b/Libraries/LibWeb/HTML/Canvas/CanvasImageData.idl index 3bb3dae1213..b36409c8213 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasImageData.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasImageData.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvasimagedata interface mixin CanvasImageData { ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {}); diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl b/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl index 05fd960b6da..77d752efcb0 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasImageSmoothing.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvasimagesmoothing interface mixin CanvasImageSmoothing { // image smoothing diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasPath.idl b/Libraries/LibWeb/HTML/Canvas/CanvasPath.idl index 99aeea4210b..f536f3621f4 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasPath.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasPath.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvaspath interface mixin CanvasPath { undefined closePath(); diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasText.idl b/Libraries/LibWeb/HTML/Canvas/CanvasText.idl index 47da9174107..8c0e3433162 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasText.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasText.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvastext interface mixin CanvasText { undefined fillText(Utf16DOMString text, unrestricted double x, unrestricted double y, optional unrestricted double maxWidth); diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl b/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl index b7f7ba9b91d..49987a8385a 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvastextalign // enum CanvasTextAlign { "start", "end", "left", "right", "center" }; // enum CanvasTextBaseline { "top", "hanging", "middle", "alphabetic", "ideographic", "bottom" }; diff --git a/Libraries/LibWeb/HTML/Canvas/CanvasTransform.idl b/Libraries/LibWeb/HTML/Canvas/CanvasTransform.idl index 842baae0a2c..b54403f56e6 100644 --- a/Libraries/LibWeb/HTML/Canvas/CanvasTransform.idl +++ b/Libraries/LibWeb/HTML/Canvas/CanvasTransform.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvastransform interface mixin CanvasTransform { undefined scale(unrestricted double x, unrestricted double y); diff --git a/Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl b/Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl index ebee2008cd2..9bface2cac3 100644 --- a/Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl +++ b/Libraries/LibWeb/HTML/Canvas/OffscreenCanvasBase.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#offscreenrenderingcontext typedef (OffscreenCanvasRenderingContext2D or WebGLRenderingContext or diff --git a/Libraries/LibWeb/HTML/CanvasPattern.idl b/Libraries/LibWeb/HTML/CanvasPattern.idl index 5c170e725d9..8bfec9dc0a3 100644 --- a/Libraries/LibWeb/HTML/CanvasPattern.idl +++ b/Libraries/LibWeb/HTML/CanvasPattern.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvaspattern [Exposed=(Window,Worker)] interface CanvasPattern { diff --git a/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl b/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl index 0fb63a28370..9eeeab7b33b 100644 --- a/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl +++ b/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl @@ -1,22 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/canvas.html#canvascolortype enum CanvasColorType { "unorm8", "float16" }; diff --git a/Libraries/LibWeb/HTML/CloseEvent.idl b/Libraries/LibWeb/HTML/CloseEvent.idl index c865aded227..629ed1a97b4 100644 --- a/Libraries/LibWeb/HTML/CloseEvent.idl +++ b/Libraries/LibWeb/HTML/CloseEvent.idl @@ -1,5 +1,3 @@ -#import - // https://websockets.spec.whatwg.org/#the-closeevent-interface [Exposed=*] interface CloseEvent : Event { diff --git a/Libraries/LibWeb/HTML/CloseWatcher.idl b/Libraries/LibWeb/HTML/CloseWatcher.idl index b95d0763747..f1c6cc8d843 100644 --- a/Libraries/LibWeb/HTML/CloseWatcher.idl +++ b/Libraries/LibWeb/HTML/CloseWatcher.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/interaction.html#closewatcher [Exposed=Window] interface CloseWatcher : EventTarget { diff --git a/Libraries/LibWeb/HTML/CommandEvent.idl b/Libraries/LibWeb/HTML/CommandEvent.idl index 60424ba2016..86320038180 100644 --- a/Libraries/LibWeb/HTML/CommandEvent.idl +++ b/Libraries/LibWeb/HTML/CommandEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/interaction.html#commandevent [Exposed=Window] interface CommandEvent : Event { diff --git a/Libraries/LibWeb/HTML/CustomElements/CustomElementRegistry.idl b/Libraries/LibWeb/HTML/CustomElements/CustomElementRegistry.idl index 561e53401c3..94de671e659 100644 --- a/Libraries/LibWeb/HTML/CustomElements/CustomElementRegistry.idl +++ b/Libraries/LibWeb/HTML/CustomElements/CustomElementRegistry.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry [Exposed=Window] interface CustomElementRegistry { diff --git a/Libraries/LibWeb/HTML/DOMParser.idl b/Libraries/LibWeb/HTML/DOMParser.idl index 3375162ac42..74d7fa6dc52 100644 --- a/Libraries/LibWeb/HTML/DOMParser.idl +++ b/Libraries/LibWeb/HTML/DOMParser.idl @@ -1,6 +1,3 @@ -#import -#import - enum DOMParserSupportedType { "text/html", "text/xml", diff --git a/Libraries/LibWeb/HTML/DataTransfer.idl b/Libraries/LibWeb/HTML/DataTransfer.idl index 25e056364b1..b8de76b57c2 100644 --- a/Libraries/LibWeb/HTML/DataTransfer.idl +++ b/Libraries/LibWeb/HTML/DataTransfer.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/dnd.html#datatransfer [Exposed=Window] interface DataTransfer { diff --git a/Libraries/LibWeb/HTML/DataTransferItem.idl b/Libraries/LibWeb/HTML/DataTransferItem.idl index 8a8031d6a61..87e4cadf117 100644 --- a/Libraries/LibWeb/HTML/DataTransferItem.idl +++ b/Libraries/LibWeb/HTML/DataTransferItem.idl @@ -1,6 +1,3 @@ -#import -#import - callback FunctionStringCallback = undefined (DOMString data); // https://html.spec.whatwg.org/multipage/dnd.html#datatransferitem diff --git a/Libraries/LibWeb/HTML/DataTransferItemList.idl b/Libraries/LibWeb/HTML/DataTransferItemList.idl index 94811638a5d..b1b0343aa68 100644 --- a/Libraries/LibWeb/HTML/DataTransferItemList.idl +++ b/Libraries/LibWeb/HTML/DataTransferItemList.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/dnd.html#datatransferitemlist [Exposed=Window] interface DataTransferItemList { diff --git a/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.idl b/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.idl index 0f0aa79ed50..37bd4e5a447 100644 --- a/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.idl +++ b/Libraries/LibWeb/HTML/DedicatedWorkerGlobalScope.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/workers.html#dedicatedworkerglobalscope [Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker] interface DedicatedWorkerGlobalScope : WorkerGlobalScope { diff --git a/Libraries/LibWeb/HTML/DragEvent.idl b/Libraries/LibWeb/HTML/DragEvent.idl index cb442d53cfa..003f360b6d8 100644 --- a/Libraries/LibWeb/HTML/DragEvent.idl +++ b/Libraries/LibWeb/HTML/DragEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/dnd.html#the-dragevent-interface [Exposed=Window] interface DragEvent : MouseEvent { diff --git a/Libraries/LibWeb/HTML/ElementInternals.idl b/Libraries/LibWeb/HTML/ElementInternals.idl index be95b5ebd80..0f4cafad5ff 100644 --- a/Libraries/LibWeb/HTML/ElementInternals.idl +++ b/Libraries/LibWeb/HTML/ElementInternals.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/custom-elements.html#elementinternals [Exposed=Window] interface ElementInternals { diff --git a/Libraries/LibWeb/HTML/ErrorEvent.idl b/Libraries/LibWeb/HTML/ErrorEvent.idl index 9eba69b5673..05a5d1aa709 100644 --- a/Libraries/LibWeb/HTML/ErrorEvent.idl +++ b/Libraries/LibWeb/HTML/ErrorEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/webappapis.html#errorevent [Exposed=(Window,Worker)] interface ErrorEvent : Event { diff --git a/Libraries/LibWeb/HTML/EventSource.idl b/Libraries/LibWeb/HTML/EventSource.idl index 5790a1faa65..6c0dd83d840 100644 --- a/Libraries/LibWeb/HTML/EventSource.idl +++ b/Libraries/LibWeb/HTML/EventSource.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/server-sent-events.html#eventsource [Exposed=(Window,Worker)] interface EventSource : EventTarget { diff --git a/Libraries/LibWeb/HTML/FormDataEvent.idl b/Libraries/LibWeb/HTML/FormDataEvent.idl index 3b198d7658a..d6d44cc1fa9 100644 --- a/Libraries/LibWeb/HTML/FormDataEvent.idl +++ b/Libraries/LibWeb/HTML/FormDataEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface [Exposed=Window] interface FormDataEvent : Event { diff --git a/Libraries/LibWeb/HTML/HTMLAllCollection.idl b/Libraries/LibWeb/HTML/HTMLAllCollection.idl index 182004290f2..935c1ba1eaf 100644 --- a/Libraries/LibWeb/HTML/HTMLAllCollection.idl +++ b/Libraries/LibWeb/HTML/HTMLAllCollection.idl @@ -1,6 +1,3 @@ -#import -#import - [Exposed=Window, LegacyUnenumerableNamedProperties] interface HTMLAllCollection { readonly attribute unsigned long length; diff --git a/Libraries/LibWeb/HTML/HTMLAnchorElement.idl b/Libraries/LibWeb/HTML/HTMLAnchorElement.idl index a967bbc562e..bfe19ac54bc 100644 --- a/Libraries/LibWeb/HTML/HTMLAnchorElement.idl +++ b/Libraries/LibWeb/HTML/HTMLAnchorElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement [Exposed=Window] interface HTMLAnchorElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLAreaElement.idl b/Libraries/LibWeb/HTML/HTMLAreaElement.idl index 3d4e4aaa610..8bc675466a4 100644 --- a/Libraries/LibWeb/HTML/HTMLAreaElement.idl +++ b/Libraries/LibWeb/HTML/HTMLAreaElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/image-maps.html#htmlareaelement [Exposed=Window] interface HTMLAreaElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLAudioElement.idl b/Libraries/LibWeb/HTML/HTMLAudioElement.idl index 130fa1bda9d..4161cc32581 100644 --- a/Libraries/LibWeb/HTML/HTMLAudioElement.idl +++ b/Libraries/LibWeb/HTML/HTMLAudioElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#htmlaudioelement [Exposed=Window, LegacyFactoryFunction=Audio(optional DOMString src)] interface HTMLAudioElement : HTMLMediaElement { diff --git a/Libraries/LibWeb/HTML/HTMLBRElement.idl b/Libraries/LibWeb/HTML/HTMLBRElement.idl index f4b1a5bee4a..1fa6ec91a73 100644 --- a/Libraries/LibWeb/HTML/HTMLBRElement.idl +++ b/Libraries/LibWeb/HTML/HTMLBRElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlbrelement [Exposed=Window] interface HTMLBRElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLBaseElement.idl b/Libraries/LibWeb/HTML/HTMLBaseElement.idl index fe823876161..9d1f9388aca 100644 --- a/Libraries/LibWeb/HTML/HTMLBaseElement.idl +++ b/Libraries/LibWeb/HTML/HTMLBaseElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlbaseelement [Exposed=Window] interface HTMLBaseElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLBodyElement.idl b/Libraries/LibWeb/HTML/HTMLBodyElement.idl index 97feaa89080..fb0adc3a752 100644 --- a/Libraries/LibWeb/HTML/HTMLBodyElement.idl +++ b/Libraries/LibWeb/HTML/HTMLBodyElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/sections.html#htmlbodyelement [Exposed=Window] interface HTMLBodyElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLButtonElement.idl b/Libraries/LibWeb/HTML/HTMLButtonElement.idl index 84d8d1d1829..afa39ed07b3 100644 --- a/Libraries/LibWeb/HTML/HTMLButtonElement.idl +++ b/Libraries/LibWeb/HTML/HTMLButtonElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - [MissingValueDefault=submit, InvalidValueDefault=submit] enum ButtonTypeState { "submit", diff --git a/Libraries/LibWeb/HTML/HTMLCanvasElement.idl b/Libraries/LibWeb/HTML/HTMLCanvasElement.idl index e77bc06c73d..270a32a3736 100644 --- a/Libraries/LibWeb/HTML/HTMLCanvasElement.idl +++ b/Libraries/LibWeb/HTML/HTMLCanvasElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - typedef (CanvasRenderingContext2D or WebGLRenderingContext or WebGL2RenderingContext) RenderingContext; // https://html.spec.whatwg.org/multipage/semantics.html#htmlcanvaselement diff --git a/Libraries/LibWeb/HTML/HTMLDListElement.idl b/Libraries/LibWeb/HTML/HTMLDListElement.idl index 3bd2f4b52f5..7da380699ed 100644 --- a/Libraries/LibWeb/HTML/HTMLDListElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDListElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldlistelement [Exposed=Window] interface HTMLDListElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDataElement.idl b/Libraries/LibWeb/HTML/HTMLDataElement.idl index 707351f8c79..af5ff89a8c8 100644 --- a/Libraries/LibWeb/HTML/HTMLDataElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDataElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldataelement [Exposed=Window] interface HTMLDataElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDataListElement.idl b/Libraries/LibWeb/HTML/HTMLDataListElement.idl index f7baf0725ba..a2eeeaeb12b 100644 --- a/Libraries/LibWeb/HTML/HTMLDataListElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDataListElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldatalistelement [Exposed=Window] interface HTMLDataListElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDetailsElement.idl b/Libraries/LibWeb/HTML/HTMLDetailsElement.idl index a6d027fe485..1338ce883f2 100644 --- a/Libraries/LibWeb/HTML/HTMLDetailsElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDetailsElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldetailselement [Exposed=Window] interface HTMLDetailsElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDialogElement.idl b/Libraries/LibWeb/HTML/HTMLDialogElement.idl index a195a6b8d39..b08cc97e8c3 100644 --- a/Libraries/LibWeb/HTML/HTMLDialogElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDialogElement.idl @@ -1,5 +1,3 @@ -#import - [MissingValueDefault=auto, InvalidValueDefault=auto] enum ClosedByAttribute { "any", diff --git a/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl b/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl index 6f789d62c34..5e327a70269 100644 --- a/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDirectoryElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldirectoryelement [Exposed=Window] interface HTMLDirectoryElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDivElement.idl b/Libraries/LibWeb/HTML/HTMLDivElement.idl index 69e56031f41..84e2165f353 100644 --- a/Libraries/LibWeb/HTML/HTMLDivElement.idl +++ b/Libraries/LibWeb/HTML/HTMLDivElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmldivelement [Exposed=Window] interface HTMLDivElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLDocument.idl b/Libraries/LibWeb/HTML/HTMLDocument.idl index 9a99f7a125d..fd215545b14 100644 --- a/Libraries/LibWeb/HTML/HTMLDocument.idl +++ b/Libraries/LibWeb/HTML/HTMLDocument.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#htmldocument [Exposed=Window] interface HTMLDocument : Document { diff --git a/Libraries/LibWeb/HTML/HTMLElement.idl b/Libraries/LibWeb/HTML/HTMLElement.idl index 4198aed073f..bd2a518e647 100644 --- a/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Libraries/LibWeb/HTML/HTMLElement.idl @@ -1,10 +1,3 @@ -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlelement [Exposed=Window] interface HTMLElement : Element { diff --git a/Libraries/LibWeb/HTML/HTMLEmbedElement.idl b/Libraries/LibWeb/HTML/HTMLEmbedElement.idl index 03531eaf32e..2b8cb10fc6a 100644 --- a/Libraries/LibWeb/HTML/HTMLEmbedElement.idl +++ b/Libraries/LibWeb/HTML/HTMLEmbedElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlembedelement [Exposed=Window] interface HTMLEmbedElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl b/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl index c60b6e06651..cfe92b1c851 100644 --- a/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl +++ b/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlfieldsetelement [Exposed=Window] interface HTMLFieldSetElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLFontElement.idl b/Libraries/LibWeb/HTML/HTMLFontElement.idl index 9121dd32b3b..10bebfdfcf5 100644 --- a/Libraries/LibWeb/HTML/HTMLFontElement.idl +++ b/Libraries/LibWeb/HTML/HTMLFontElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlfontelement [Exposed=Window] interface HTMLFontElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLFormControlsCollection.idl b/Libraries/LibWeb/HTML/HTMLFormControlsCollection.idl index f3cde859539..4f82cb44a55 100644 --- a/Libraries/LibWeb/HTML/HTMLFormControlsCollection.idl +++ b/Libraries/LibWeb/HTML/HTMLFormControlsCollection.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection [Exposed=Window] interface HTMLFormControlsCollection : HTMLCollection { diff --git a/Libraries/LibWeb/HTML/HTMLFormElement.idl b/Libraries/LibWeb/HTML/HTMLFormElement.idl index 74e2a5b8c44..d7b53988965 100644 --- a/Libraries/LibWeb/HTML/HTMLFormElement.idl +++ b/Libraries/LibWeb/HTML/HTMLFormElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/forms.html#attr-form-autocomplete [MissingValueDefault=on, InvalidValueDefault=on] enum Autocomplete { diff --git a/Libraries/LibWeb/HTML/HTMLFrameElement.idl b/Libraries/LibWeb/HTML/HTMLFrameElement.idl index 6199b144569..2f9127be161 100644 --- a/Libraries/LibWeb/HTML/HTMLFrameElement.idl +++ b/Libraries/LibWeb/HTML/HTMLFrameElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlframeelement [Exposed=Window] interface HTMLFrameElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl b/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl index 9e984482af6..0647dbe997c 100644 --- a/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl +++ b/Libraries/LibWeb/HTML/HTMLFrameSetElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlframesetelement [Exposed=Window] interface HTMLFrameSetElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLHRElement.idl b/Libraries/LibWeb/HTML/HTMLHRElement.idl index b5dda1934cd..c47f1315e0a 100644 --- a/Libraries/LibWeb/HTML/HTMLHRElement.idl +++ b/Libraries/LibWeb/HTML/HTMLHRElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlhrelement [Exposed=Window] interface HTMLHRElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLHeadElement.idl b/Libraries/LibWeb/HTML/HTMLHeadElement.idl index f937105e063..eb47cf0aa16 100644 --- a/Libraries/LibWeb/HTML/HTMLHeadElement.idl +++ b/Libraries/LibWeb/HTML/HTMLHeadElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlheadelement [Exposed=Window] interface HTMLHeadElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLHeadingElement.idl b/Libraries/LibWeb/HTML/HTMLHeadingElement.idl index 83f90e135d0..d5cc5755666 100644 --- a/Libraries/LibWeb/HTML/HTMLHeadingElement.idl +++ b/Libraries/LibWeb/HTML/HTMLHeadingElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlheadingelement [Exposed=Window] interface HTMLHeadingElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLHtmlElement.idl b/Libraries/LibWeb/HTML/HTMLHtmlElement.idl index d4dfd3b677b..8cd7c82fb12 100644 --- a/Libraries/LibWeb/HTML/HTMLHtmlElement.idl +++ b/Libraries/LibWeb/HTML/HTMLHtmlElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlhtmlelement [Exposed=Window] interface HTMLHtmlElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLIFrameElement.idl b/Libraries/LibWeb/HTML/HTMLIFrameElement.idl index 413fc615ccc..c5af69e396b 100644 --- a/Libraries/LibWeb/HTML/HTMLIFrameElement.idl +++ b/Libraries/LibWeb/HTML/HTMLIFrameElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement [Exposed=Window] interface HTMLIFrameElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLImageElement.idl b/Libraries/LibWeb/HTML/HTMLImageElement.idl index 6792b5b2ed7..21f24f6ad31 100644 --- a/Libraries/LibWeb/HTML/HTMLImageElement.idl +++ b/Libraries/LibWeb/HTML/HTMLImageElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/images.html#image-decoding-hint [MissingValueDefault=auto, InvalidValueDefault=auto] enum Decoding { diff --git a/Libraries/LibWeb/HTML/HTMLInputElement.idl b/Libraries/LibWeb/HTML/HTMLInputElement.idl index 29940bc4ae9..a9a85858ddc 100644 --- a/Libraries/LibWeb/HTML/HTMLInputElement.idl +++ b/Libraries/LibWeb/HTML/HTMLInputElement.idl @@ -1,10 +1,3 @@ -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/input.html#htmlinputelement [Exposed=Window] interface HTMLInputElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLLIElement.idl b/Libraries/LibWeb/HTML/HTMLLIElement.idl index 31412f0eab8..a328399fadd 100644 --- a/Libraries/LibWeb/HTML/HTMLLIElement.idl +++ b/Libraries/LibWeb/HTML/HTMLLIElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmllielement [Exposed=Window] interface HTMLLIElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLLabelElement.idl b/Libraries/LibWeb/HTML/HTMLLabelElement.idl index b10132fe7cc..9237335cf92 100644 --- a/Libraries/LibWeb/HTML/HTMLLabelElement.idl +++ b/Libraries/LibWeb/HTML/HTMLLabelElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/forms.html#htmllabelelement [Exposed=Window] interface HTMLLabelElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLLegendElement.idl b/Libraries/LibWeb/HTML/HTMLLegendElement.idl index aeef2c1d592..ca318258c62 100644 --- a/Libraries/LibWeb/HTML/HTMLLegendElement.idl +++ b/Libraries/LibWeb/HTML/HTMLLegendElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmllegendelement [Exposed=Window] interface HTMLLegendElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLLinkElement.idl b/Libraries/LibWeb/HTML/HTMLLinkElement.idl index 926220a0e89..ad591e0a4a2 100644 --- a/Libraries/LibWeb/HTML/HTMLLinkElement.idl +++ b/Libraries/LibWeb/HTML/HTMLLinkElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://fetch.spec.whatwg.org/#concept-potential-destination enum PotentialDestination { "", diff --git a/Libraries/LibWeb/HTML/HTMLMapElement.idl b/Libraries/LibWeb/HTML/HTMLMapElement.idl index ab8427ac129..2a6e6a90f25 100644 --- a/Libraries/LibWeb/HTML/HTMLMapElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMapElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/image-maps.html#htmlmapelement [Exposed=Window] interface HTMLMapElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl b/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl index e67a79b4cbe..048ee1b58cd 100644 --- a/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/obsolete.html#htmlmarqueeelement [Exposed=Window] interface HTMLMarqueeElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLMediaElement.idl b/Libraries/LibWeb/HTML/HTMLMediaElement.idl index bbed3cb162f..4831536de29 100644 --- a/Libraries/LibWeb/HTML/HTMLMediaElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMediaElement.idl @@ -1,13 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/media.html#attr-media-preload [MissingValueDefault=metadata, InvalidValueDefault=metadata] enum Preload { diff --git a/Libraries/LibWeb/HTML/HTMLMenuElement.idl b/Libraries/LibWeb/HTML/HTMLMenuElement.idl index 398d64a1790..4afeb9c5001 100644 --- a/Libraries/LibWeb/HTML/HTMLMenuElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMenuElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlmenuelement [Exposed=Window] interface HTMLMenuElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLMetaElement.idl b/Libraries/LibWeb/HTML/HTMLMetaElement.idl index 8d99e30bddb..cc7badc1f6d 100644 --- a/Libraries/LibWeb/HTML/HTMLMetaElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMetaElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlmetaelement [Exposed=Window] interface HTMLMetaElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLMeterElement.idl b/Libraries/LibWeb/HTML/HTMLMeterElement.idl index 0b95f310c29..701d71af7db 100644 --- a/Libraries/LibWeb/HTML/HTMLMeterElement.idl +++ b/Libraries/LibWeb/HTML/HTMLMeterElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmlmeterelement [Exposed=Window] interface HTMLMeterElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLModElement.idl b/Libraries/LibWeb/HTML/HTMLModElement.idl index 0904ee83fb9..fa12f9e63da 100644 --- a/Libraries/LibWeb/HTML/HTMLModElement.idl +++ b/Libraries/LibWeb/HTML/HTMLModElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/edits.html#htmlmodelement [Exposed=Window] interface HTMLModElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLOListElement.idl b/Libraries/LibWeb/HTML/HTMLOListElement.idl index bde11929acf..2122a7c1367 100644 --- a/Libraries/LibWeb/HTML/HTMLOListElement.idl +++ b/Libraries/LibWeb/HTML/HTMLOListElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlolistelement [Exposed=Window] interface HTMLOListElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLObjectElement.idl b/Libraries/LibWeb/HTML/HTMLObjectElement.idl index 12e48b883f1..deae74378b7 100644 --- a/Libraries/LibWeb/HTML/HTMLObjectElement.idl +++ b/Libraries/LibWeb/HTML/HTMLObjectElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmlobjectelement [Exposed=Window] interface HTMLObjectElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl b/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl index 29668618a2c..fb681bf4118 100644 --- a/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl +++ b/Libraries/LibWeb/HTML/HTMLOptGroupElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmloptgroupelement [Exposed=Window] interface HTMLOptGroupElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLOptionElement.idl b/Libraries/LibWeb/HTML/HTMLOptionElement.idl index 0ccf269d5de..e034776e688 100644 --- a/Libraries/LibWeb/HTML/HTMLOptionElement.idl +++ b/Libraries/LibWeb/HTML/HTMLOptionElement.idl @@ -1,5 +1,3 @@ -#import - // 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)] interface HTMLOptionElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl b/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl index 2bc788e9bb3..308647c46a8 100644 --- a/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl +++ b/Libraries/LibWeb/HTML/HTMLOptionsCollection.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmloptionscollection [Exposed=Window] interface HTMLOptionsCollection : HTMLCollection { diff --git a/Libraries/LibWeb/HTML/HTMLOrSVGElement.idl b/Libraries/LibWeb/HTML/HTMLOrSVGElement.idl index 22ddb6ffccc..94c68824d83 100644 --- a/Libraries/LibWeb/HTML/HTMLOrSVGElement.idl +++ b/Libraries/LibWeb/HTML/HTMLOrSVGElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/dom.html#htmlorsvgelement interface mixin HTMLOrSVGElement { [SameObject] readonly attribute DOMStringMap dataset; diff --git a/Libraries/LibWeb/HTML/HTMLOutputElement.idl b/Libraries/LibWeb/HTML/HTMLOutputElement.idl index d12d797582d..142e9e64265 100644 --- a/Libraries/LibWeb/HTML/HTMLOutputElement.idl +++ b/Libraries/LibWeb/HTML/HTMLOutputElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmloutputelement [Exposed=Window] interface HTMLOutputElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLParagraphElement.idl b/Libraries/LibWeb/HTML/HTMLParagraphElement.idl index f5eee8fb4d8..9f8ebc1bf68 100644 --- a/Libraries/LibWeb/HTML/HTMLParagraphElement.idl +++ b/Libraries/LibWeb/HTML/HTMLParagraphElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlparagraphelement [Exposed=Window] interface HTMLParagraphElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLParamElement.idl b/Libraries/LibWeb/HTML/HTMLParamElement.idl index 15ecb19c274..7550abf370b 100644 --- a/Libraries/LibWeb/HTML/HTMLParamElement.idl +++ b/Libraries/LibWeb/HTML/HTMLParamElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/obsolete.html#htmlparamelement [Exposed=Window] interface HTMLParamElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLPictureElement.idl b/Libraries/LibWeb/HTML/HTMLPictureElement.idl index c90578c870f..53fc700c3c6 100644 --- a/Libraries/LibWeb/HTML/HTMLPictureElement.idl +++ b/Libraries/LibWeb/HTML/HTMLPictureElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/embedded-content.html#htmlpictureelement [Exposed=Window] interface HTMLPictureElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLPreElement.idl b/Libraries/LibWeb/HTML/HTMLPreElement.idl index edec24a199a..6dc6a2dc403 100644 --- a/Libraries/LibWeb/HTML/HTMLPreElement.idl +++ b/Libraries/LibWeb/HTML/HTMLPreElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlpreelement [Exposed=Window] interface HTMLPreElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLProgressElement.idl b/Libraries/LibWeb/HTML/HTMLProgressElement.idl index 07b5ca018ef..b714ba470c4 100644 --- a/Libraries/LibWeb/HTML/HTMLProgressElement.idl +++ b/Libraries/LibWeb/HTML/HTMLProgressElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmlprogresselement [Exposed=Window] interface HTMLProgressElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLQuoteElement.idl b/Libraries/LibWeb/HTML/HTMLQuoteElement.idl index 7537e88b426..d1004b8a241 100644 --- a/Libraries/LibWeb/HTML/HTMLQuoteElement.idl +++ b/Libraries/LibWeb/HTML/HTMLQuoteElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlquoteelement [Exposed=Window] interface HTMLQuoteElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLScriptElement.idl b/Libraries/LibWeb/HTML/HTMLScriptElement.idl index b7d35f89553..74fda24e9de 100644 --- a/Libraries/LibWeb/HTML/HTMLScriptElement.idl +++ b/Libraries/LibWeb/HTML/HTMLScriptElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement [Exposed=Window] interface HTMLScriptElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLSelectElement.idl b/Libraries/LibWeb/HTML/HTMLSelectElement.idl index 5e4cc34afdd..77f5af00316 100644 --- a/Libraries/LibWeb/HTML/HTMLSelectElement.idl +++ b/Libraries/LibWeb/HTML/HTMLSelectElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectelement [Exposed=Window] interface HTMLSelectElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLSelectedContentElement.idl b/Libraries/LibWeb/HTML/HTMLSelectedContentElement.idl index 20a36971070..4ca6084e177 100644 --- a/Libraries/LibWeb/HTML/HTMLSelectedContentElement.idl +++ b/Libraries/LibWeb/HTML/HTMLSelectedContentElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmlselectedcontentelement [Exposed=Window] interface HTMLSelectedContentElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLSlotElement.idl b/Libraries/LibWeb/HTML/HTMLSlotElement.idl index 719531d5f34..c919352dae8 100644 --- a/Libraries/LibWeb/HTML/HTMLSlotElement.idl +++ b/Libraries/LibWeb/HTML/HTMLSlotElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/scripting.html#htmlslotelement [Exposed=Window] interface HTMLSlotElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLSourceElement.idl b/Libraries/LibWeb/HTML/HTMLSourceElement.idl index b73fd6a4025..44060e05775 100644 --- a/Libraries/LibWeb/HTML/HTMLSourceElement.idl +++ b/Libraries/LibWeb/HTML/HTMLSourceElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/embedded-content.html#htmlsourceelement [Exposed=Window] interface HTMLSourceElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLSpanElement.idl b/Libraries/LibWeb/HTML/HTMLSpanElement.idl index b005e86acef..1f87a9dd892 100644 --- a/Libraries/LibWeb/HTML/HTMLSpanElement.idl +++ b/Libraries/LibWeb/HTML/HTMLSpanElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlspanelement [Exposed=Window] interface HTMLSpanElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLStyleElement.idl b/Libraries/LibWeb/HTML/HTMLStyleElement.idl index 367718b4c2c..1400b9c1f3e 100644 --- a/Libraries/LibWeb/HTML/HTMLStyleElement.idl +++ b/Libraries/LibWeb/HTML/HTMLStyleElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement [Exposed=Window] interface HTMLStyleElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl b/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl index 5417ffa50e4..70b0dd80fb1 100644 --- a/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableCaptionElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/tables.html#htmltablecaptionelement [Exposed=Window] interface HTMLTableCaptionElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTableCellElement.idl b/Libraries/LibWeb/HTML/HTMLTableCellElement.idl index e4353df6387..8be3c413ee1 100644 --- a/Libraries/LibWeb/HTML/HTMLTableCellElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableCellElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/tables.html#attr-th-scope enum ScopeAttribute { "row", diff --git a/Libraries/LibWeb/HTML/HTMLTableColElement.idl b/Libraries/LibWeb/HTML/HTMLTableColElement.idl index 5eb13bc7a77..bb38be33592 100644 --- a/Libraries/LibWeb/HTML/HTMLTableColElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableColElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/tables.html#htmltablecolelement [Exposed=Window] interface HTMLTableColElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTableElement.idl b/Libraries/LibWeb/HTML/HTMLTableElement.idl index 0086606ea3f..3886c8d7b1e 100644 --- a/Libraries/LibWeb/HTML/HTMLTableElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/tables.html#htmltableelement [Exposed=Window] interface HTMLTableElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTableRowElement.idl b/Libraries/LibWeb/HTML/HTMLTableRowElement.idl index 14a2ec7ab77..77c3f03f22c 100644 --- a/Libraries/LibWeb/HTML/HTMLTableRowElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableRowElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/tables.html#htmltablerowelement [Exposed=Window] interface HTMLTableRowElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl b/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl index f61d78c31d1..9a2469191aa 100644 --- a/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTableSectionElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/tables.html#htmltablesectionelement [Exposed=Window] interface HTMLTableSectionElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTemplateElement.idl b/Libraries/LibWeb/HTML/HTMLTemplateElement.idl index 5ab9fda4141..f5bdc8da1a3 100644 --- a/Libraries/LibWeb/HTML/HTMLTemplateElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTemplateElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/scripting.html#htmltemplateelement [Exposed=Window] interface HTMLTemplateElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl b/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl index 5f602d63faf..ce12340bc2f 100644 --- a/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/form-elements.html#htmltextareaelement [Exposed=Window] interface HTMLTextAreaElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTimeElement.idl b/Libraries/LibWeb/HTML/HTMLTimeElement.idl index 76da859ad93..36e83e5c74d 100644 --- a/Libraries/LibWeb/HTML/HTMLTimeElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTimeElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmltimeelement [Exposed=Window] interface HTMLTimeElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTitleElement.idl b/Libraries/LibWeb/HTML/HTMLTitleElement.idl index 08a7b4d8092..114a495e2b4 100644 --- a/Libraries/LibWeb/HTML/HTMLTitleElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTitleElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/semantics.html#htmltitleelement [Exposed=Window] interface HTMLTitleElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLTrackElement.idl b/Libraries/LibWeb/HTML/HTMLTrackElement.idl index 945b2501a81..75170a221d1 100644 --- a/Libraries/LibWeb/HTML/HTMLTrackElement.idl +++ b/Libraries/LibWeb/HTML/HTMLTrackElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#attr-track-kind [MissingValueDefault=subtitles, InvalidValueDefault=metadata] enum TrackKindAttribute { diff --git a/Libraries/LibWeb/HTML/HTMLUListElement.idl b/Libraries/LibWeb/HTML/HTMLUListElement.idl index 46517a8f05c..2bdb82f9891 100644 --- a/Libraries/LibWeb/HTML/HTMLUListElement.idl +++ b/Libraries/LibWeb/HTML/HTMLUListElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/grouping-content.html#htmlulistelement [Exposed=Window] interface HTMLUListElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLUnknownElement.idl b/Libraries/LibWeb/HTML/HTMLUnknownElement.idl index 3eb25dbfa42..66a19c2e02c 100644 --- a/Libraries/LibWeb/HTML/HTMLUnknownElement.idl +++ b/Libraries/LibWeb/HTML/HTMLUnknownElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/dom.html#htmlunknownelement [Exposed=Window] interface HTMLUnknownElement : HTMLElement { diff --git a/Libraries/LibWeb/HTML/HTMLVideoElement.idl b/Libraries/LibWeb/HTML/HTMLVideoElement.idl index 45a74daafdd..3015bddc233 100644 --- a/Libraries/LibWeb/HTML/HTMLVideoElement.idl +++ b/Libraries/LibWeb/HTML/HTMLVideoElement.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#htmlvideoelement [Exposed=Window] interface HTMLVideoElement : HTMLMediaElement { diff --git a/Libraries/LibWeb/HTML/HashChangeEvent.idl b/Libraries/LibWeb/HTML/HashChangeEvent.idl index d075f7df21c..46148663b08 100644 --- a/Libraries/LibWeb/HTML/HashChangeEvent.idl +++ b/Libraries/LibWeb/HTML/HashChangeEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#hashchangeevent [Exposed=Window] interface HashChangeEvent : Event { diff --git a/Libraries/LibWeb/HTML/ImageBitmap.idl b/Libraries/LibWeb/HTML/ImageBitmap.idl index 57324dea0ce..7a5f91827e5 100644 --- a/Libraries/LibWeb/HTML/ImageBitmap.idl +++ b/Libraries/LibWeb/HTML/ImageBitmap.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/imagebitmap-and-animations.html#images-2 [Exposed=(Window,Worker), Serializable, Transferable] interface ImageBitmap { diff --git a/Libraries/LibWeb/HTML/MessageChannel.idl b/Libraries/LibWeb/HTML/MessageChannel.idl index b9d855f774d..571bf5a143b 100644 --- a/Libraries/LibWeb/HTML/MessageChannel.idl +++ b/Libraries/LibWeb/HTML/MessageChannel.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/web-messaging.html#messagechannel [Exposed=(Window,Worker)] interface MessageChannel { diff --git a/Libraries/LibWeb/HTML/MessageEvent.idl b/Libraries/LibWeb/HTML/MessageEvent.idl index 24b3201258b..10f18e67505 100644 --- a/Libraries/LibWeb/HTML/MessageEvent.idl +++ b/Libraries/LibWeb/HTML/MessageEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // FIXME: typedef (WindowProxy or MessagePort or ServiceWorker) MessageEventSource; typedef (WindowProxy or MessagePort) MessageEventSource; diff --git a/Libraries/LibWeb/HTML/MessagePort.idl b/Libraries/LibWeb/HTML/MessagePort.idl index e7f5d085065..2c101cf4691 100644 --- a/Libraries/LibWeb/HTML/MessagePort.idl +++ b/Libraries/LibWeb/HTML/MessagePort.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/web-messaging.html#messageport [Exposed=(Window,Worker,AudioWorklet), Transferable] interface MessagePort : EventTarget { diff --git a/Libraries/LibWeb/HTML/MimeType.idl b/Libraries/LibWeb/HTML/MimeType.idl index cb9937a78ad..2c05736c578 100644 --- a/Libraries/LibWeb/HTML/MimeType.idl +++ b/Libraries/LibWeb/HTML/MimeType.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/system-state.html#mimetype [Exposed=Window] interface MimeType { diff --git a/Libraries/LibWeb/HTML/MimeTypeArray.idl b/Libraries/LibWeb/HTML/MimeTypeArray.idl index bd94db47501..48cc1805ac6 100644 --- a/Libraries/LibWeb/HTML/MimeTypeArray.idl +++ b/Libraries/LibWeb/HTML/MimeTypeArray.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/system-state.html#mimetypearray [Exposed=Window, LegacyUnenumerableNamedProperties] interface MimeTypeArray { diff --git a/Libraries/LibWeb/HTML/NavigateEvent.idl b/Libraries/LibWeb/HTML/NavigateEvent.idl index b1f96425fd3..a8cc30f0c7d 100644 --- a/Libraries/LibWeb/HTML/NavigateEvent.idl +++ b/Libraries/LibWeb/HTML/NavigateEvent.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigateevent-interface [Exposed=Window] interface NavigateEvent : Event { diff --git a/Libraries/LibWeb/HTML/Navigation.idl b/Libraries/LibWeb/HTML/Navigation.idl index 5bc03f1820c..65cd79e4175 100644 --- a/Libraries/LibWeb/HTML/Navigation.idl +++ b/Libraries/LibWeb/HTML/Navigation.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface [Exposed=Window] interface Navigation : EventTarget { diff --git a/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl b/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl index 665c97ae4a5..066e1ac386c 100644 --- a/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl +++ b/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationcurrententrychangeevent-interface [Exposed=Window] interface NavigationCurrentEntryChangeEvent : Event { diff --git a/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl b/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl index 17d844f3b6a..5e300a95bc3 100644 --- a/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl +++ b/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtype [Exposed=Window] interface NavigationHistoryEntry : EventTarget { diff --git a/Libraries/LibWeb/HTML/NavigationTransition.idl b/Libraries/LibWeb/HTML/NavigationTransition.idl index f4fbbbb7796..01494f8e7ed 100644 --- a/Libraries/LibWeb/HTML/NavigationTransition.idl +++ b/Libraries/LibWeb/HTML/NavigationTransition.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigationtransition [Exposed=Window] interface NavigationTransition { diff --git a/Libraries/LibWeb/HTML/Navigator.idl b/Libraries/LibWeb/HTML/Navigator.idl index 3b645cd58eb..cd7f9091c18 100644 --- a/Libraries/LibWeb/HTML/Navigator.idl +++ b/Libraries/LibWeb/HTML/Navigator.idl @@ -1,25 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/system-state.html#navigator [Exposed=Window] interface Navigator { diff --git a/Libraries/LibWeb/HTML/NavigatorBeacon.idl b/Libraries/LibWeb/HTML/NavigatorBeacon.idl index 8708c3c1e27..2616df42174 100644 --- a/Libraries/LibWeb/HTML/NavigatorBeacon.idl +++ b/Libraries/LibWeb/HTML/NavigatorBeacon.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/beacon/#sendbeacon-method partial interface Navigator { boolean sendBeacon(USVString url, optional BodyInit? data = null); diff --git a/Libraries/LibWeb/HTML/OffscreenCanvas.idl b/Libraries/LibWeb/HTML/OffscreenCanvas.idl index f7df7d3cf35..5dd7a79f22c 100644 --- a/Libraries/LibWeb/HTML/OffscreenCanvas.idl +++ b/Libraries/LibWeb/HTML/OffscreenCanvas.idl @@ -1,8 +1,3 @@ -#import -#import -#import - - // FIXME: This should be in OffscreenCanvasBase.idl but then it is not exported // https://html.spec.whatwg.org/multipage/canvas.html#imageencodeoptions dictionary ImageEncodeOptions { diff --git a/Libraries/LibWeb/HTML/OffscreenCanvasRenderingContext2D.idl b/Libraries/LibWeb/HTML/OffscreenCanvasRenderingContext2D.idl index 82e7c9c9144..935de8d1083 100644 --- a/Libraries/LibWeb/HTML/OffscreenCanvasRenderingContext2D.idl +++ b/Libraries/LibWeb/HTML/OffscreenCanvasRenderingContext2D.idl @@ -1,22 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/canvas.html#offscreencanvasrenderingcontext2d [Exposed=(Window,Worker), Experimental] interface OffscreenCanvasRenderingContext2D { diff --git a/Libraries/LibWeb/HTML/PageTransitionEvent.idl b/Libraries/LibWeb/HTML/PageTransitionEvent.idl index aba0f793202..5f3d0f93fa3 100644 --- a/Libraries/LibWeb/HTML/PageTransitionEvent.idl +++ b/Libraries/LibWeb/HTML/PageTransitionEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/browsing-the-web.html#pagetransitionevent [Exposed=Window] interface PageTransitionEvent : Event { diff --git a/Libraries/LibWeb/HTML/Path2D.idl b/Libraries/LibWeb/HTML/Path2D.idl index 8879e34018f..c33466faaf7 100644 --- a/Libraries/LibWeb/HTML/Path2D.idl +++ b/Libraries/LibWeb/HTML/Path2D.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/canvas.html#path2d [Exposed=(Window,Worker)] interface Path2D { diff --git a/Libraries/LibWeb/HTML/Plugin.idl b/Libraries/LibWeb/HTML/Plugin.idl index 090aa47a830..a0425d063f2 100644 --- a/Libraries/LibWeb/HTML/Plugin.idl +++ b/Libraries/LibWeb/HTML/Plugin.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/infrastructure.html#plugin [Exposed=Window, LegacyUnenumerableNamedProperties] interface Plugin { diff --git a/Libraries/LibWeb/HTML/PluginArray.idl b/Libraries/LibWeb/HTML/PluginArray.idl index ccdcb21c6f9..59382f55b33 100644 --- a/Libraries/LibWeb/HTML/PluginArray.idl +++ b/Libraries/LibWeb/HTML/PluginArray.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/system-state.html#pluginarray [Exposed=Window, LegacyUnenumerableNamedProperties] interface PluginArray { diff --git a/Libraries/LibWeb/HTML/PopStateEvent.idl b/Libraries/LibWeb/HTML/PopStateEvent.idl index a4ab30b0d46..e9488107f37 100644 --- a/Libraries/LibWeb/HTML/PopStateEvent.idl +++ b/Libraries/LibWeb/HTML/PopStateEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#popstateevent [Exposed=Window] interface PopStateEvent : Event { diff --git a/Libraries/LibWeb/HTML/PromiseRejectionEvent.idl b/Libraries/LibWeb/HTML/PromiseRejectionEvent.idl index a76a5074cbb..1a287419329 100644 --- a/Libraries/LibWeb/HTML/PromiseRejectionEvent.idl +++ b/Libraries/LibWeb/HTML/PromiseRejectionEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/webappapis.html#promiserejectionevent [Exposed=*] interface PromiseRejectionEvent : Event { diff --git a/Libraries/LibWeb/HTML/RadioNodeList.idl b/Libraries/LibWeb/HTML/RadioNodeList.idl index 775767d2e94..97239262848 100644 --- a/Libraries/LibWeb/HTML/RadioNodeList.idl +++ b/Libraries/LibWeb/HTML/RadioNodeList.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#radionodelist [Exposed=Window] interface RadioNodeList : NodeList { diff --git a/Libraries/LibWeb/HTML/SharedWorker.idl b/Libraries/LibWeb/HTML/SharedWorker.idl index 389ad1b14ef..1cc77343926 100644 --- a/Libraries/LibWeb/HTML/SharedWorker.idl +++ b/Libraries/LibWeb/HTML/SharedWorker.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/workers.html#sharedworker [Exposed=Window] interface SharedWorker : EventTarget { diff --git a/Libraries/LibWeb/HTML/SharedWorkerGlobalScope.idl b/Libraries/LibWeb/HTML/SharedWorkerGlobalScope.idl index 06cc23fc02c..6e2b0ea9ce2 100644 --- a/Libraries/LibWeb/HTML/SharedWorkerGlobalScope.idl +++ b/Libraries/LibWeb/HTML/SharedWorkerGlobalScope.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/workers.html#sharedworkerglobalscope [Global=(Worker,SharedWorker),Exposed=SharedWorker] interface SharedWorkerGlobalScope : WorkerGlobalScope { diff --git a/Libraries/LibWeb/HTML/StorageEvent.idl b/Libraries/LibWeb/HTML/StorageEvent.idl index 46ec74382bc..834508dba04 100644 --- a/Libraries/LibWeb/HTML/StorageEvent.idl +++ b/Libraries/LibWeb/HTML/StorageEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/webstorage.html#storageevent [Exposed=Window] interface StorageEvent : Event { diff --git a/Libraries/LibWeb/HTML/SubmitEvent.idl b/Libraries/LibWeb/HTML/SubmitEvent.idl index 1206c5cb40c..8de7edad147 100644 --- a/Libraries/LibWeb/HTML/SubmitEvent.idl +++ b/Libraries/LibWeb/HTML/SubmitEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#submitevent [Exposed=Window] interface SubmitEvent : Event { diff --git a/Libraries/LibWeb/HTML/TextTrack.idl b/Libraries/LibWeb/HTML/TextTrack.idl index acad53ddb7e..da1288dc0cf 100644 --- a/Libraries/LibWeb/HTML/TextTrack.idl +++ b/Libraries/LibWeb/HTML/TextTrack.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#texttrackmode enum TextTrackMode { "disabled", "hidden", "showing" }; diff --git a/Libraries/LibWeb/HTML/TextTrackCue.idl b/Libraries/LibWeb/HTML/TextTrackCue.idl index e46443705f6..bfe0a8dd141 100644 --- a/Libraries/LibWeb/HTML/TextTrackCue.idl +++ b/Libraries/LibWeb/HTML/TextTrackCue.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#texttrackcue [Exposed=Window] interface TextTrackCue : EventTarget { diff --git a/Libraries/LibWeb/HTML/TextTrackCueList.idl b/Libraries/LibWeb/HTML/TextTrackCueList.idl index ba08b5f6200..8b0cfafde78 100644 --- a/Libraries/LibWeb/HTML/TextTrackCueList.idl +++ b/Libraries/LibWeb/HTML/TextTrackCueList.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#texttrackcuelist [Exposed=Window] interface TextTrackCueList { diff --git a/Libraries/LibWeb/HTML/TextTrackList.idl b/Libraries/LibWeb/HTML/TextTrackList.idl index 3323a8ceb4e..80856fdc711 100644 --- a/Libraries/LibWeb/HTML/TextTrackList.idl +++ b/Libraries/LibWeb/HTML/TextTrackList.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/media.html#texttracklist [Exposed=Window] interface TextTrackList : EventTarget { diff --git a/Libraries/LibWeb/HTML/ToggleEvent.idl b/Libraries/LibWeb/HTML/ToggleEvent.idl index e009dfd3431..ecbf0fef3f6 100644 --- a/Libraries/LibWeb/HTML/ToggleEvent.idl +++ b/Libraries/LibWeb/HTML/ToggleEvent.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/interaction.html#toggleevent [Exposed=Window] interface ToggleEvent : Event { diff --git a/Libraries/LibWeb/HTML/TrackEvent.idl b/Libraries/LibWeb/HTML/TrackEvent.idl index 168c6fff8da..ec33412318b 100644 --- a/Libraries/LibWeb/HTML/TrackEvent.idl +++ b/Libraries/LibWeb/HTML/TrackEvent.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/media.html#trackevent [Exposed=Window] interface TrackEvent : Event { diff --git a/Libraries/LibWeb/HTML/UniversalGlobalScope.idl b/Libraries/LibWeb/HTML/UniversalGlobalScope.idl index 1901feaebab..a29da6aeb86 100644 --- a/Libraries/LibWeb/HTML/UniversalGlobalScope.idl +++ b/Libraries/LibWeb/HTML/UniversalGlobalScope.idl @@ -1,5 +1,3 @@ -#import - // FIXME: Support VoidFunction in the IDL parser callback VoidFunction = undefined (); diff --git a/Libraries/LibWeb/HTML/VideoTrackList.idl b/Libraries/LibWeb/HTML/VideoTrackList.idl index 3c54de0c179..3442cca7cef 100644 --- a/Libraries/LibWeb/HTML/VideoTrackList.idl +++ b/Libraries/LibWeb/HTML/VideoTrackList.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://html.spec.whatwg.org/multipage/media.html#videotracklist [Exposed=Window] interface VideoTrackList : EventTarget { diff --git a/Libraries/LibWeb/HTML/Window.idl b/Libraries/LibWeb/HTML/Window.idl index cbb9e84bf5a..f0ce93ccc00 100644 --- a/Libraries/LibWeb/HTML/Window.idl +++ b/Libraries/LibWeb/HTML/Window.idl @@ -1,23 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/nav-history-apis.html#window [Global=Window, Exposed=Window, LegacyUnenumerableNamedProperties] interface Window : EventTarget { diff --git a/Libraries/LibWeb/HTML/WindowDeprecated.idl b/Libraries/LibWeb/HTML/WindowDeprecated.idl index 39e7de68bea..f686803b18d 100644 --- a/Libraries/LibWeb/HTML/WindowDeprecated.idl +++ b/Libraries/LibWeb/HTML/WindowDeprecated.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/obsolete.html#external partial interface Window { undefined captureEvents(); diff --git a/Libraries/LibWeb/HTML/WindowLocalStorage.idl b/Libraries/LibWeb/HTML/WindowLocalStorage.idl index 8bed5e295ba..6fda0f60ee8 100644 --- a/Libraries/LibWeb/HTML/WindowLocalStorage.idl +++ b/Libraries/LibWeb/HTML/WindowLocalStorage.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/webstorage.html#windowlocalstorage interface mixin WindowLocalStorage { readonly attribute Storage localStorage; diff --git a/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl b/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl index 3d79f74cd04..faf0ae03ba2 100644 --- a/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl +++ b/Libraries/LibWeb/HTML/WindowOrWorkerGlobalScope.idl @@ -1,14 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/webappapis.html#timerhandler typedef (DOMString or Function) TimerHandler; diff --git a/Libraries/LibWeb/HTML/WindowSessionStorage.idl b/Libraries/LibWeb/HTML/WindowSessionStorage.idl index b1dfe3ce025..d73d39c13cf 100644 --- a/Libraries/LibWeb/HTML/WindowSessionStorage.idl +++ b/Libraries/LibWeb/HTML/WindowSessionStorage.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/webstorage.html#windowsessionstorage interface mixin WindowSessionStorage { readonly attribute Storage sessionStorage; diff --git a/Libraries/LibWeb/HTML/Worker.idl b/Libraries/LibWeb/HTML/Worker.idl index 645991b4d15..9acfb12cb61 100644 --- a/Libraries/LibWeb/HTML/Worker.idl +++ b/Libraries/LibWeb/HTML/Worker.idl @@ -1,10 +1,3 @@ -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/workers.html#worker [Exposed=(Window,DedicatedWorker,SharedWorker)] interface Worker : EventTarget { diff --git a/Libraries/LibWeb/HTML/WorkerGlobalScope.idl b/Libraries/LibWeb/HTML/WorkerGlobalScope.idl index c801754609f..83952aafe02 100644 --- a/Libraries/LibWeb/HTML/WorkerGlobalScope.idl +++ b/Libraries/LibWeb/HTML/WorkerGlobalScope.idl @@ -1,13 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/workers.html#workerglobalscope [Exposed=Worker] interface WorkerGlobalScope : EventTarget { diff --git a/Libraries/LibWeb/HTML/WorkerNavigator.idl b/Libraries/LibWeb/HTML/WorkerNavigator.idl index d2867eab3ad..2ae91510efe 100644 --- a/Libraries/LibWeb/HTML/WorkerNavigator.idl +++ b/Libraries/LibWeb/HTML/WorkerNavigator.idl @@ -1,13 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://html.spec.whatwg.org/multipage/workers.html#workernavigator [Exposed=Worker] interface WorkerNavigator { diff --git a/Libraries/LibWeb/HTML/XMLSerializer.idl b/Libraries/LibWeb/HTML/XMLSerializer.idl index 020df4de127..1fea3b2c55f 100644 --- a/Libraries/LibWeb/HTML/XMLSerializer.idl +++ b/Libraries/LibWeb/HTML/XMLSerializer.idl @@ -1,5 +1,3 @@ -#import - // https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#xmlserializer [Exposed=Window] interface XMLSerializer { diff --git a/Libraries/LibWeb/HighResolutionTime/Performance.idl b/Libraries/LibWeb/HighResolutionTime/Performance.idl index 24a82fcc667..9e5852943a1 100644 --- a/Libraries/LibWeb/HighResolutionTime/Performance.idl +++ b/Libraries/LibWeb/HighResolutionTime/Performance.idl @@ -1,12 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import - // https://w3c.github.io/performance-timeline/#typedefdef-performanceentrylist typedef sequence PerformanceEntryList; diff --git a/Libraries/LibWeb/IndexedDB/IDBCursor.idl b/Libraries/LibWeb/IndexedDB/IDBCursor.idl index 54aeb7c46c0..1768f7b134e 100644 --- a/Libraries/LibWeb/IndexedDB/IDBCursor.idl +++ b/Libraries/LibWeb/IndexedDB/IDBCursor.idl @@ -1,5 +1,3 @@ -#import - [Exposed=(Window,Worker)] interface IDBCursor { [ImplementedAs=source_handle] readonly attribute (IDBObjectStore or IDBIndex) source; diff --git a/Libraries/LibWeb/IndexedDB/IDBCursorWithValue.idl b/Libraries/LibWeb/IndexedDB/IDBCursorWithValue.idl index 52ff47ea31d..3551c9f8208 100644 --- a/Libraries/LibWeb/IndexedDB/IDBCursorWithValue.idl +++ b/Libraries/LibWeb/IndexedDB/IDBCursorWithValue.idl @@ -1,5 +1,3 @@ -#import - [Exposed=(Window,Worker)] interface IDBCursorWithValue : IDBCursor { readonly attribute any value; diff --git a/Libraries/LibWeb/IndexedDB/IDBDatabase.idl b/Libraries/LibWeb/IndexedDB/IDBDatabase.idl index c19fae35f0d..735297c8f90 100644 --- a/Libraries/LibWeb/IndexedDB/IDBDatabase.idl +++ b/Libraries/LibWeb/IndexedDB/IDBDatabase.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - [Exposed=(Window,Worker)] interface IDBDatabase : EventTarget { readonly attribute DOMString name; diff --git a/Libraries/LibWeb/IndexedDB/IDBIndex.idl b/Libraries/LibWeb/IndexedDB/IDBIndex.idl index d84dd78a4af..d88a0a1f694 100644 --- a/Libraries/LibWeb/IndexedDB/IDBIndex.idl +++ b/Libraries/LibWeb/IndexedDB/IDBIndex.idl @@ -1,5 +1,3 @@ -#import - [Exposed=(Window,Worker)] interface IDBIndex { attribute DOMString name; diff --git a/Libraries/LibWeb/IndexedDB/IDBObjectStore.idl b/Libraries/LibWeb/IndexedDB/IDBObjectStore.idl index d8a4394021d..2ef0217c95a 100644 --- a/Libraries/LibWeb/IndexedDB/IDBObjectStore.idl +++ b/Libraries/LibWeb/IndexedDB/IDBObjectStore.idl @@ -1,7 +1,3 @@ -#import -#import -#import - [Exposed=(Window,Worker)] interface IDBObjectStore { attribute DOMString name; diff --git a/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl b/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl index d2a8cea2d94..74a4d3a4368 100644 --- a/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl +++ b/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/IndexedDB/#idbopendbrequest [Exposed=(Window,Worker)] interface IDBOpenDBRequest : IDBRequest { diff --git a/Libraries/LibWeb/IndexedDB/IDBRequest.idl b/Libraries/LibWeb/IndexedDB/IDBRequest.idl index c69b271fecb..0e187157695 100644 --- a/Libraries/LibWeb/IndexedDB/IDBRequest.idl +++ b/Libraries/LibWeb/IndexedDB/IDBRequest.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://w3c.github.io/IndexedDB/#idbrequest [Exposed=(Window,Worker)] interface IDBRequest : EventTarget { diff --git a/Libraries/LibWeb/IndexedDB/IDBTransaction.idl b/Libraries/LibWeb/IndexedDB/IDBTransaction.idl index d31e70bf604..72029fe2371 100644 --- a/Libraries/LibWeb/IndexedDB/IDBTransaction.idl +++ b/Libraries/LibWeb/IndexedDB/IDBTransaction.idl @@ -1,7 +1,3 @@ -#import -#import -#import - [Exposed=(Window,Worker)] interface IDBTransaction : EventTarget { readonly attribute DOMStringList objectStoreNames; diff --git a/Libraries/LibWeb/IndexedDB/IDBVersionChangeEvent.idl b/Libraries/LibWeb/IndexedDB/IDBVersionChangeEvent.idl index 4a633d5c305..0e727d0aad0 100644 --- a/Libraries/LibWeb/IndexedDB/IDBVersionChangeEvent.idl +++ b/Libraries/LibWeb/IndexedDB/IDBVersionChangeEvent.idl @@ -1,5 +1,3 @@ -#import - [Exposed=(Window,Worker)] interface IDBVersionChangeEvent : Event { constructor(DOMString type, optional IDBVersionChangeEventInit eventInitDict = {}); diff --git a/Libraries/LibWeb/Internals/FakeXRDevice.idl b/Libraries/LibWeb/Internals/FakeXRDevice.idl index de992a73bc0..317a21bc124 100644 --- a/Libraries/LibWeb/Internals/FakeXRDevice.idl +++ b/Libraries/LibWeb/Internals/FakeXRDevice.idl @@ -1,6 +1,3 @@ -#import -#import - // https://github.com/immersive-web/webxr-test-api/blob/main/explainer.md dictionary FakeXRDeviceInit { // Deprecated - use `supportedModes` instead. diff --git a/Libraries/LibWeb/Internals/InternalAnimationTimeline.idl b/Libraries/LibWeb/Internals/InternalAnimationTimeline.idl index cb7f0c3e303..511f816dd45 100644 --- a/Libraries/LibWeb/Internals/InternalAnimationTimeline.idl +++ b/Libraries/LibWeb/Internals/InternalAnimationTimeline.idl @@ -1,5 +1,3 @@ -#import - [Exposed=Nobody] interface InternalAnimationTimeline : AnimationTimeline { undefined setTime(double? time); diff --git a/Libraries/LibWeb/Internals/Internals.idl b/Libraries/LibWeb/Internals/Internals.idl index 265366510de..0f8fd2a0862 100644 --- a/Libraries/LibWeb/Internals/Internals.idl +++ b/Libraries/LibWeb/Internals/Internals.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - [Exposed=Nobody] interface Internals { diff --git a/Libraries/LibWeb/Internals/XRTest.idl b/Libraries/LibWeb/Internals/XRTest.idl index f5617cb34f6..e2f0f94fec3 100644 --- a/Libraries/LibWeb/Internals/XRTest.idl +++ b/Libraries/LibWeb/Internals/XRTest.idl @@ -1,6 +1,3 @@ -#import -#import - // https://github.com/immersive-web/webxr-test-api/blob/main/explainer.md [Exposed=Nobody] partial interface XRSystem { diff --git a/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl b/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl index 442ecc61d17..c499dbdf0b5 100644 --- a/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl +++ b/Libraries/LibWeb/IntersectionObserver/IntersectionObserver.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://w3c.github.io/IntersectionObserver/#intersection-observer-callback callback IntersectionObserverCallback = undefined (sequence entries, IntersectionObserver observer); diff --git a/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl b/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl index 6820f5f657b..f4b4f73dd72 100644 --- a/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl +++ b/Libraries/LibWeb/IntersectionObserver/IntersectionObserverEntry.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/IntersectionObserver/#intersectionobserverentry [Exposed=Window] interface IntersectionObserverEntry { diff --git a/Libraries/LibWeb/MathML/MathMLElement.idl b/Libraries/LibWeb/MathML/MathMLElement.idl index 087b989d6dc..2efe6129a1f 100644 --- a/Libraries/LibWeb/MathML/MathMLElement.idl +++ b/Libraries/LibWeb/MathML/MathMLElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://w3c.github.io/mathml-core/#dom-and-javascript [Exposed=Window] interface MathMLElement : Element { }; diff --git a/Libraries/LibWeb/MediaCapabilitiesAPI/MediaCapabilities.idl b/Libraries/LibWeb/MediaCapabilitiesAPI/MediaCapabilities.idl index 05324c4d080..32936e971d5 100644 --- a/Libraries/LibWeb/MediaCapabilitiesAPI/MediaCapabilities.idl +++ b/Libraries/LibWeb/MediaCapabilitiesAPI/MediaCapabilities.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/media-capabilities/#mediaconfiguration dictionary MediaConfiguration { VideoConfiguration video; diff --git a/Libraries/LibWeb/MediaCapture/MediaDevices.idl b/Libraries/LibWeb/MediaCapture/MediaDevices.idl index 873e8b9e37f..d08b63beb10 100644 --- a/Libraries/LibWeb/MediaCapture/MediaDevices.idl +++ b/Libraries/LibWeb/MediaCapture/MediaDevices.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://w3c.github.io/mediacapture-main/#mediadevices [Exposed=Window, SecureContext] interface MediaDevices : EventTarget { diff --git a/Libraries/LibWeb/MediaCapture/MediaStream.idl b/Libraries/LibWeb/MediaCapture/MediaStream.idl index 597eaff1ad5..f66f52dbe91 100644 --- a/Libraries/LibWeb/MediaCapture/MediaStream.idl +++ b/Libraries/LibWeb/MediaCapture/MediaStream.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://w3c.github.io/mediacapture-main/#mediastream [Exposed=Window] interface MediaStream : EventTarget { diff --git a/Libraries/LibWeb/MediaCapture/MediaStreamTrack.idl b/Libraries/LibWeb/MediaCapture/MediaStreamTrack.idl index 0ca0ebf5ba3..e6d9666eccc 100644 --- a/Libraries/LibWeb/MediaCapture/MediaStreamTrack.idl +++ b/Libraries/LibWeb/MediaCapture/MediaStreamTrack.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/mediacapture-main/#mediastreamtrack enum MediaStreamTrackState { "live", "ended" }; diff --git a/Libraries/LibWeb/MediaCapture/MediaStreamTrackEvent.idl b/Libraries/LibWeb/MediaCapture/MediaStreamTrackEvent.idl index 45356a61d6a..9b875857fc0 100644 --- a/Libraries/LibWeb/MediaCapture/MediaStreamTrackEvent.idl +++ b/Libraries/LibWeb/MediaCapture/MediaStreamTrackEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/mediacapture-main/#dictdef-mediastreamtrackeventinit dictionary MediaStreamTrackEventInit : EventInit { required MediaStreamTrack track; diff --git a/Libraries/LibWeb/MediaSourceExtensions/BufferedChangeEvent.idl b/Libraries/LibWeb/MediaSourceExtensions/BufferedChangeEvent.idl index 266164fccc8..5115262f5a9 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/BufferedChangeEvent.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/BufferedChangeEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/media-source/#dom-bufferedchangeevent [Exposed=(Window,DedicatedWorker)] interface BufferedChangeEvent : Event { diff --git a/Libraries/LibWeb/MediaSourceExtensions/ManagedMediaSource.idl b/Libraries/LibWeb/MediaSourceExtensions/ManagedMediaSource.idl index 5da004dfee4..5bfe21268d6 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/ManagedMediaSource.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/ManagedMediaSource.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/media-source/#managedmediasource-interface [Exposed=(Window,DedicatedWorker), Experimental] interface ManagedMediaSource : MediaSource { diff --git a/Libraries/LibWeb/MediaSourceExtensions/ManagedSourceBuffer.idl b/Libraries/LibWeb/MediaSourceExtensions/ManagedSourceBuffer.idl index 99a9e58abd4..c13d9d6aa23 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/ManagedSourceBuffer.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/ManagedSourceBuffer.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/media-source/#managedsourcebuffer-interface [Exposed=(Window,DedicatedWorker)] interface ManagedSourceBuffer : SourceBuffer { diff --git a/Libraries/LibWeb/MediaSourceExtensions/MediaSource.idl b/Libraries/LibWeb/MediaSourceExtensions/MediaSource.idl index c04014fab52..f0acc361311 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/MediaSource.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/MediaSource.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/media-source/#dom-mediasource enum ReadyState { "closed", diff --git a/Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.idl b/Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.idl index 1649f88c57b..0e4fc8cec86 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://w3c.github.io/media-source/#dom-sourcebuffer enum AppendMode { "segments", diff --git a/Libraries/LibWeb/MediaSourceExtensions/SourceBufferList.idl b/Libraries/LibWeb/MediaSourceExtensions/SourceBufferList.idl index 08446c8b21c..830ed0155e0 100644 --- a/Libraries/LibWeb/MediaSourceExtensions/SourceBufferList.idl +++ b/Libraries/LibWeb/MediaSourceExtensions/SourceBufferList.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/media-source/#dom-sourcebufferlist [Exposed=(Window,DedicatedWorker)] interface SourceBufferList : EventTarget { diff --git a/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl b/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl index e14b329e549..f8b31c0ca8f 100644 --- a/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl +++ b/Libraries/LibWeb/NavigationTiming/PerformanceTiming.idl @@ -1,4 +1,3 @@ - // https://w3c.github.io/navigation-timing/#dom-performancetiming [Exposed=Window] interface PerformanceTiming { diff --git a/Libraries/LibWeb/NotificationsAPI/Notification.idl b/Libraries/LibWeb/NotificationsAPI/Notification.idl index d8136fb71dd..e4ffef5f7d5 100644 --- a/Libraries/LibWeb/NotificationsAPI/Notification.idl +++ b/Libraries/LibWeb/NotificationsAPI/Notification.idl @@ -1,6 +1,3 @@ -#import -#import - // https://notifications.spec.whatwg.org/#notification [Exposed=(Window,Worker)] interface Notification : EventTarget { diff --git a/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl b/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl index a0deddaef53..5c4c7e1d895 100644 --- a/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl +++ b/Libraries/LibWeb/PerformanceTimeline/PerformanceEntry.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/performance-timeline/#dom-performanceentry [Exposed=(Window,Worker)] interface PerformanceEntry { diff --git a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl index c11d8411ff3..28fc717f59d 100644 --- a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl +++ b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserver.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/performance-timeline/#dom-performanceobservercallbackoptions dictionary PerformanceObserverCallbackOptions { unsigned long long droppedEntriesCount; diff --git a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserverEntryList.idl b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserverEntryList.idl index c91ed5ad594..d4ba6b6d7d8 100644 --- a/Libraries/LibWeb/PerformanceTimeline/PerformanceObserverEntryList.idl +++ b/Libraries/LibWeb/PerformanceTimeline/PerformanceObserverEntryList.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/performance-timeline/#performanceobserverentrylist-interface [Exposed=(Window,Worker)] interface PerformanceObserverEntryList { diff --git a/Libraries/LibWeb/RequestIdleCallback/IdleRequest.idl b/Libraries/LibWeb/RequestIdleCallback/IdleRequest.idl index c8f75170a63..a23fc36a078 100644 --- a/Libraries/LibWeb/RequestIdleCallback/IdleRequest.idl +++ b/Libraries/LibWeb/RequestIdleCallback/IdleRequest.idl @@ -1,5 +1,3 @@ -#import - dictionary IdleRequestOptions { unsigned long timeout; }; diff --git a/Libraries/LibWeb/ResizeObserver/ResizeObserver.idl b/Libraries/LibWeb/ResizeObserver/ResizeObserver.idl index 695ee742b31..265fe1c2d40 100644 --- a/Libraries/LibWeb/ResizeObserver/ResizeObserver.idl +++ b/Libraries/LibWeb/ResizeObserver/ResizeObserver.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/resize-observer-1/#resize-observer-interface [Exposed=(Window)] interface ResizeObserver { diff --git a/Libraries/LibWeb/ResizeObserver/ResizeObserverEntry.idl b/Libraries/LibWeb/ResizeObserver/ResizeObserverEntry.idl index 79571062ac1..2e849762c16 100644 --- a/Libraries/LibWeb/ResizeObserver/ResizeObserverEntry.idl +++ b/Libraries/LibWeb/ResizeObserver/ResizeObserverEntry.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/resize-observer-1/#resize-observer-entry-interface [Exposed=Window] interface ResizeObserverEntry { diff --git a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.idl b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.idl index dfd62cc49da..41b8d153320 100644 --- a/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.idl +++ b/Libraries/LibWeb/ResourceTiming/PerformanceResourceTiming.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/resource-timing/#dom-renderblockingstatustype enum RenderBlockingStatusType { "blocking", diff --git a/Libraries/LibWeb/SVG/SVGAElement.idl b/Libraries/LibWeb/SVG/SVGAElement.idl index 672cc7559b5..180b83a265c 100644 --- a/Libraries/LibWeb/SVG/SVGAElement.idl +++ b/Libraries/LibWeb/SVG/SVGAElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://svgwg.org/svg2-draft/linking.html#InterfaceSVGAElement [Exposed=Window] interface SVGAElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGAnimatedLength.idl b/Libraries/LibWeb/SVG/SVGAnimatedLength.idl index 81dd206ca81..6807293a0b7 100644 --- a/Libraries/LibWeb/SVG/SVGAnimatedLength.idl +++ b/Libraries/LibWeb/SVG/SVGAnimatedLength.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedLength [Exposed=Window] interface SVGAnimatedLength { diff --git a/Libraries/LibWeb/SVG/SVGAnimatedLengthList.idl b/Libraries/LibWeb/SVG/SVGAnimatedLengthList.idl index 28463dd2a77..b787ec617c5 100644 --- a/Libraries/LibWeb/SVG/SVGAnimatedLengthList.idl +++ b/Libraries/LibWeb/SVG/SVGAnimatedLengthList.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedLengthList [Exposed=Window] interface SVGAnimatedLengthList { diff --git a/Libraries/LibWeb/SVG/SVGAnimatedNumberList.idl b/Libraries/LibWeb/SVG/SVGAnimatedNumberList.idl index 329149775e7..0c7a1e45f94 100644 --- a/Libraries/LibWeb/SVG/SVGAnimatedNumberList.idl +++ b/Libraries/LibWeb/SVG/SVGAnimatedNumberList.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/svgwg/svg2-draft/types.html#InterfaceSVGAnimatedNumberList [Exposed=Window] interface SVGAnimatedNumberList { diff --git a/Libraries/LibWeb/SVG/SVGAnimatedRect.idl b/Libraries/LibWeb/SVG/SVGAnimatedRect.idl index cc2df283589..98dec30d35c 100644 --- a/Libraries/LibWeb/SVG/SVGAnimatedRect.idl +++ b/Libraries/LibWeb/SVG/SVGAnimatedRect.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedRect [Exposed=Window] interface SVGAnimatedRect { diff --git a/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl b/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl index 05c1c4e01bb..3dadfd66ff9 100644 --- a/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl +++ b/Libraries/LibWeb/SVG/SVGAnimatedTransformList.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGAnimatedTransformList [Exposed=Window] interface SVGAnimatedTransformList { diff --git a/Libraries/LibWeb/SVG/SVGAnimationElement.idl b/Libraries/LibWeb/SVG/SVGAnimationElement.idl index 80475ab9761..cced71a8b02 100644 --- a/Libraries/LibWeb/SVG/SVGAnimationElement.idl +++ b/Libraries/LibWeb/SVG/SVGAnimationElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/specs/animations/#InterfaceSVGAnimationElement [Exposed=Window] interface SVGAnimationElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGCircleElement.idl b/Libraries/LibWeb/SVG/SVGCircleElement.idl index 127dfaf7214..70b55a7a613 100644 --- a/Libraries/LibWeb/SVG/SVGCircleElement.idl +++ b/Libraries/LibWeb/SVG/SVGCircleElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGCircleElement [Exposed=Window] interface SVGCircleElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGClipPathElement.idl b/Libraries/LibWeb/SVG/SVGClipPathElement.idl index babf2e02c63..3744cda26f5 100644 --- a/Libraries/LibWeb/SVG/SVGClipPathElement.idl +++ b/Libraries/LibWeb/SVG/SVGClipPathElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/css-masking/#InterfaceSVGClipPathElement [Exposed=Window] interface SVGClipPathElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl b/Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl index ae1bdd71949..ef8fe76305c 100644 --- a/Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl +++ b/Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGComponentTransferFunctionElement [Exposed=Window] interface SVGComponentTransferFunctionElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGDescElement.idl b/Libraries/LibWeb/SVG/SVGDescElement.idl index 33c92de493b..98120b9fb8f 100644 --- a/Libraries/LibWeb/SVG/SVGDescElement.idl +++ b/Libraries/LibWeb/SVG/SVGDescElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGDescElement [Exposed=Window] interface SVGDescElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGElement.idl b/Libraries/LibWeb/SVG/SVGElement.idl index df4ad51fe04..d283d8cdac5 100644 --- a/Libraries/LibWeb/SVG/SVGElement.idl +++ b/Libraries/LibWeb/SVG/SVGElement.idl @@ -1,11 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGElement [Exposed=Window] interface SVGElement : Element { diff --git a/Libraries/LibWeb/SVG/SVGEllipseElement.idl b/Libraries/LibWeb/SVG/SVGEllipseElement.idl index af3e6137868..7d9e2a970b7 100644 --- a/Libraries/LibWeb/SVG/SVGEllipseElement.idl +++ b/Libraries/LibWeb/SVG/SVGEllipseElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGEllipseElement [Exposed=Window] interface SVGEllipseElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGFEBlendElement.idl b/Libraries/LibWeb/SVG/SVGFEBlendElement.idl index f099a3a6f67..55146a3b0da 100644 --- a/Libraries/LibWeb/SVG/SVGFEBlendElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEBlendElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEBlendElement [Exposed=Window] interface SVGFEBlendElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEColorMatrixElement.idl b/Libraries/LibWeb/SVG/SVGFEColorMatrixElement.idl index ca48e9e3cfc..33719387b74 100644 --- a/Libraries/LibWeb/SVG/SVGFEColorMatrixElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEColorMatrixElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEColorMatrixElement [Exposed=Window] interface SVGFEColorMatrixElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEComponentTransferElement.idl b/Libraries/LibWeb/SVG/SVGFEComponentTransferElement.idl index 92913d2e83e..99b418139ff 100644 --- a/Libraries/LibWeb/SVG/SVGFEComponentTransferElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEComponentTransferElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEComponentTransferElement [Exposed=Window] interface SVGFEComponentTransferElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFECompositeElement.idl b/Libraries/LibWeb/SVG/SVGFECompositeElement.idl index fe706a76fec..7bccdd38161 100644 --- a/Libraries/LibWeb/SVG/SVGFECompositeElement.idl +++ b/Libraries/LibWeb/SVG/SVGFECompositeElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFECompositeElement [Exposed=Window] interface SVGFECompositeElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEDisplacementMapElement.idl b/Libraries/LibWeb/SVG/SVGFEDisplacementMapElement.idl index 0f6ee093740..d66f7a01e4d 100644 --- a/Libraries/LibWeb/SVG/SVGFEDisplacementMapElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEDisplacementMapElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEDisplacementMapElement [Exposed=Window] interface SVGFEDisplacementMapElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEDropShadowElement.idl b/Libraries/LibWeb/SVG/SVGFEDropShadowElement.idl index 346fe1da899..a4cdbb29e1d 100644 --- a/Libraries/LibWeb/SVG/SVGFEDropShadowElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEDropShadowElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#svgfedropshadowelement [Exposed=Window] interface SVGFEDropShadowElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEFloodElement.idl b/Libraries/LibWeb/SVG/SVGFEFloodElement.idl index da231f42a01..8bac8501506 100644 --- a/Libraries/LibWeb/SVG/SVGFEFloodElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEFloodElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEFloodElement [Exposed=Window] interface SVGFEFloodElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEFuncAElement.idl b/Libraries/LibWeb/SVG/SVGFEFuncAElement.idl index de88723a37c..48de17a9916 100644 --- a/Libraries/LibWeb/SVG/SVGFEFuncAElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEFuncAElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEFuncAElement [Exposed=Window] interface SVGFEFuncAElement : SVGComponentTransferFunctionElement { diff --git a/Libraries/LibWeb/SVG/SVGFEFuncBElement.idl b/Libraries/LibWeb/SVG/SVGFEFuncBElement.idl index 55f72b9b87f..ab490811e61 100644 --- a/Libraries/LibWeb/SVG/SVGFEFuncBElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEFuncBElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEFuncBElement [Exposed=Window] interface SVGFEFuncBElement : SVGComponentTransferFunctionElement { diff --git a/Libraries/LibWeb/SVG/SVGFEFuncGElement.idl b/Libraries/LibWeb/SVG/SVGFEFuncGElement.idl index 6bd5224fd96..2ed875bcae6 100644 --- a/Libraries/LibWeb/SVG/SVGFEFuncGElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEFuncGElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEFuncGElement [Exposed=Window] interface SVGFEFuncGElement : SVGComponentTransferFunctionElement { diff --git a/Libraries/LibWeb/SVG/SVGFEFuncRElement.idl b/Libraries/LibWeb/SVG/SVGFEFuncRElement.idl index b4a4dde75aa..f797e5b891a 100644 --- a/Libraries/LibWeb/SVG/SVGFEFuncRElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEFuncRElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEFuncRElement [Exposed=Window] interface SVGFEFuncRElement : SVGComponentTransferFunctionElement { diff --git a/Libraries/LibWeb/SVG/SVGFEGaussianBlurElement.idl b/Libraries/LibWeb/SVG/SVGFEGaussianBlurElement.idl index 5319aa129a2..6a4652ce64d 100644 --- a/Libraries/LibWeb/SVG/SVGFEGaussianBlurElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEGaussianBlurElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEGaussianBlurElement [Exposed=Window] interface SVGFEGaussianBlurElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEImageElement.idl b/Libraries/LibWeb/SVG/SVGFEImageElement.idl index 811c1859545..4fe1d6fad9b 100644 --- a/Libraries/LibWeb/SVG/SVGFEImageElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEImageElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#feImageElement [Exposed=Window] interface SVGFEImageElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEMergeElement.idl b/Libraries/LibWeb/SVG/SVGFEMergeElement.idl index b6963567d70..069e09e8211 100644 --- a/Libraries/LibWeb/SVG/SVGFEMergeElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEMergeElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEMergeElement [Exposed=Window] interface SVGFEMergeElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEMergeNodeElement.idl b/Libraries/LibWeb/SVG/SVGFEMergeNodeElement.idl index 0c868eb2641..b0553ec24bf 100644 --- a/Libraries/LibWeb/SVG/SVGFEMergeNodeElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEMergeNodeElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEMergeNodeElement [Exposed=Window] interface SVGFEMergeNodeElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEMorphologyElement.idl b/Libraries/LibWeb/SVG/SVGFEMorphologyElement.idl index 3b6ab20706c..b0d627de354 100644 --- a/Libraries/LibWeb/SVG/SVGFEMorphologyElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEMorphologyElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEMorphologyElement [Exposed=Window] interface SVGFEMorphologyElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFEOffsetElement.idl b/Libraries/LibWeb/SVG/SVGFEOffsetElement.idl index 3ff3c103184..a84f86b96d3 100644 --- a/Libraries/LibWeb/SVG/SVGFEOffsetElement.idl +++ b/Libraries/LibWeb/SVG/SVGFEOffsetElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFEOffsetElement [Exposed=Window] interface SVGFEOffsetElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFETurbulenceElement.idl b/Libraries/LibWeb/SVG/SVGFETurbulenceElement.idl index 7cdd8789d39..9b83c30b071 100644 --- a/Libraries/LibWeb/SVG/SVGFETurbulenceElement.idl +++ b/Libraries/LibWeb/SVG/SVGFETurbulenceElement.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://drafts.csswg.org/filter-effects/#svgfeturbulenceelement [Exposed=Window] interface SVGFETurbulenceElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFilterElement.idl b/Libraries/LibWeb/SVG/SVGFilterElement.idl index f5c70260333..962906d8aec 100644 --- a/Libraries/LibWeb/SVG/SVGFilterElement.idl +++ b/Libraries/LibWeb/SVG/SVGFilterElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://drafts.fxtf.org/filter-effects/#InterfaceSVGFilterElement [Exposed=Window] interface SVGFilterElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.idl b/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.idl index 3c1a66bb0a4..e727c8060e5 100644 --- a/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.idl +++ b/Libraries/LibWeb/SVG/SVGFilterPrimitiveStandardAttributes.idl @@ -1,6 +1,3 @@ -#import -#import - // https://drafts.csswg.org/filter-effects-1/#InterfaceSVGFilterPrimitiveStandardAttributes interface mixin SVGFilterPrimitiveStandardAttributes { [SameObject] readonly attribute SVGAnimatedLength x; diff --git a/Libraries/LibWeb/SVG/SVGFitToViewBox.idl b/Libraries/LibWeb/SVG/SVGFitToViewBox.idl index 17a57aca342..c554dfc42ca 100644 --- a/Libraries/LibWeb/SVG/SVGFitToViewBox.idl +++ b/Libraries/LibWeb/SVG/SVGFitToViewBox.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGFitToViewBox interface mixin SVGFitToViewBox { [SameObject, ImplementedAs=view_box_for_bindings] readonly attribute SVGAnimatedRect viewBox; diff --git a/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl b/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl index b9f2e79e3e1..1369b964796 100644 --- a/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl +++ b/Libraries/LibWeb/SVG/SVGForeignObjectElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#embedded-InterfaceSVGForeignObjectElement [Exposed=Window] interface SVGForeignObjectElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGGElement.idl b/Libraries/LibWeb/SVG/SVGGElement.idl index 91158d62f7a..077f2c39dce 100644 --- a/Libraries/LibWeb/SVG/SVGGElement.idl +++ b/Libraries/LibWeb/SVG/SVGGElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGGElement [Exposed=Window] interface SVGGElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGGeometryElement.idl b/Libraries/LibWeb/SVG/SVGGeometryElement.idl index 115c0fc5e4d..124c555c3b2 100644 --- a/Libraries/LibWeb/SVG/SVGGeometryElement.idl +++ b/Libraries/LibWeb/SVG/SVGGeometryElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement [Exposed=Window] interface SVGGeometryElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGGradientElement.idl b/Libraries/LibWeb/SVG/SVGGradientElement.idl index b56e2a1e8f9..ee7e9d18b82 100644 --- a/Libraries/LibWeb/SVG/SVGGradientElement.idl +++ b/Libraries/LibWeb/SVG/SVGGradientElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGGradientElement [Exposed=Window] interface SVGGradientElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGGraphicsElement.idl b/Libraries/LibWeb/SVG/SVGGraphicsElement.idl index 8c35c99e98b..5f38c39dabc 100644 --- a/Libraries/LibWeb/SVG/SVGGraphicsElement.idl +++ b/Libraries/LibWeb/SVG/SVGGraphicsElement.idl @@ -1,6 +1,3 @@ -#import -#import - dictionary SVGBoundingBoxOptions { boolean fill = true; boolean stroke = false; diff --git a/Libraries/LibWeb/SVG/SVGImageElement.idl b/Libraries/LibWeb/SVG/SVGImageElement.idl index 5447941d639..954c2cd5435 100644 --- a/Libraries/LibWeb/SVG/SVGImageElement.idl +++ b/Libraries/LibWeb/SVG/SVGImageElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/embedded.html#InterfaceSVGImageElement [Exposed=Window] interface SVGImageElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGLengthList.idl b/Libraries/LibWeb/SVG/SVGLengthList.idl index d654c374365..fea358652e4 100644 --- a/Libraries/LibWeb/SVG/SVGLengthList.idl +++ b/Libraries/LibWeb/SVG/SVGLengthList.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGLengthList [Exposed=Window] interface SVGLengthList { diff --git a/Libraries/LibWeb/SVG/SVGLineElement.idl b/Libraries/LibWeb/SVG/SVGLineElement.idl index 5d9bebbf32a..25f6f9a5688 100644 --- a/Libraries/LibWeb/SVG/SVGLineElement.idl +++ b/Libraries/LibWeb/SVG/SVGLineElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGLineElement [Exposed=Window] interface SVGLineElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl b/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl index 188c7d20d95..4f19e97d24a 100644 --- a/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl +++ b/Libraries/LibWeb/SVG/SVGLinearGradientElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGLinearGradientElement [Exposed=Window] interface SVGLinearGradientElement : SVGGradientElement { diff --git a/Libraries/LibWeb/SVG/SVGMaskElement.idl b/Libraries/LibWeb/SVG/SVGMaskElement.idl index ac396c0997c..ba11d21f395 100644 --- a/Libraries/LibWeb/SVG/SVGMaskElement.idl +++ b/Libraries/LibWeb/SVG/SVGMaskElement.idl @@ -1,5 +1,3 @@ -#import - // https://drafts.fxtf.org/css-masking/#InterfaceSVGMaskElement [Exposed=Window] interface SVGMaskElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGMetadataElement.idl b/Libraries/LibWeb/SVG/SVGMetadataElement.idl index 3561a65af02..4679771440a 100644 --- a/Libraries/LibWeb/SVG/SVGMetadataElement.idl +++ b/Libraries/LibWeb/SVG/SVGMetadataElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGMetadataElement [Exposed=Window] interface SVGMetadataElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGNumberList.idl b/Libraries/LibWeb/SVG/SVGNumberList.idl index d9db6af4744..7cabe884cee 100644 --- a/Libraries/LibWeb/SVG/SVGNumberList.idl +++ b/Libraries/LibWeb/SVG/SVGNumberList.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/svgwg/svg2-draft/types.html#InterfaceSVGNumberList [Exposed=Window] interface SVGNumberList { diff --git a/Libraries/LibWeb/SVG/SVGPathElement.idl b/Libraries/LibWeb/SVG/SVGPathElement.idl index 83d657a081f..13f4b706eb9 100644 --- a/Libraries/LibWeb/SVG/SVGPathElement.idl +++ b/Libraries/LibWeb/SVG/SVGPathElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/paths.html#InterfaceSVGPathElement [Exposed=Window] interface SVGPathElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGPatternElement.idl b/Libraries/LibWeb/SVG/SVGPatternElement.idl index 4d4cbcec64c..ef222ff44d5 100644 --- a/Libraries/LibWeb/SVG/SVGPatternElement.idl +++ b/Libraries/LibWeb/SVG/SVGPatternElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://svgwg.org/svg2-draft/pservers.html#InterfaceSVGPatternElement [Exposed=Window] interface SVGPatternElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGPolygonElement.idl b/Libraries/LibWeb/SVG/SVGPolygonElement.idl index ccdb59b7596..418bd2df5be 100644 --- a/Libraries/LibWeb/SVG/SVGPolygonElement.idl +++ b/Libraries/LibWeb/SVG/SVGPolygonElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGPolygonElement [Exposed=Window] interface SVGPolygonElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGPolylineElement.idl b/Libraries/LibWeb/SVG/SVGPolylineElement.idl index 0861df7fab6..f62926648a8 100644 --- a/Libraries/LibWeb/SVG/SVGPolylineElement.idl +++ b/Libraries/LibWeb/SVG/SVGPolylineElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGPolylineElement [Exposed=Window] interface SVGPolylineElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl b/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl index e835a73182b..7a81dc51036 100644 --- a/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl +++ b/Libraries/LibWeb/SVG/SVGRadialGradientElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGRadialGradientElement [Exposed=Window] interface SVGRadialGradientElement : SVGGradientElement { diff --git a/Libraries/LibWeb/SVG/SVGRectElement.idl b/Libraries/LibWeb/SVG/SVGRectElement.idl index 478ac55ed2c..ad54470bce4 100644 --- a/Libraries/LibWeb/SVG/SVGRectElement.idl +++ b/Libraries/LibWeb/SVG/SVGRectElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#shapes-InterfaceSVGRectElement [Exposed=Window] interface SVGRectElement : SVGGeometryElement { diff --git a/Libraries/LibWeb/SVG/SVGSVGElement.idl b/Libraries/LibWeb/SVG/SVGSVGElement.idl index b20bcf7a544..c4d4ec4ae91 100644 --- a/Libraries/LibWeb/SVG/SVGSVGElement.idl +++ b/Libraries/LibWeb/SVG/SVGSVGElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSVGElement [Exposed=Window] interface SVGSVGElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGScriptElement.idl b/Libraries/LibWeb/SVG/SVGScriptElement.idl index ad03fc24975..d9747872144 100644 --- a/Libraries/LibWeb/SVG/SVGScriptElement.idl +++ b/Libraries/LibWeb/SVG/SVGScriptElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/svgwg/svg2-draft/interact.html#InterfaceSVGScriptElement [Exposed=Window] interface SVGScriptElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGStopElement.idl b/Libraries/LibWeb/SVG/SVGStopElement.idl index 6551e0d9668..9add2d0db86 100644 --- a/Libraries/LibWeb/SVG/SVGStopElement.idl +++ b/Libraries/LibWeb/SVG/SVGStopElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#pservers-InterfaceSVGStopElement [Exposed=Window] interface SVGStopElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGStyleElement.idl b/Libraries/LibWeb/SVG/SVGStyleElement.idl index 9b04543575b..196d941be4f 100644 --- a/Libraries/LibWeb/SVG/SVGStyleElement.idl +++ b/Libraries/LibWeb/SVG/SVGStyleElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/single-page.html#styling-InterfaceSVGStyleElement [Exposed=Window] interface SVGStyleElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGSymbolElement.idl b/Libraries/LibWeb/SVG/SVGSymbolElement.idl index d0023d5f24f..c773fe4e260 100644 --- a/Libraries/LibWeb/SVG/SVGSymbolElement.idl +++ b/Libraries/LibWeb/SVG/SVGSymbolElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSymbolElement [Exposed=Window] interface SVGSymbolElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGTSpanElement.idl b/Libraries/LibWeb/SVG/SVGTSpanElement.idl index 1712e166ecb..3aff45cd52a 100644 --- a/Libraries/LibWeb/SVG/SVGTSpanElement.idl +++ b/Libraries/LibWeb/SVG/SVGTSpanElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTSpanElement [Exposed=Window] interface SVGTSpanElement : SVGTextPositioningElement { diff --git a/Libraries/LibWeb/SVG/SVGTextContentElement.idl b/Libraries/LibWeb/SVG/SVGTextContentElement.idl index 42901628900..06d4d42d17c 100644 --- a/Libraries/LibWeb/SVG/SVGTextContentElement.idl +++ b/Libraries/LibWeb/SVG/SVGTextContentElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextContentElement [Exposed=Window] interface SVGTextContentElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGTextElement.idl b/Libraries/LibWeb/SVG/SVGTextElement.idl index 1c74a7f9e4e..fb52ab66657 100644 --- a/Libraries/LibWeb/SVG/SVGTextElement.idl +++ b/Libraries/LibWeb/SVG/SVGTextElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextElement [Exposed=Window] interface SVGTextElement : SVGTextPositioningElement { diff --git a/Libraries/LibWeb/SVG/SVGTextPathElement.idl b/Libraries/LibWeb/SVG/SVGTextPathElement.idl index 1926896cc89..4ab872e5759 100644 --- a/Libraries/LibWeb/SVG/SVGTextPathElement.idl +++ b/Libraries/LibWeb/SVG/SVGTextPathElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement [Exposed=Window] interface SVGTextPathElement : SVGTextContentElement { diff --git a/Libraries/LibWeb/SVG/SVGTextPositioningElement.idl b/Libraries/LibWeb/SVG/SVGTextPositioningElement.idl index fb6d01d4567..732323e7047 100644 --- a/Libraries/LibWeb/SVG/SVGTextPositioningElement.idl +++ b/Libraries/LibWeb/SVG/SVGTextPositioningElement.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPositioningElement [Exposed=Window] interface SVGTextPositioningElement : SVGTextContentElement { diff --git a/Libraries/LibWeb/SVG/SVGTitleElement.idl b/Libraries/LibWeb/SVG/SVGTitleElement.idl index eb510e95244..3887491609c 100644 --- a/Libraries/LibWeb/SVG/SVGTitleElement.idl +++ b/Libraries/LibWeb/SVG/SVGTitleElement.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGTitleElement [Exposed=Window] interface SVGTitleElement : SVGElement { diff --git a/Libraries/LibWeb/SVG/SVGTransformList.idl b/Libraries/LibWeb/SVG/SVGTransformList.idl index 479e4f8ddb7..5779732e9e9 100644 --- a/Libraries/LibWeb/SVG/SVGTransformList.idl +++ b/Libraries/LibWeb/SVG/SVGTransformList.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGTransformList [Exposed=Window] interface SVGTransformList { diff --git a/Libraries/LibWeb/SVG/SVGURIReference.idl b/Libraries/LibWeb/SVG/SVGURIReference.idl index 5365d6fcd48..5b4b7c0c358 100644 --- a/Libraries/LibWeb/SVG/SVGURIReference.idl +++ b/Libraries/LibWeb/SVG/SVGURIReference.idl @@ -1,5 +1,3 @@ -#import - // https://svgwg.org/svg2-draft/types.html#InterfaceSVGURIReference interface mixin SVGURIReference { [SameObject] readonly attribute SVGAnimatedString href; diff --git a/Libraries/LibWeb/SVG/SVGUseElement.idl b/Libraries/LibWeb/SVG/SVGUseElement.idl index b17a098871f..701f74a37d4 100644 --- a/Libraries/LibWeb/SVG/SVGUseElement.idl +++ b/Libraries/LibWeb/SVG/SVGUseElement.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://svgwg.org/svg2-draft/struct.html#InterfaceSVGUseElement [Exposed=Window] interface SVGUseElement : SVGGraphicsElement { diff --git a/Libraries/LibWeb/SVG/SVGViewElement.idl b/Libraries/LibWeb/SVG/SVGViewElement.idl index cc2616c2919..0f36b5fb614 100644 --- a/Libraries/LibWeb/SVG/SVGViewElement.idl +++ b/Libraries/LibWeb/SVG/SVGViewElement.idl @@ -1,6 +1,3 @@ -#import -#import - // https://svgwg.org/svg2-draft/linking.html#InterfaceSVGViewElement [Exposed=Window] interface SVGViewElement : SVGElement {}; diff --git a/Libraries/LibWeb/Selection/Selection.idl b/Libraries/LibWeb/Selection/Selection.idl index 3c986340071..9b37ea49d84 100644 --- a/Libraries/LibWeb/Selection/Selection.idl +++ b/Libraries/LibWeb/Selection/Selection.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/selection-api/#selection-interface [Exposed=Window] interface Selection { diff --git a/Libraries/LibWeb/Serial/Serial.idl b/Libraries/LibWeb/Serial/Serial.idl index b5c30092600..dec06de7b9e 100644 --- a/Libraries/LibWeb/Serial/Serial.idl +++ b/Libraries/LibWeb/Serial/Serial.idl @@ -1,6 +1,3 @@ -#import -#import - // https://wicg.github.io/serial/#serial-interface [Exposed=(DedicatedWorker, Window), SecureContext] interface Serial : EventTarget { diff --git a/Libraries/LibWeb/Serial/SerialPort.idl b/Libraries/LibWeb/Serial/SerialPort.idl index 25193db431c..4f28b988a1c 100644 --- a/Libraries/LibWeb/Serial/SerialPort.idl +++ b/Libraries/LibWeb/Serial/SerialPort.idl @@ -1,5 +1,3 @@ -#import - // https://wicg.github.io/serial/#serialport-interface [Exposed=(DedicatedWorker,Window), SecureContext] interface SerialPort : EventTarget { diff --git a/Libraries/LibWeb/ServiceWorker/Cache.idl b/Libraries/LibWeb/ServiceWorker/Cache.idl index 80b8f0494bb..1473ab1d0fd 100644 --- a/Libraries/LibWeb/ServiceWorker/Cache.idl +++ b/Libraries/LibWeb/ServiceWorker/Cache.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/ServiceWorker/#cache-interface [SecureContext, Exposed=(Window,Worker)] interface Cache { diff --git a/Libraries/LibWeb/ServiceWorker/CacheStorage.idl b/Libraries/LibWeb/ServiceWorker/CacheStorage.idl index c2388667279..72d36729444 100644 --- a/Libraries/LibWeb/ServiceWorker/CacheStorage.idl +++ b/Libraries/LibWeb/ServiceWorker/CacheStorage.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/ServiceWorker/#cachestorage-interface [SecureContext, Exposed=(Window,Worker)] interface CacheStorage { diff --git a/Libraries/LibWeb/ServiceWorker/ServiceWorker.idl b/Libraries/LibWeb/ServiceWorker/ServiceWorker.idl index 7daf96f18c2..df9fb016e51 100644 --- a/Libraries/LibWeb/ServiceWorker/ServiceWorker.idl +++ b/Libraries/LibWeb/ServiceWorker/ServiceWorker.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://w3c.github.io/ServiceWorker/#serviceworker-interface [SecureContext, Exposed=(Window,Worker)] interface ServiceWorker : EventTarget { diff --git a/Libraries/LibWeb/ServiceWorker/ServiceWorkerContainer.idl b/Libraries/LibWeb/ServiceWorker/ServiceWorkerContainer.idl index 3fc65b40c28..34d0e7d00e1 100644 --- a/Libraries/LibWeb/ServiceWorker/ServiceWorkerContainer.idl +++ b/Libraries/LibWeb/ServiceWorker/ServiceWorkerContainer.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://w3c.github.io/ServiceWorker/#serviceworkercontainer-interface [SecureContext, Exposed=(Window,Worker)] interface ServiceWorkerContainer : EventTarget { diff --git a/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl b/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl index 187491ebc2f..fda0075d474 100644 --- a/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl +++ b/Libraries/LibWeb/ServiceWorker/ServiceWorkerGlobalScope.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/ServiceWorker/#serviceworkerglobalscope [Global=(Worker,ServiceWorker), Exposed=ServiceWorker, SecureContext] interface ServiceWorkerGlobalScope : WorkerGlobalScope { diff --git a/Libraries/LibWeb/ServiceWorker/ServiceWorkerRegistration.idl b/Libraries/LibWeb/ServiceWorker/ServiceWorkerRegistration.idl index eec52d8d057..d27c9d371fe 100644 --- a/Libraries/LibWeb/ServiceWorker/ServiceWorkerRegistration.idl +++ b/Libraries/LibWeb/ServiceWorker/ServiceWorkerRegistration.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/ServiceWorker/#serviceworkerregistration-interface [SecureContext, Exposed=(Window,Worker)] interface ServiceWorkerRegistration : EventTarget { diff --git a/Libraries/LibWeb/Speech/SpeechGrammarList.idl b/Libraries/LibWeb/Speech/SpeechGrammarList.idl index c31bda8fdf3..68805eaa207 100644 --- a/Libraries/LibWeb/Speech/SpeechGrammarList.idl +++ b/Libraries/LibWeb/Speech/SpeechGrammarList.idl @@ -1,5 +1,3 @@ -#import - // https://wicg.github.io/speech-api/#speechgrammarlist [Exposed=Window] interface SpeechGrammarList { diff --git a/Libraries/LibWeb/Speech/SpeechRecognition.idl b/Libraries/LibWeb/Speech/SpeechRecognition.idl index 8c33dde4241..06a3655404c 100644 --- a/Libraries/LibWeb/Speech/SpeechRecognition.idl +++ b/Libraries/LibWeb/Speech/SpeechRecognition.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://wicg.github.io/speech-api/#speechrecognition [Exposed=Window] interface SpeechRecognition : EventTarget { diff --git a/Libraries/LibWeb/Speech/SpeechRecognitionEvent.idl b/Libraries/LibWeb/Speech/SpeechRecognitionEvent.idl index 291db81960d..b76fc818faa 100644 --- a/Libraries/LibWeb/Speech/SpeechRecognitionEvent.idl +++ b/Libraries/LibWeb/Speech/SpeechRecognitionEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://wicg.github.io/speech-api/#speechrecognitionevent [Exposed=Window] interface SpeechRecognitionEvent : Event { diff --git a/Libraries/LibWeb/Speech/SpeechRecognitionResult.idl b/Libraries/LibWeb/Speech/SpeechRecognitionResult.idl index d2e3720df28..9b1b1bb0620 100644 --- a/Libraries/LibWeb/Speech/SpeechRecognitionResult.idl +++ b/Libraries/LibWeb/Speech/SpeechRecognitionResult.idl @@ -1,5 +1,3 @@ -#import - // https://wicg.github.io/speech-api/#speechrecognitionresult [Exposed=Window] interface SpeechRecognitionResult { diff --git a/Libraries/LibWeb/Speech/SpeechRecognitionResultList.idl b/Libraries/LibWeb/Speech/SpeechRecognitionResultList.idl index 6a489adf52d..b01966a2d3e 100644 --- a/Libraries/LibWeb/Speech/SpeechRecognitionResultList.idl +++ b/Libraries/LibWeb/Speech/SpeechRecognitionResultList.idl @@ -1,5 +1,3 @@ -#import - // https://wicg.github.io/speech-api/#speechrecognitionresultlist [Exposed=Window] interface SpeechRecognitionResultList { diff --git a/Libraries/LibWeb/Speech/SpeechSynthesis.idl b/Libraries/LibWeb/Speech/SpeechSynthesis.idl index 77f8be93e71..0f2b8bbb7e5 100644 --- a/Libraries/LibWeb/Speech/SpeechSynthesis.idl +++ b/Libraries/LibWeb/Speech/SpeechSynthesis.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://wicg.github.io/speech-api/#speechsynthesis [Exposed=Window] interface SpeechSynthesis : EventTarget { diff --git a/Libraries/LibWeb/Speech/SpeechSynthesisUtterance.idl b/Libraries/LibWeb/Speech/SpeechSynthesisUtterance.idl index 7e415ab87cf..d4b0f526bcf 100644 --- a/Libraries/LibWeb/Speech/SpeechSynthesisUtterance.idl +++ b/Libraries/LibWeb/Speech/SpeechSynthesisUtterance.idl @@ -1,6 +1,3 @@ -#import -#import - // https://wicg.github.io/speech-api/#speechsynthesisutterance [Exposed=Window] interface SpeechSynthesisUtterance : EventTarget { diff --git a/Libraries/LibWeb/StorageAPI/NavigatorStorage.idl b/Libraries/LibWeb/StorageAPI/NavigatorStorage.idl index 3ab6eda3757..d8c4d3c1bc0 100644 --- a/Libraries/LibWeb/StorageAPI/NavigatorStorage.idl +++ b/Libraries/LibWeb/StorageAPI/NavigatorStorage.idl @@ -1,5 +1,3 @@ -#import - // https://storage.spec.whatwg.org/#navigatorstorage [SecureContext] interface mixin NavigatorStorage { diff --git a/Libraries/LibWeb/Streams/ByteLengthQueuingStrategy.idl b/Libraries/LibWeb/Streams/ByteLengthQueuingStrategy.idl index e0d9c348ccd..58f4145ad89 100644 --- a/Libraries/LibWeb/Streams/ByteLengthQueuingStrategy.idl +++ b/Libraries/LibWeb/Streams/ByteLengthQueuingStrategy.idl @@ -1,6 +1,3 @@ -#import -#import - // https://streams.spec.whatwg.org/#blqs-class-definition [Exposed=*] interface ByteLengthQueuingStrategy { diff --git a/Libraries/LibWeb/Streams/CountQueuingStrategy.idl b/Libraries/LibWeb/Streams/CountQueuingStrategy.idl index cd9ba06f399..6f2bbeaa56c 100644 --- a/Libraries/LibWeb/Streams/CountQueuingStrategy.idl +++ b/Libraries/LibWeb/Streams/CountQueuingStrategy.idl @@ -1,6 +1,3 @@ -#import -#import - // https://streams.spec.whatwg.org/#cqs-class-definition [Exposed=*] interface CountQueuingStrategy { diff --git a/Libraries/LibWeb/Streams/GenericTransformStream.idl b/Libraries/LibWeb/Streams/GenericTransformStream.idl index 2bbec637bc1..283169cb102 100644 --- a/Libraries/LibWeb/Streams/GenericTransformStream.idl +++ b/Libraries/LibWeb/Streams/GenericTransformStream.idl @@ -1,6 +1,3 @@ -#import -#import - interface mixin GenericTransformStream { readonly attribute ReadableStream readable; readonly attribute WritableStream writable; diff --git a/Libraries/LibWeb/Streams/ReadableByteStreamController.idl b/Libraries/LibWeb/Streams/ReadableByteStreamController.idl index fcb9736b785..a2d2d41cf7e 100644 --- a/Libraries/LibWeb/Streams/ReadableByteStreamController.idl +++ b/Libraries/LibWeb/Streams/ReadableByteStreamController.idl @@ -1,5 +1,3 @@ -#import - // https://streams.spec.whatwg.org/#rbs-controller-class-definition [Exposed=*] interface ReadableByteStreamController { diff --git a/Libraries/LibWeb/Streams/ReadableStream.idl b/Libraries/LibWeb/Streams/ReadableStream.idl index 694624e8ab4..62cc8a99dc6 100644 --- a/Libraries/LibWeb/Streams/ReadableStream.idl +++ b/Libraries/LibWeb/Streams/ReadableStream.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - dictionary ReadableWritablePair { required ReadableStream readable; required WritableStream writable; diff --git a/Libraries/LibWeb/Streams/ReadableStreamBYOBReader.idl b/Libraries/LibWeb/Streams/ReadableStreamBYOBReader.idl index 816392f1b92..44c59b9a5ea 100644 --- a/Libraries/LibWeb/Streams/ReadableStreamBYOBReader.idl +++ b/Libraries/LibWeb/Streams/ReadableStreamBYOBReader.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://streams.spec.whatwg.org/#readablestreambyobreader [Exposed=*] interface ReadableStreamBYOBReader { diff --git a/Libraries/LibWeb/Streams/ReadableStreamDefaultReader.idl b/Libraries/LibWeb/Streams/ReadableStreamDefaultReader.idl index 1507aa3fa8c..2d5063a9b0c 100644 --- a/Libraries/LibWeb/Streams/ReadableStreamDefaultReader.idl +++ b/Libraries/LibWeb/Streams/ReadableStreamDefaultReader.idl @@ -1,6 +1,3 @@ -#import -#import - // https://streams.spec.whatwg.org/#readablestreamdefaultreader [Exposed=*] interface ReadableStreamDefaultReader { diff --git a/Libraries/LibWeb/Streams/TransformStream.idl b/Libraries/LibWeb/Streams/TransformStream.idl index 74bca045488..4515039af39 100644 --- a/Libraries/LibWeb/Streams/TransformStream.idl +++ b/Libraries/LibWeb/Streams/TransformStream.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://streams.spec.whatwg.org/#transformstream [Exposed=*, Transferable] interface TransformStream { diff --git a/Libraries/LibWeb/Streams/WritableStream.idl b/Libraries/LibWeb/Streams/WritableStream.idl index 236bd650036..f835b68104b 100644 --- a/Libraries/LibWeb/Streams/WritableStream.idl +++ b/Libraries/LibWeb/Streams/WritableStream.idl @@ -1,6 +1,3 @@ -#import -#import - // https://streams.spec.whatwg.org/#writablestream [Exposed=*, Transferable] interface WritableStream { diff --git a/Libraries/LibWeb/Streams/WritableStreamDefaultController.idl b/Libraries/LibWeb/Streams/WritableStreamDefaultController.idl index f7c1d726464..3b83e4108b1 100644 --- a/Libraries/LibWeb/Streams/WritableStreamDefaultController.idl +++ b/Libraries/LibWeb/Streams/WritableStreamDefaultController.idl @@ -1,5 +1,3 @@ -#import - // https://streams.spec.whatwg.org/#writablestreamdefaultcontroller [Exposed=*] interface WritableStreamDefaultController { diff --git a/Libraries/LibWeb/Streams/WritableStreamDefaultWriter.idl b/Libraries/LibWeb/Streams/WritableStreamDefaultWriter.idl index 14477a6fcb6..87f74bc6d71 100644 --- a/Libraries/LibWeb/Streams/WritableStreamDefaultWriter.idl +++ b/Libraries/LibWeb/Streams/WritableStreamDefaultWriter.idl @@ -1,5 +1,3 @@ -#import - // https://streams.spec.whatwg.org/#writablestreamdefaultwriter [Exposed=*] interface WritableStreamDefaultWriter { diff --git a/Libraries/LibWeb/TrustedTypes/TrustedTypePolicy.idl b/Libraries/LibWeb/TrustedTypes/TrustedTypePolicy.idl index 29745758cb8..5d824654784 100644 --- a/Libraries/LibWeb/TrustedTypes/TrustedTypePolicy.idl +++ b/Libraries/LibWeb/TrustedTypes/TrustedTypePolicy.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype typedef (TrustedHTML or TrustedScript or TrustedScriptURL) TrustedType; diff --git a/Libraries/LibWeb/TrustedTypes/TrustedTypePolicyFactory.idl b/Libraries/LibWeb/TrustedTypes/TrustedTypePolicyFactory.idl index 23e771d8bb6..bbbc3cf0a2c 100644 --- a/Libraries/LibWeb/TrustedTypes/TrustedTypePolicyFactory.idl +++ b/Libraries/LibWeb/TrustedTypes/TrustedTypePolicyFactory.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/trusted-types/dist/spec/#trustedtypepolicyfactory [Exposed=(Window,Worker)] interface TrustedTypePolicyFactory { diff --git a/Libraries/LibWeb/UIEvents/CompositionEvent.idl b/Libraries/LibWeb/UIEvents/CompositionEvent.idl index f73b6779665..1286d32069f 100644 --- a/Libraries/LibWeb/UIEvents/CompositionEvent.idl +++ b/Libraries/LibWeb/UIEvents/CompositionEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/uievents/#compositionevent [Exposed=Window] interface CompositionEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/EventModifier.idl b/Libraries/LibWeb/UIEvents/EventModifier.idl index 1d083a5505c..f0cf0c036c2 100644 --- a/Libraries/LibWeb/UIEvents/EventModifier.idl +++ b/Libraries/LibWeb/UIEvents/EventModifier.idl @@ -1,5 +1,3 @@ -#import - dictionary EventModifierInit : UIEventInit { boolean ctrlKey = false; boolean shiftKey = false; diff --git a/Libraries/LibWeb/UIEvents/FocusEvent.idl b/Libraries/LibWeb/UIEvents/FocusEvent.idl index 43a30944154..c5f7da6c372 100644 --- a/Libraries/LibWeb/UIEvents/FocusEvent.idl +++ b/Libraries/LibWeb/UIEvents/FocusEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/uievents/#idl-focusevent [Exposed=Window] interface FocusEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/InputEvent.idl b/Libraries/LibWeb/UIEvents/InputEvent.idl index 644efa04d53..b7abf525a72 100644 --- a/Libraries/LibWeb/UIEvents/InputEvent.idl +++ b/Libraries/LibWeb/UIEvents/InputEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/uievents/#inputevent [Exposed=Window] interface InputEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/KeyboardEvent.idl b/Libraries/LibWeb/UIEvents/KeyboardEvent.idl index 975b309852d..dc512d412ff 100644 --- a/Libraries/LibWeb/UIEvents/KeyboardEvent.idl +++ b/Libraries/LibWeb/UIEvents/KeyboardEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/uievents/#idl-keyboardevent [Exposed=Window] interface KeyboardEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/MouseEvent.idl b/Libraries/LibWeb/UIEvents/MouseEvent.idl index 84fe8c491d3..3d183ae4795 100644 --- a/Libraries/LibWeb/UIEvents/MouseEvent.idl +++ b/Libraries/LibWeb/UIEvents/MouseEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/uievents/#mouseevent [Exposed=Window] interface MouseEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/PointerEvent.idl b/Libraries/LibWeb/UIEvents/PointerEvent.idl index bd66306a6f8..64da0b3883e 100644 --- a/Libraries/LibWeb/UIEvents/PointerEvent.idl +++ b/Libraries/LibWeb/UIEvents/PointerEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/pointerevents/#ref-for-dom-pointereventinit-1 dictionary PointerEventInit : MouseEventInit { long pointerId = 0; diff --git a/Libraries/LibWeb/UIEvents/TextEvent.idl b/Libraries/LibWeb/UIEvents/TextEvent.idl index 8435179d6d8..df9f21a2f43 100644 --- a/Libraries/LibWeb/UIEvents/TextEvent.idl +++ b/Libraries/LibWeb/UIEvents/TextEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/uievents/#textevent [Exposed=Window] interface TextEvent : UIEvent { diff --git a/Libraries/LibWeb/UIEvents/UIEvent.idl b/Libraries/LibWeb/UIEvents/UIEvent.idl index 1bb95b05789..85ca55cfc31 100644 --- a/Libraries/LibWeb/UIEvents/UIEvent.idl +++ b/Libraries/LibWeb/UIEvents/UIEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://w3c.github.io/uievents/#uievent [Exposed=Window] interface UIEvent : Event { diff --git a/Libraries/LibWeb/UIEvents/WheelEvent.idl b/Libraries/LibWeb/UIEvents/WheelEvent.idl index ee8adcc4f2c..ce21ae662f1 100644 --- a/Libraries/LibWeb/UIEvents/WheelEvent.idl +++ b/Libraries/LibWeb/UIEvents/WheelEvent.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/pointerevents/#idl-wheelevent [Exposed=Window] interface WheelEvent : MouseEvent { diff --git a/Libraries/LibWeb/UserTiming/PerformanceMark.idl b/Libraries/LibWeb/UserTiming/PerformanceMark.idl index 1e815a0759f..0879df1ce5c 100644 --- a/Libraries/LibWeb/UserTiming/PerformanceMark.idl +++ b/Libraries/LibWeb/UserTiming/PerformanceMark.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/user-timing/#dom-performancemark [Exposed=(Window,Worker)] interface PerformanceMark : PerformanceEntry { diff --git a/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl b/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl index 9ec91bfc405..61313415a32 100644 --- a/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl +++ b/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl @@ -1,5 +1,3 @@ -#import - // https://w3c.github.io/user-timing/#performancemeasure [Exposed=(Window,Worker)] interface PerformanceMeasure : PerformanceEntry { diff --git a/Libraries/LibWeb/WebAssembly/Instance.idl b/Libraries/LibWeb/WebAssembly/Instance.idl index 5a31ec18f13..aea338a7d34 100644 --- a/Libraries/LibWeb/WebAssembly/Instance.idl +++ b/Libraries/LibWeb/WebAssembly/Instance.idl @@ -1,5 +1,3 @@ -#import - // https://webassembly.github.io/spec/js-api/#instances [LegacyNamespace=WebAssembly, Exposed=*] interface Instance { diff --git a/Libraries/LibWeb/WebAssembly/WebAssembly.idl b/Libraries/LibWeb/WebAssembly/WebAssembly.idl index c44e77759b8..5eeb58079b6 100644 --- a/Libraries/LibWeb/WebAssembly/WebAssembly.idl +++ b/Libraries/LibWeb/WebAssembly/WebAssembly.idl @@ -1,7 +1,3 @@ -#import -#import -#import - dictionary WebAssemblyInstantiatedSource { required Module module; required Instance instance; diff --git a/Libraries/LibWeb/WebAudio/AnalyserNode.idl b/Libraries/LibWeb/WebAudio/AnalyserNode.idl index 742d0ee847f..f5dd3d2deb7 100644 --- a/Libraries/LibWeb/WebAudio/AnalyserNode.idl +++ b/Libraries/LibWeb/WebAudio/AnalyserNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#AnalyserOptions dictionary AnalyserOptions : AudioNodeOptions { unsigned long fftSize = 2048; diff --git a/Libraries/LibWeb/WebAudio/AudioBufferSourceNode.idl b/Libraries/LibWeb/WebAudio/AudioBufferSourceNode.idl index 067723df32f..216e21fc70e 100644 --- a/Libraries/LibWeb/WebAudio/AudioBufferSourceNode.idl +++ b/Libraries/LibWeb/WebAudio/AudioBufferSourceNode.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - dictionary AudioBufferSourceOptions { AudioBuffer? buffer; float detune = 0; diff --git a/Libraries/LibWeb/WebAudio/AudioContext.idl b/Libraries/LibWeb/WebAudio/AudioContext.idl index 74262ff341e..681256cbab9 100644 --- a/Libraries/LibWeb/WebAudio/AudioContext.idl +++ b/Libraries/LibWeb/WebAudio/AudioContext.idl @@ -1,5 +1,3 @@ -#import - // https://webaudio.github.io/web-audio-api/#enumdef-audiocontextlatencycategory enum AudioContextLatencyCategory { "balanced", "interactive", "playback" }; diff --git a/Libraries/LibWeb/WebAudio/AudioDestinationNode.idl b/Libraries/LibWeb/WebAudio/AudioDestinationNode.idl index 5f31c7506b4..df530d0020a 100644 --- a/Libraries/LibWeb/WebAudio/AudioDestinationNode.idl +++ b/Libraries/LibWeb/WebAudio/AudioDestinationNode.idl @@ -1,5 +1,3 @@ -#import - // https://webaudio.github.io/web-audio-api/#AudioDestinationNode [Exposed=Window] interface AudioDestinationNode : AudioNode { diff --git a/Libraries/LibWeb/WebAudio/AudioNode.idl b/Libraries/LibWeb/WebAudio/AudioNode.idl index 356d774aa8f..c34fb9e1a6f 100644 --- a/Libraries/LibWeb/WebAudio/AudioNode.idl +++ b/Libraries/LibWeb/WebAudio/AudioNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#enumdef-channelcountmode enum ChannelCountMode { "max", diff --git a/Libraries/LibWeb/WebAudio/AudioScheduledSourceNode.idl b/Libraries/LibWeb/WebAudio/AudioScheduledSourceNode.idl index 25c41cfbe53..583f3d01a6f 100644 --- a/Libraries/LibWeb/WebAudio/AudioScheduledSourceNode.idl +++ b/Libraries/LibWeb/WebAudio/AudioScheduledSourceNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#AudioScheduledSourceNode [Exposed=Window] interface AudioScheduledSourceNode : AudioNode { diff --git a/Libraries/LibWeb/WebAudio/BaseAudioContext.idl b/Libraries/LibWeb/WebAudio/BaseAudioContext.idl index 12034344478..3c157655651 100644 --- a/Libraries/LibWeb/WebAudio/BaseAudioContext.idl +++ b/Libraries/LibWeb/WebAudio/BaseAudioContext.idl @@ -1,16 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#enumdef-audiocontextstate enum AudioContextState { "suspended", "running", "closed" }; diff --git a/Libraries/LibWeb/WebAudio/BiquadFilterNode.idl b/Libraries/LibWeb/WebAudio/BiquadFilterNode.idl index ffa14cda299..c27d0d9cabf 100644 --- a/Libraries/LibWeb/WebAudio/BiquadFilterNode.idl +++ b/Libraries/LibWeb/WebAudio/BiquadFilterNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - enum BiquadFilterType { "lowpass", "highpass", diff --git a/Libraries/LibWeb/WebAudio/ChannelMergerNode.idl b/Libraries/LibWeb/WebAudio/ChannelMergerNode.idl index d170c3c3edc..2c3ce744331 100644 --- a/Libraries/LibWeb/WebAudio/ChannelMergerNode.idl +++ b/Libraries/LibWeb/WebAudio/ChannelMergerNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#ChannelMergerNode [Exposed=Window] interface ChannelMergerNode : AudioNode { diff --git a/Libraries/LibWeb/WebAudio/ChannelSplitterNode.idl b/Libraries/LibWeb/WebAudio/ChannelSplitterNode.idl index 639e6ae0d4c..c8e053e55be 100644 --- a/Libraries/LibWeb/WebAudio/ChannelSplitterNode.idl +++ b/Libraries/LibWeb/WebAudio/ChannelSplitterNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#ChannelSplitterNode [Exposed=Window] interface ChannelSplitterNode : AudioNode { diff --git a/Libraries/LibWeb/WebAudio/ConstantSourceNode.idl b/Libraries/LibWeb/WebAudio/ConstantSourceNode.idl index 4846aae6298..96cdede5626 100644 --- a/Libraries/LibWeb/WebAudio/ConstantSourceNode.idl +++ b/Libraries/LibWeb/WebAudio/ConstantSourceNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#ConstantSourceOptions dictionary ConstantSourceOptions { float offset = 1; diff --git a/Libraries/LibWeb/WebAudio/DelayNode.idl b/Libraries/LibWeb/WebAudio/DelayNode.idl index 1dc018a1242..28e6689f6f6 100644 --- a/Libraries/LibWeb/WebAudio/DelayNode.idl +++ b/Libraries/LibWeb/WebAudio/DelayNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#DelayOptions dictionary DelayOptions : AudioNodeOptions { double maxDelayTime = 1; diff --git a/Libraries/LibWeb/WebAudio/DynamicsCompressorNode.idl b/Libraries/LibWeb/WebAudio/DynamicsCompressorNode.idl index 20c39e2702c..3d8f14548a5 100644 --- a/Libraries/LibWeb/WebAudio/DynamicsCompressorNode.idl +++ b/Libraries/LibWeb/WebAudio/DynamicsCompressorNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#DynamicsCompressorOptions dictionary DynamicsCompressorOptions : AudioNodeOptions { float attack = 0.003; diff --git a/Libraries/LibWeb/WebAudio/GainNode.idl b/Libraries/LibWeb/WebAudio/GainNode.idl index ff1d2604022..d131bd9486e 100644 --- a/Libraries/LibWeb/WebAudio/GainNode.idl +++ b/Libraries/LibWeb/WebAudio/GainNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#GainOptions dictionary GainOptions : AudioNodeOptions { float gain = 1.0; diff --git a/Libraries/LibWeb/WebAudio/MediaElementAudioSourceNode.idl b/Libraries/LibWeb/WebAudio/MediaElementAudioSourceNode.idl index c2e3252d6a2..709e0a56f4f 100644 --- a/Libraries/LibWeb/WebAudio/MediaElementAudioSourceNode.idl +++ b/Libraries/LibWeb/WebAudio/MediaElementAudioSourceNode.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#MediaElementAudioSourceOptions dictionary MediaElementAudioSourceOptions { required HTMLMediaElement mediaElement; diff --git a/Libraries/LibWeb/WebAudio/OfflineAudioCompletionEvent.idl b/Libraries/LibWeb/WebAudio/OfflineAudioCompletionEvent.idl index 125fb10ae10..00f82cacd28 100644 --- a/Libraries/LibWeb/WebAudio/OfflineAudioCompletionEvent.idl +++ b/Libraries/LibWeb/WebAudio/OfflineAudioCompletionEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#OfflineAudioCompletionEvent [Exposed=Window] interface OfflineAudioCompletionEvent : Event { diff --git a/Libraries/LibWeb/WebAudio/OfflineAudioContext.idl b/Libraries/LibWeb/WebAudio/OfflineAudioContext.idl index 69d7d693c6d..d1808f7d3f8 100644 --- a/Libraries/LibWeb/WebAudio/OfflineAudioContext.idl +++ b/Libraries/LibWeb/WebAudio/OfflineAudioContext.idl @@ -1,5 +1,3 @@ -#import - // https://webaudio.github.io/web-audio-api/#OfflineAudioContextOptions dictionary OfflineAudioContextOptions { unsigned long numberOfChannels = 1; diff --git a/Libraries/LibWeb/WebAudio/OscillatorNode.idl b/Libraries/LibWeb/WebAudio/OscillatorNode.idl index 3620fafef0c..9a2af70c1a4 100644 --- a/Libraries/LibWeb/WebAudio/OscillatorNode.idl +++ b/Libraries/LibWeb/WebAudio/OscillatorNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#enumdef-oscillatortype enum OscillatorType { "sine", diff --git a/Libraries/LibWeb/WebAudio/PannerNode.idl b/Libraries/LibWeb/WebAudio/PannerNode.idl index 39213a1ec57..579b698877a 100644 --- a/Libraries/LibWeb/WebAudio/PannerNode.idl +++ b/Libraries/LibWeb/WebAudio/PannerNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#enumdef-panningmodeltype enum PanningModelType { "equalpower", diff --git a/Libraries/LibWeb/WebAudio/PeriodicWave.idl b/Libraries/LibWeb/WebAudio/PeriodicWave.idl index c7bed1ac3d7..57a8c62b077 100644 --- a/Libraries/LibWeb/WebAudio/PeriodicWave.idl +++ b/Libraries/LibWeb/WebAudio/PeriodicWave.idl @@ -1,5 +1,3 @@ -#import - // https://webaudio.github.io/web-audio-api/#PeriodicWaveConstraints dictionary PeriodicWaveConstraints { boolean disableNormalization = false; diff --git a/Libraries/LibWeb/WebAudio/ScriptProcessorNode.idl b/Libraries/LibWeb/WebAudio/ScriptProcessorNode.idl index 5fa7d5e4a8f..d00fed8ae72 100644 --- a/Libraries/LibWeb/WebAudio/ScriptProcessorNode.idl +++ b/Libraries/LibWeb/WebAudio/ScriptProcessorNode.idl @@ -1,6 +1,3 @@ -#import -#import - // https://webaudio.github.io/web-audio-api/#ScriptProcessorNode [Exposed=Window] interface ScriptProcessorNode : AudioNode { diff --git a/Libraries/LibWeb/WebAudio/StereoPannerNode.idl b/Libraries/LibWeb/WebAudio/StereoPannerNode.idl index 8c1feaafe03..623ab72ac89 100644 --- a/Libraries/LibWeb/WebAudio/StereoPannerNode.idl +++ b/Libraries/LibWeb/WebAudio/StereoPannerNode.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://webaudio.github.io/web-audio-api/#StereoPannerOptions dictionary StereoPannerOptions : AudioNodeOptions { float pan = 0; diff --git a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.idl b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.idl index 121ee2885a8..da5f0415d3b 100644 --- a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.idl +++ b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/ANGLE_instanced_arrays/ // NOTE: Original ANGLE_instanced_arrays name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.idl b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.idl index 85042355e4e..3e92031acc5 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.idl +++ b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/EXT_blend_minmax/ // NOTE: Original EXT_blend_minmax name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.idl b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.idl index c075191d2d8..adc9fd8a78c 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.idl +++ b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/EXT_color_buffer_float/ // NOTE: Original EXT_color_buffer_float name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.idl b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.idl index a348a063b63..692e99a2059 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.idl +++ b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/EXT_render_snorm/ // NOTE: Original EXT_render_snorm name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.idl b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.idl index 652bfbb7564..7da4019ccc9 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.idl +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/EXT_texture_filter_anisotropic/ // NOTE: Original EXT_texture_filter_anisotropic name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.idl b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.idl index 4f5f5fe7f07..006da72ce10 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.idl +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/EXT_texture_norm16/ // NOTE: Original EXT_texture_norm16 name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.idl b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.idl index 12638b52e5e..b66ab06785e 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.idl +++ b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/OES_standard_derivatives/ // NOTE: Original OES_standard_derivatives name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl index cd7cd7c209f..ac0ff4bc1f7 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl +++ b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.idl @@ -1,6 +1,3 @@ -#import -#import - // https://registry.khronos.org/webgl/extensions/OES_vertex_array_object/ // NOTE: Original OES_vertex_array_object name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.idl b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.idl index 2a798fc5b8c..a9c34308642 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.idl +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc/ // NOTE: Original WEBGL_compressed_texture_s3tc name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.idl b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.idl index cfd674649a5..278c2cd2bb6 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.idl +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/WEBGL_compressed_texture_s3tc_srgb/ // NOTE: Original WEBGL_compressed_texture_s3tc_srgb name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.idl b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.idl index 13a32e62299..e2dce084672 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.idl +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/WEBGL_debug_renderer_info/ // NOTE: Original WEBGL_debug_renderer_info name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.idl b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.idl index 514a9f55eb9..ae09505a1a5 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.idl +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/WEBGL_draw_buffers/ // NOTE: Original WEBGL_draw_buffers name is changed to title case, // so it matches corresponding C++ class name, and does not require diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.idl b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.idl index 6694fa6b37e..8ea8597304a 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.idl +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/extensions/OES_vertex_array_object/ [Exposed=(Window,Worker), LegacyNoInterfaceObject] interface WebGLVertexArrayObjectOES : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGL2RenderingContext.idl b/Libraries/LibWeb/WebGL/WebGL2RenderingContext.idl index 50c4242ef52..fd8292adfcf 100644 --- a/Libraries/LibWeb/WebGL/WebGL2RenderingContext.idl +++ b/Libraries/LibWeb/WebGL/WebGL2RenderingContext.idl @@ -1,8 +1,3 @@ -#import -#import -#import -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.7 [Exposed=(Window,Worker)] interface WebGL2RenderingContext { diff --git a/Libraries/LibWeb/WebGL/WebGL2RenderingContextBase.idl b/Libraries/LibWeb/WebGL/WebGL2RenderingContextBase.idl index 5a1989c90e6..9b5df938d91 100644 --- a/Libraries/LibWeb/WebGL/WebGL2RenderingContextBase.idl +++ b/Libraries/LibWeb/WebGL/WebGL2RenderingContextBase.idl @@ -1,19 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - typedef (Uint32Array or sequence) Uint32List; // https://registry.khronos.org/webgl/specs/latest/2.0/#3.7 diff --git a/Libraries/LibWeb/WebGL/WebGL2RenderingContextOverloads.idl b/Libraries/LibWeb/WebGL/WebGL2RenderingContextOverloads.idl index 2b0b473842c..ad46674d3a9 100644 --- a/Libraries/LibWeb/WebGL/WebGL2RenderingContextOverloads.idl +++ b/Libraries/LibWeb/WebGL/WebGL2RenderingContextOverloads.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.7 interface mixin WebGL2RenderingContextOverloads { // WebGL1: diff --git a/Libraries/LibWeb/WebGL/WebGLActiveInfo.idl b/Libraries/LibWeb/WebGL/WebGLActiveInfo.idl index a9f4d724d76..826c0e8c887 100644 --- a/Libraries/LibWeb/WebGL/WebGLActiveInfo.idl +++ b/Libraries/LibWeb/WebGL/WebGLActiveInfo.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.11 [Exposed=(Window,Worker)] interface WebGLActiveInfo { diff --git a/Libraries/LibWeb/WebGL/WebGLBuffer.idl b/Libraries/LibWeb/WebGL/WebGLBuffer.idl index c216dcc5516..cb4971ff696 100644 --- a/Libraries/LibWeb/WebGL/WebGLBuffer.idl +++ b/Libraries/LibWeb/WebGL/WebGLBuffer.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.4 [Exposed=(Window,Worker)] interface WebGLBuffer : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLContextEvent.idl b/Libraries/LibWeb/WebGL/WebGLContextEvent.idl index 2eb0fe599bb..c7c3934e2e3 100644 --- a/Libraries/LibWeb/WebGL/WebGLContextEvent.idl +++ b/Libraries/LibWeb/WebGL/WebGLContextEvent.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.15 [Exposed=(Window,Worker)] interface WebGLContextEvent : Event { diff --git a/Libraries/LibWeb/WebGL/WebGLFramebuffer.idl b/Libraries/LibWeb/WebGL/WebGLFramebuffer.idl index f00f1bac63d..ee9ffdb7876 100644 --- a/Libraries/LibWeb/WebGL/WebGLFramebuffer.idl +++ b/Libraries/LibWeb/WebGL/WebGLFramebuffer.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.5 [Exposed=(Window,Worker)] interface WebGLFramebuffer : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLProgram.idl b/Libraries/LibWeb/WebGL/WebGLProgram.idl index 642a3980906..5081c067945 100644 --- a/Libraries/LibWeb/WebGL/WebGLProgram.idl +++ b/Libraries/LibWeb/WebGL/WebGLProgram.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.6 [Exposed=(Window,Worker)] interface WebGLProgram : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLQuery.idl b/Libraries/LibWeb/WebGL/WebGLQuery.idl index e0ee6f55c9e..8df4fcfb48d 100644 --- a/Libraries/LibWeb/WebGL/WebGLQuery.idl +++ b/Libraries/LibWeb/WebGL/WebGLQuery.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.2 [Exposed=(Window,Worker)] interface WebGLQuery : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLRenderbuffer.idl b/Libraries/LibWeb/WebGL/WebGLRenderbuffer.idl index 81adae69b00..354c249f756 100644 --- a/Libraries/LibWeb/WebGL/WebGLRenderbuffer.idl +++ b/Libraries/LibWeb/WebGL/WebGLRenderbuffer.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.7 [Exposed=(Window,Worker)] interface WebGLRenderbuffer : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLRenderingContext.idl b/Libraries/LibWeb/WebGL/WebGLRenderingContext.idl index b91d4bdd0fd..4707366536b 100644 --- a/Libraries/LibWeb/WebGL/WebGLRenderingContext.idl +++ b/Libraries/LibWeb/WebGL/WebGLRenderingContext.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.14 [Exposed=(Window,Worker)] interface WebGLRenderingContext { diff --git a/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.idl b/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.idl index 224e8c61290..c76d274e131 100644 --- a/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.idl +++ b/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.idl @@ -1,16 +1,3 @@ -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import - dictionary WebGLContextAttributes { boolean alpha = true; boolean depth = true; diff --git a/Libraries/LibWeb/WebGL/WebGLRenderingContextOverloads.idl b/Libraries/LibWeb/WebGL/WebGLRenderingContextOverloads.idl index 39a6637b2a7..6004ce839f1 100644 --- a/Libraries/LibWeb/WebGL/WebGLRenderingContextOverloads.idl +++ b/Libraries/LibWeb/WebGL/WebGLRenderingContextOverloads.idl @@ -1,5 +1,3 @@ -#import - typedef (ImageBitmap or ImageData or HTMLImageElement or diff --git a/Libraries/LibWeb/WebGL/WebGLSampler.idl b/Libraries/LibWeb/WebGL/WebGLSampler.idl index 7fb4e421c72..848093b09fd 100644 --- a/Libraries/LibWeb/WebGL/WebGLSampler.idl +++ b/Libraries/LibWeb/WebGL/WebGLSampler.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.3 [Exposed=(Window,Worker)] interface WebGLSampler : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLShader.idl b/Libraries/LibWeb/WebGL/WebGLShader.idl index 22be7a9156d..3a8b7063b8e 100644 --- a/Libraries/LibWeb/WebGL/WebGLShader.idl +++ b/Libraries/LibWeb/WebGL/WebGLShader.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.8 [Exposed=(Window,Worker)] interface WebGLShader : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.idl b/Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.idl index 25cbb44217f..872f9bd67fc 100644 --- a/Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.idl +++ b/Libraries/LibWeb/WebGL/WebGLShaderPrecisionFormat.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.12 [Exposed=(Window,Worker)] interface WebGLShaderPrecisionFormat { diff --git a/Libraries/LibWeb/WebGL/WebGLSync.idl b/Libraries/LibWeb/WebGL/WebGLSync.idl index 0a69dadcf9b..b231e03ee3a 100644 --- a/Libraries/LibWeb/WebGL/WebGLSync.idl +++ b/Libraries/LibWeb/WebGL/WebGLSync.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.4 [Exposed=(Window,Worker)] interface WebGLSync : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLTexture.idl b/Libraries/LibWeb/WebGL/WebGLTexture.idl index 14b41d0d23c..055e9666c77 100644 --- a/Libraries/LibWeb/WebGL/WebGLTexture.idl +++ b/Libraries/LibWeb/WebGL/WebGLTexture.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.9 [Exposed=(Window,Worker)] interface WebGLTexture : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLTransformFeedback.idl b/Libraries/LibWeb/WebGL/WebGLTransformFeedback.idl index 0377e0e5b6d..c8287efe4c4 100644 --- a/Libraries/LibWeb/WebGL/WebGLTransformFeedback.idl +++ b/Libraries/LibWeb/WebGL/WebGLTransformFeedback.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.5 [Exposed=(Window,Worker)] interface WebGLTransformFeedback : WebGLObject { diff --git a/Libraries/LibWeb/WebGL/WebGLUniformLocation.idl b/Libraries/LibWeb/WebGL/WebGLUniformLocation.idl index 6cfb52972ab..7beaaead864 100644 --- a/Libraries/LibWeb/WebGL/WebGLUniformLocation.idl +++ b/Libraries/LibWeb/WebGL/WebGLUniformLocation.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/1.0/#5.10 [Exposed=(Window,Worker)] interface WebGLUniformLocation { diff --git a/Libraries/LibWeb/WebGL/WebGLVertexArrayObject.idl b/Libraries/LibWeb/WebGL/WebGLVertexArrayObject.idl index ce738132fe9..bbace143fe5 100644 --- a/Libraries/LibWeb/WebGL/WebGLVertexArrayObject.idl +++ b/Libraries/LibWeb/WebGL/WebGLVertexArrayObject.idl @@ -1,5 +1,3 @@ -#import - // https://registry.khronos.org/webgl/specs/latest/2.0/#3.6 [Exposed=(Window,Worker)] interface WebGLVertexArrayObject : WebGLObject { diff --git a/Libraries/LibWeb/WebSockets/WebSocket.idl b/Libraries/LibWeb/WebSockets/WebSocket.idl index be8a93049de..5f656e6a371 100644 --- a/Libraries/LibWeb/WebSockets/WebSocket.idl +++ b/Libraries/LibWeb/WebSockets/WebSocket.idl @@ -1,7 +1,3 @@ -#import -#import -#import - // https://websockets.spec.whatwg.org/#websocket [Exposed=(Window,Worker)] interface WebSocket : EventTarget { diff --git a/Libraries/LibWeb/WebVTT/VTTCue.idl b/Libraries/LibWeb/WebVTT/VTTCue.idl index 4f57b335ce7..996a41f2a1b 100644 --- a/Libraries/LibWeb/WebVTT/VTTCue.idl +++ b/Libraries/LibWeb/WebVTT/VTTCue.idl @@ -1,6 +1,3 @@ -#import -#import - enum AutoKeyword { "auto" }; typedef (double or AutoKeyword) LineAndPositionSetting; enum DirectionSetting { "", "rl", "lr" }; diff --git a/Libraries/LibWeb/WebXR/XRSession.idl b/Libraries/LibWeb/WebXR/XRSession.idl index c6bb17c73b0..76335d05f65 100644 --- a/Libraries/LibWeb/WebXR/XRSession.idl +++ b/Libraries/LibWeb/WebXR/XRSession.idl @@ -1,6 +1,3 @@ -#import -#import - [Experimental] enum XRVisibilityState { "visible", "visible-blurred", diff --git a/Libraries/LibWeb/WebXR/XRSessionEvent.idl b/Libraries/LibWeb/WebXR/XRSessionEvent.idl index 509b0a2b425..210ee9ad1a1 100644 --- a/Libraries/LibWeb/WebXR/XRSessionEvent.idl +++ b/Libraries/LibWeb/WebXR/XRSessionEvent.idl @@ -1,6 +1,3 @@ -#import -#import - // https://immersive-web.github.io/webxr/#xrsessionevent-interface [Experimental, SecureContext, Exposed=Window] interface XRSessionEvent : Event { diff --git a/Libraries/LibWeb/WebXR/XRSystem.idl b/Libraries/LibWeb/WebXR/XRSystem.idl index 5a70b9c6928..cb85fdf2003 100644 --- a/Libraries/LibWeb/WebXR/XRSystem.idl +++ b/Libraries/LibWeb/WebXR/XRSystem.idl @@ -1,5 +1,3 @@ -#import - [Experimental, SecureContext, Exposed=Window] interface XRSystem : EventTarget { // Methods Promise isSessionSupported(XRSessionMode mode); diff --git a/Libraries/LibWeb/WebXR/XRWebGLLayer.idl b/Libraries/LibWeb/WebXR/XRWebGLLayer.idl index 627bf35f6e0..a21a66493be 100644 --- a/Libraries/LibWeb/WebXR/XRWebGLLayer.idl +++ b/Libraries/LibWeb/WebXR/XRWebGLLayer.idl @@ -1,5 +1,3 @@ -#import -#import // https://immersive-web.github.io/webxr/#xrwebgllayer-interface typedef (WebGLRenderingContext or diff --git a/Libraries/LibWeb/XHR/FormData.idl b/Libraries/LibWeb/XHR/FormData.idl index aa6f86a6d62..405fc0eacb8 100644 --- a/Libraries/LibWeb/XHR/FormData.idl +++ b/Libraries/LibWeb/XHR/FormData.idl @@ -1,5 +1,3 @@ -#import -#import // FIXME: This #import currently gives the following error after XHR/FormData.idl was #imported in Fetch/BodyInit.idl: // "LibWeb/HTML/Window.idl:114: error: Mixin 'WindowOrWorkerGlobalScope' was never defined." // XHR/FormData.idl needs to be #imported in Fetch/BodyInit.idl while removing #import HTML/HTMLFormElement.idl diff --git a/Libraries/LibWeb/XHR/ProgressEvent.idl b/Libraries/LibWeb/XHR/ProgressEvent.idl index f01e5027222..d0b6f833769 100644 --- a/Libraries/LibWeb/XHR/ProgressEvent.idl +++ b/Libraries/LibWeb/XHR/ProgressEvent.idl @@ -1,5 +1,3 @@ -#import - // https://xhr.spec.whatwg.org/#interface-progressevent [Exposed=(Window,Worker)] interface ProgressEvent : Event { diff --git a/Libraries/LibWeb/XHR/XMLHttpRequest.idl b/Libraries/LibWeb/XHR/XMLHttpRequest.idl index df719f76322..2a51c3d1e1a 100644 --- a/Libraries/LibWeb/XHR/XMLHttpRequest.idl +++ b/Libraries/LibWeb/XHR/XMLHttpRequest.idl @@ -1,9 +1,3 @@ -#import -#import -#import -#import -#import - enum XMLHttpRequestResponseType { "", "arraybuffer", diff --git a/Libraries/LibWeb/XHR/XMLHttpRequestEventTarget.idl b/Libraries/LibWeb/XHR/XMLHttpRequestEventTarget.idl index c43dee75b37..a27c845470b 100644 --- a/Libraries/LibWeb/XHR/XMLHttpRequestEventTarget.idl +++ b/Libraries/LibWeb/XHR/XMLHttpRequestEventTarget.idl @@ -1,6 +1,3 @@ -#import -#import - // https://xhr.spec.whatwg.org/#xmlhttprequesteventtarget [Exposed=(Window,DedicatedWorker,SharedWorker)] interface XMLHttpRequestEventTarget : EventTarget { diff --git a/Libraries/LibWeb/XHR/XMLHttpRequestUpload.idl b/Libraries/LibWeb/XHR/XMLHttpRequestUpload.idl index 4c679b7eba3..043458d3650 100644 --- a/Libraries/LibWeb/XHR/XMLHttpRequestUpload.idl +++ b/Libraries/LibWeb/XHR/XMLHttpRequestUpload.idl @@ -1,5 +1,3 @@ -#import - // https://xhr.spec.whatwg.org/#xmlhttprequestupload [Exposed=(Window,DedicatedWorker,SharedWorker)] interface XMLHttpRequestUpload : XMLHttpRequestEventTarget { diff --git a/Libraries/LibWeb/XPath/XPathEvaluator.idl b/Libraries/LibWeb/XPath/XPathEvaluator.idl index 5a8d5fbf52b..e73a85590fd 100644 --- a/Libraries/LibWeb/XPath/XPathEvaluator.idl +++ b/Libraries/LibWeb/XPath/XPathEvaluator.idl @@ -1,6 +1,3 @@ -#import -#import - // https://dom.spec.whatwg.org/#mixin-xpathevaluatorbase interface mixin XPathEvaluatorBase { [NewObject] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null); diff --git a/Libraries/LibWeb/XPath/XPathExpression.idl b/Libraries/LibWeb/XPath/XPathExpression.idl index c039be0ed1b..fb55d1a666f 100644 --- a/Libraries/LibWeb/XPath/XPathExpression.idl +++ b/Libraries/LibWeb/XPath/XPathExpression.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-xpathexpression [Exposed=Window] interface XPathExpression { diff --git a/Libraries/LibWeb/XPath/XPathResult.idl b/Libraries/LibWeb/XPath/XPathResult.idl index 6344fec60da..6c71ef5f0e8 100644 --- a/Libraries/LibWeb/XPath/XPathResult.idl +++ b/Libraries/LibWeb/XPath/XPathResult.idl @@ -1,5 +1,3 @@ -#import - // https://dom.spec.whatwg.org/#interface-xpathresult [Exposed=Window] interface XPathResult { diff --git a/Meta/CMake/libweb_generators.cmake b/Meta/CMake/libweb_generators.cmake index 22d530084c8..463039d2b20 100644 --- a/Meta/CMake/libweb_generators.cmake +++ b/Meta/CMake/libweb_generators.cmake @@ -282,7 +282,7 @@ function (generate_js_bindings target) add_custom_command( OUTPUT ${exposed_interface_sources} COMMAND "${CMAKE_COMMAND}" -E make_directory "tmp" - COMMAND $ -o "${CMAKE_CURRENT_BINARY_DIR}/tmp" -b "${LIBWEB_INPUT_FOLDER}" -b "${CMAKE_CURRENT_BINARY_DIR}" ${LIBWEB_ALL_IDL_FILES_ARGUMENT} + COMMAND $ -o "${CMAKE_CURRENT_BINARY_DIR}/tmp" ${LIBWEB_ALL_IDL_FILES_ARGUMENT} COMMAND "${CMAKE_COMMAND}" -E copy_if_different tmp/IntrinsicDefinitions.h "Bindings/IntrinsicDefinitions.h" COMMAND "${CMAKE_COMMAND}" -E copy_if_different tmp/IntrinsicDefinitions.cpp "Bindings/IntrinsicDefinitions.cpp" COMMAND "${CMAKE_COMMAND}" -E copy_if_different tmp/DedicatedWorkerExposedInterfaces.h "Bindings/DedicatedWorkerExposedInterfaces.h" @@ -332,7 +332,6 @@ function (generate_js_bindings target) OUTPUT ${LIBWEB_ALL_BINDINGS_SOURCES} COMMAND "${CMAKE_COMMAND}" -E make_directory "Bindings" COMMAND "$" -o "Bindings" --depfile "Bindings/all_bindings.d" - -b "${LIBWEB_INPUT_FOLDER}" -b "${CMAKE_CURRENT_BINARY_DIR}" ${LIBWEB_ALL_PARSED_IDL_FILES_ARGUMENT} VERBATIM COMMENT "Generating LibWeb bindings" diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/main.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/main.cpp index 65a29e7c475..382f3b5aab4 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/main.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/main.cpp @@ -95,7 +95,6 @@ ErrorOr ladybird_main(Main::Arguments arguments) { Core::ArgsParser args_parser; Vector paths; - Vector base_paths; StringView output_path = "-"sv; StringView depfile_path; @@ -110,17 +109,6 @@ ErrorOr ladybird_main(Main::Arguments arguments) return true; }, }); - args_parser.add_option(Core::ArgsParser::Option { - .argument_mode = Core::ArgsParser::OptionArgumentMode::Required, - .help_string = "Path to root of IDL file tree(s)", - .long_name = "base-path", - .short_name = 'b', - .value_name = "base-path", - .accept_value = [&](StringView s) { - base_paths.append(s); - return true; - }, - }); args_parser.add_option(output_path, "Path to output generated files into", "output-path", 'o', "output-path"); args_parser.add_option(depfile_path, "Path to write dependency file to", "depfile", 'd', "depfile-path"); args_parser.add_positional_argument(paths, "IDL file(s)", "idl-files"); @@ -152,15 +140,8 @@ ErrorOr ladybird_main(Main::Arguments arguments) for (auto const& path : paths) { auto file = TRY(Core::MappedFile::map(path, Core::MappedFile::Mode::ReadOnly)); - auto lexical_path = LexicalPath { path }; - auto import_base_paths = base_paths; - if (import_base_paths.is_empty()) - import_base_paths.append(lexical_path.dirname()); - - auto module = IDL::Parser::parse(path, file->bytes(), move(import_base_paths), context); + auto module = IDL::Parser::parse(path, file->bytes(), context); append_dependency_path(path); - for (auto const& imported_file : module.imported_files) - append_dependency_path(imported_file); } context.resolve(); diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp index 54904571f11..5708952dbe8 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/GenerateWindowOrWorkerInterfaces.cpp @@ -510,26 +510,13 @@ ErrorOr ladybird_main(Main::Arguments arguments) Core::ArgsParser args_parser; StringView output_path; - Vector base_paths; Vector paths; args_parser.add_option(output_path, "Path to output generated files into", "output-path", 'o', "output-path"); - args_parser.add_option(Core::ArgsParser::Option { - .argument_mode = Core::ArgsParser::OptionArgumentMode::Required, - .help_string = "Path to root of IDL file tree(s)", - .long_name = "base-path", - .short_name = 'b', - .value_name = "base-path", - .accept_value = [&](StringView s) { - base_paths.append(s); - return true; - }, - }); args_parser.add_positional_argument(paths, "Paths of every IDL file that could be Exposed", "paths"); args_parser.parse(arguments); VERIFY(!paths.is_empty()); - VERIFY(!base_paths.is_empty()); if (paths.first().starts_with("@"sv)) { // Response file @@ -550,12 +537,6 @@ ErrorOr ladybird_main(Main::Arguments arguments) } } - Vector lexical_bases; - for (auto const& base_path : base_paths) { - VERIFY(!base_path.is_empty()); - lexical_bases.append(base_path); - } - // Read in all IDL files, we must own the storage for all of these for the lifetime of the program Vector> files; files.ensure_capacity(paths.size()); @@ -575,7 +556,7 @@ ErrorOr ladybird_main(Main::Arguments arguments) for (size_t i = 0; i < paths.size(); ++i) { auto const& path = paths[i]; StringView file_contents = files[i]->bytes(); - auto module = IDL::Parser::parse(path, file_contents, lexical_bases, context); + auto module = IDL::Parser::parse(path, file_contents, context); if (!module.interface.has_value()) { s_error_string = ByteString::formatted("Interface for file {} missing", path); return Error::from_string_view(s_error_string.view());