mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS: Convert StringConstructor functions to ThrowCompletionOr
This commit is contained in:
committed by
Andreas Kling
parent
f27d768745
commit
28e1e03234
Notes:
sideshowbarker
2024-07-18 02:00:45 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/28e1e03234c Pull-request: https://github.com/SerenityOS/serenity/pull/10586
@@ -24,9 +24,9 @@ public:
|
||||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(raw);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_char_code);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_code_point);
|
||||
JS_DECLARE_NATIVE_FUNCTION(raw);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_char_code);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_code_point);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user