mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:38:11 +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
|
@ -17,7 +17,7 @@ public:
|
|||
virtual ~HTMLBaseElement() override;
|
||||
|
||||
DeprecatedString href() const;
|
||||
void set_href(DeprecatedString const& href);
|
||||
WebIDL::ExceptionOr<void> set_href(DeprecatedString const& href);
|
||||
|
||||
AK::URL const& frozen_base_url() const { return m_frozen_base_url; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue