mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Return DOMException instead of crashing when setting attributes
This commit is contained in:
committed by
Andreas Kling
parent
6891676fce
commit
5d3b7a5ecc
@@ -20,10 +20,10 @@ public:
|
||||
virtual JS::GCPtr<Layout::Node> create_layout_node(NonnullRefPtr<CSS::StyleProperties>) override;
|
||||
|
||||
double value() const;
|
||||
void set_value(double);
|
||||
WebIDL::ExceptionOr<void> set_value(double);
|
||||
|
||||
double max() const;
|
||||
void set_max(double value);
|
||||
WebIDL::ExceptionOr<void> set_max(double value);
|
||||
|
||||
double position() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user