mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
LibJS: Convert internal_prevent_extensions() to ThrowCompletionOr
This commit is contained in:
parent
9b4362f10a
commit
73bae7d779
12 changed files with 22 additions and 30 deletions
|
@ -52,7 +52,7 @@ JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_is_extensible() const
|
|||
return m_window_object->internal_is_extensible();
|
||||
}
|
||||
|
||||
bool ConsoleGlobalObject::internal_prevent_extensions()
|
||||
JS::ThrowCompletionOr<bool> ConsoleGlobalObject::internal_prevent_extensions()
|
||||
{
|
||||
return m_window_object->internal_prevent_extensions();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue