mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
LibWeb: Fix typo in extended WithGCVisitor
extended attribute name
This commit is contained in:
parent
baaaa0008e
commit
5e75afd549
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/tcl3
Commit: 5e75afd549
Pull-request: https://github.com/SerenityOS/serenity/pull/24051
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 3 additions and 3 deletions
|
@ -3697,7 +3697,7 @@ public:
|
||||||
private:
|
private:
|
||||||
)~~~");
|
)~~~");
|
||||||
|
|
||||||
if (interface.extended_attributes.contains("WithGCVistor"sv)) {
|
if (interface.extended_attributes.contains("WithGCVisitor"sv)) {
|
||||||
generator.append(R"~~~(
|
generator.append(R"~~~(
|
||||||
virtual void visit_edges(JS::Cell::Visitor&) override;
|
virtual void visit_edges(JS::Cell::Visitor&) override;
|
||||||
)~~~");
|
)~~~");
|
||||||
|
@ -3825,7 +3825,7 @@ void @namespace_class@::initialize(JS::Realm& realm)
|
||||||
}
|
}
|
||||||
)~~~");
|
)~~~");
|
||||||
|
|
||||||
if (interface.extended_attributes.contains("WithGCVistor"sv)) {
|
if (interface.extended_attributes.contains("WithGCVisitor"sv)) {
|
||||||
generator.append(R"~~~(
|
generator.append(R"~~~(
|
||||||
void @namespace_class@::visit_edges(JS::Cell::Visitor& visitor)
|
void @namespace_class@::visit_edges(JS::Cell::Visitor& visitor)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ dictionary WebAssemblyInstantiatedSource {
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://webassembly.github.io/spec/js-api/#webassembly-namespace
|
// https://webassembly.github.io/spec/js-api/#webassembly-namespace
|
||||||
[Exposed=*, WithGCVistor]
|
[Exposed=*, WithGCVisitor]
|
||||||
namespace WebAssembly {
|
namespace WebAssembly {
|
||||||
boolean validate(BufferSource bytes);
|
boolean validate(BufferSource bytes);
|
||||||
Promise<Module> compile(BufferSource bytes);
|
Promise<Module> compile(BufferSource bytes);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue