1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:15:09 +00:00

LibWeb: Return DOMException instead of crashing when setting attributes

This commit is contained in:
PrestonLTaylor 2023-05-25 20:37:57 +01:00 committed by Andreas Kling
parent 6891676fce
commit 5d3b7a5ecc
24 changed files with 57 additions and 51 deletions

View file

@ -19,8 +19,8 @@ public:
unsigned col_span() const;
unsigned row_span() const;
void set_col_span(unsigned);
void set_row_span(unsigned);
WebIDL::ExceptionOr<void> set_col_span(unsigned);
WebIDL::ExceptionOr<void> set_row_span(unsigned);
virtual Optional<ARIA::Role> default_role() const override;