LibWeb: Replace 'heycam.github.io' links with 'webidl.spec.whatwg.org'
This commit is contained in:
parent
56d8c4ff26
commit
2b2ccb3815
Notes:
sideshowbarker
2024-07-17 07:43:05 +09:00
2 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue