mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibJS: Convert to_utf16_string() to ThrowCompletionOr
This commit is contained in:
parent
4d8912a92b
commit
da59c77fe3
5 changed files with 30 additions and 90 deletions
|
@ -304,7 +304,7 @@ public:
|
|||
u64 encoded() const { return m_value.encoded; }
|
||||
|
||||
ThrowCompletionOr<String> to_string(GlobalObject&) const;
|
||||
Utf16String to_utf16_string(GlobalObject&) const;
|
||||
ThrowCompletionOr<Utf16String> to_utf16_string(GlobalObject&) const;
|
||||
PrimitiveString* to_primitive_string(GlobalObject&);
|
||||
Value to_primitive(GlobalObject&, PreferredType preferred_type = PreferredType::Default) const;
|
||||
Object* to_object(GlobalObject&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue