mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:45:06 +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
|
@ -36,7 +36,7 @@ public:
|
|||
|
||||
DeprecatedString type() const;
|
||||
TypeAttributeState type_state() const;
|
||||
void set_type(DeprecatedString const&);
|
||||
WebIDL::ExceptionOr<void> set_type(DeprecatedString const&);
|
||||
|
||||
// ^EventTarget
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute:the-button-element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue