LibJS: Add missing CommonPropertyNamess and StringMayBeNumber::Nos

This commit is contained in:
Jonne Ransijn
2024-12-01 01:06:25 +01:00
committed by Andreas Kling
parent cfb00ba494
commit 58631e9eef
9 changed files with 27 additions and 19 deletions

View File

@@ -152,8 +152,8 @@ JS::ThrowCompletionOr<JS::Value> WebContentConsoleClient::printer(JS::Console::L
auto table_args = arguments.get<GC::MarkedVector<JS::Value>>();
auto& table = table_args.at(0).as_object();
auto& columns = TRY(table.get(JS::PropertyKey("columns"))).as_array().indexed_properties();
auto& rows = TRY(table.get(JS::PropertyKey("rows"))).as_array().indexed_properties();
auto& columns = TRY(table.get(vm.names.columns)).as_array().indexed_properties();
auto& rows = TRY(table.get(vm.names.rows)).as_array().indexed_properties();
StringBuilder html;