mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibWeb: Return DOMException instead of crashing when setting attributes
This commit is contained in:
parent
6891676fce
commit
5d3b7a5ecc
24 changed files with 57 additions and 51 deletions
|
@ -30,8 +30,8 @@ public:
|
|||
unsigned width() const;
|
||||
unsigned height() const;
|
||||
|
||||
void set_width(unsigned);
|
||||
void set_height(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_width(unsigned);
|
||||
WebIDL::ExceptionOr<void> set_height(unsigned);
|
||||
|
||||
DeprecatedString to_data_url(DeprecatedString const& type, Optional<double> quality) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue