mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Do not use namespace in interface names
Gives us 20 additional WPT subtest passes in `wasm/jsapi`.
This commit is contained in:
parent
73967ee90c
commit
acc7c2f7f3
|
|
@ -5169,7 +5169,7 @@ void @constructor_class@::initialize(JS::Realm& realm)
|
|||
|
||||
generator.append(R"~~~(
|
||||
define_direct_property(vm.names.length, JS::Value(@constructor.length@), JS::Attribute::Configurable);
|
||||
define_direct_property(vm.names.name, JS::PrimitiveString::create(vm, "@namespaced_name@"_string), JS::Attribute::Configurable);
|
||||
define_direct_property(vm.names.name, JS::PrimitiveString::create(vm, "@name@"_string), JS::Attribute::Configurable);
|
||||
define_direct_property(vm.names.prototype, &ensure_web_prototype<@prototype_class@>(realm, "@namespaced_name@"_fly_string), 0);
|
||||
|
||||
)~~~");
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ DataView
|
|||
-------------
|
||||
Hello from wasm!!!!!!
|
||||
-------------
|
||||
WebAssembly.Module
|
||||
Module
|
||||
-------------
|
||||
Hello from wasm!!!!!!
|
||||
|
|
|
|||
|
|
@ -2,9 +2,8 @@ Harness status: OK
|
|||
|
||||
Found 60 tests
|
||||
|
||||
59 Pass
|
||||
1 Fail
|
||||
Fail name
|
||||
60 Pass
|
||||
Pass name
|
||||
Pass length
|
||||
Pass No arguments
|
||||
Pass Calling
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user