mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00: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
Notes:
github-actions[bot]
2025-07-25 14:51:57 +00:00
Author: https://github.com/gmta
Commit: acc7c2f7f3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5603
3 changed files with 4 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue