mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Return DOMException instead of crashing when setting attributes
This commit is contained in:
committed by
Andreas Kling
parent
6891676fce
commit
5d3b7a5ecc
@@ -37,10 +37,10 @@ public:
|
||||
RefPtr<Gfx::Bitmap const> bitmap() const;
|
||||
|
||||
unsigned width() const;
|
||||
void set_width(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_width(unsigned);
|
||||
|
||||
unsigned height() const;
|
||||
void set_height(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_height(unsigned);
|
||||
|
||||
unsigned natural_width() const;
|
||||
unsigned natural_height() const;
|
||||
|
||||
Reference in New Issue
Block a user