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

@@ -21,7 +21,7 @@ public:
virtual ~HTMLTableElement() override;
JS::GCPtr<HTMLTableCaptionElement> caption();
void set_caption(HTMLTableCaptionElement*);
WebIDL::ExceptionOr<void> set_caption(HTMLTableCaptionElement*);
JS::NonnullGCPtr<HTMLTableCaptionElement> create_caption();
void delete_caption();