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

LibWeb: Implement HTMLCanvasElement.toBlob()

This commit is contained in:
Karol Kosek 2023-08-03 01:29:31 +02:00 committed by Andreas Kling
parent 3239f0fb7b
commit b731705fec
4 changed files with 52 additions and 1 deletions

View file

@ -34,6 +34,7 @@ public:
WebIDL::ExceptionOr<void> set_height(unsigned);
DeprecatedString to_data_url(DeprecatedString const& type, Optional<double> quality) const;
WebIDL::ExceptionOr<void> to_blob(JS::NonnullGCPtr<WebIDL::CallbackType> callback, DeprecatedString const& type, Optional<double> quality);
void present();