mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 23:42:17 +00:00
LibJS: Replace GlobalObject with VM in remaining AOs [Part 19/19]
This commit is contained in:
parent
25849f8a6d
commit
56b2ae5ac0
Notes:
sideshowbarker
2024-07-17 07:53:23 +09:00
Author: https://github.com/linusg
Commit: 56b2ae5ac0
Pull-request: https://github.com/SerenityOS/serenity/pull/14973
Reviewed-by: https://github.com/davidot ✅
46 changed files with 173 additions and 207 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -14,8 +14,8 @@ namespace JS {
|
|||
|
||||
// 6.2.5 The Property Descriptor Specification Type, https://tc39.es/ecma262/#sec-property-descriptor-specification-type
|
||||
|
||||
Value from_property_descriptor(GlobalObject&, Optional<PropertyDescriptor> const&);
|
||||
ThrowCompletionOr<PropertyDescriptor> to_property_descriptor(GlobalObject&, Value);
|
||||
Value from_property_descriptor(VM&, Optional<PropertyDescriptor> const&);
|
||||
ThrowCompletionOr<PropertyDescriptor> to_property_descriptor(VM&, Value);
|
||||
|
||||
class PropertyDescriptor {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue