LibWeb: Use correct type for MessageEventInit.ports

This didn't work previously because the IDL generator used the
incorrect type for some types of sequences within dictionaries.
This commit is contained in:
Tim Ledbetter 2024-05-15 20:58:02 +01:00 committed by Andreas Kling
commit 63246577d2
Notes: sideshowbarker 2024-07-17 04:57:23 +09:00
6 changed files with 10 additions and 10 deletions

View file

@ -888,7 +888,7 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter
)~~~");
} else {
sequence_generator.append(R"~~~(
@sequence.storage_type@ @cpp_name@ { global_object.heap() };
@sequence.storage_type@<@sequence.type@> @cpp_name@ { vm.heap() };
)~~~");
}
}