1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

LibWeb/HTML: Port Window.btoa() to IDL

This commit is contained in:
Linus Groh 2023-03-06 11:14:45 +00:00
parent 94f1eff291
commit 192f5e61f6
3 changed files with 3 additions and 20 deletions

View file

@ -46,6 +46,8 @@ public:
~Window();
using WindowOrWorkerGlobalScopeMixin::btoa;
// ^DOM::EventTarget
virtual bool dispatch_event(DOM::Event&) override;
@ -265,7 +267,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(request_animation_frame);
JS_DECLARE_NATIVE_FUNCTION(cancel_animation_frame);
JS_DECLARE_NATIVE_FUNCTION(atob);
JS_DECLARE_NATIVE_FUNCTION(btoa);
JS_DECLARE_NATIVE_FUNCTION(focus);
JS_DECLARE_NATIVE_FUNCTION(get_computed_style);