From 2b2ccb3815b26fa096a75cee61612bd21373e9fe Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 24 Sep 2022 16:35:12 +0100 Subject: [PATCH] LibWeb: Replace 'heycam.github.io' links with 'webidl.spec.whatwg.org' --- .../CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp | 2 +- Userland/Libraries/LibWeb/WebIDL/CallbackType.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index 856f776585e..3cc7c80ef9f 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp @@ -303,7 +303,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter } } } else if (parameter.type->name().is_one_of("EventListener", "NodeFilter")) { - // FIXME: Replace this with support for callback interfaces. https://heycam.github.io/webidl/#idl-callback-interface + // FIXME: Replace this with support for callback interfaces. https://webidl.spec.whatwg.org/#idl-callback-interface if (parameter.type->name() == "EventListener") scoped_generator.set("cpp_type", "IDLEventListener"); diff --git a/Userland/Libraries/LibWeb/WebIDL/CallbackType.h b/Userland/Libraries/LibWeb/WebIDL/CallbackType.h index 3f45bf69cb5..46fb6ff96f0 100644 --- a/Userland/Libraries/LibWeb/WebIDL/CallbackType.h +++ b/Userland/Libraries/LibWeb/WebIDL/CallbackType.h @@ -12,14 +12,14 @@ namespace Web::WebIDL { -// https://heycam.github.io/webidl/#idl-callback-interface +// https://webidl.spec.whatwg.org/#idl-callback-interface class CallbackType final : public JS::Cell { public: CallbackType(JS::Object& callback, HTML::EnvironmentSettingsObject& callback_context); JS::Object& callback; - // https://heycam.github.io/webidl/#dfn-callback-context + // https://webidl.spec.whatwg.org/#dfn-callback-context HTML::EnvironmentSettingsObject& callback_context; private: