mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Change return type of encapsulate for AlgorithmMethods
The standard ask to turn EncapsulatedBits into an ECMAScript Object which means it must initially live in the host stack.
This commit is contained in:
Notes:
github-actions[bot]
2025-12-30 13:18:36 +00:00
Author: https://github.com/tete17 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ec67f0ae8db Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6970 Reviewed-by: https://github.com/shannonbooth ✅
@@ -288,7 +288,7 @@ JS::ThrowCompletionOr<GC::Ref<JS::Object>> EncapsulatedKey::to_object(JS::Realm&
|
||||
return object;
|
||||
}
|
||||
|
||||
JS::ThrowCompletionOr<GC::Ref<JS::Object>> EncapsulatedBits::to_object(JS::Realm& realm)
|
||||
JS::ThrowCompletionOr<GC::Ref<JS::Object>> EncapsulatedBits::to_object(JS::Realm& realm) const
|
||||
{
|
||||
auto object = JS::Object::create(realm, realm.intrinsics().object_prototype());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user