LibWeb/CSS: Implement FontFaceSet.onloadingerror

This commit is contained in:
Jamie Mansfield 2024-06-06 20:02:55 +01:00 committed by Andreas Kling
commit bbd82265e1
Notes: sideshowbarker 2024-07-17 03:19:14 +09:00
4 changed files with 16 additions and 1 deletions

View file

@ -35,6 +35,8 @@ public:
WebIDL::CallbackType* onloading();
void set_onloadingdone(WebIDL::CallbackType*);
WebIDL::CallbackType* onloadingdone();
void set_onloadingerror(WebIDL::CallbackType*);
WebIDL::CallbackType* onloadingerror();
JS::ThrowCompletionOr<JS::NonnullGCPtr<JS::Promise>> load(String const& font, String const& text);