diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index 856f776585..3cc7c80ef9 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 3f45bf69cb..46fb6ff96f 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: