mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 09:06:08 +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"~~~(
|
generator.append(R"~~~(
|
||||||
define_direct_property(vm.names.length, JS::Value(@constructor.length@), JS::Attribute::Configurable);
|
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);
|
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!!!!!!
|
Hello from wasm!!!!!!
|
||||||
-------------
|
-------------
|
||||||
WebAssembly.Module
|
Module
|
||||||
-------------
|
-------------
|
||||||
Hello from wasm!!!!!!
|
Hello from wasm!!!!!!
|
||||||
|
|
|
@ -2,9 +2,8 @@ Harness status: OK
|
||||||
|
|
||||||
Found 60 tests
|
Found 60 tests
|
||||||
|
|
||||||
59 Pass
|
60 Pass
|
||||||
1 Fail
|
Pass name
|
||||||
Fail name
|
|
||||||
Pass length
|
Pass length
|
||||||
Pass No arguments
|
Pass No arguments
|
||||||
Pass Calling
|
Pass Calling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue