LibWeb: Perform DOMTokenList token validation in the correct order

This commit is contained in:
Tim Ledbetter 2024-07-23 13:10:50 +01:00 committed by Andreas Kling
commit 0127190dcf
Notes: github-actions[bot] 2024-07-25 04:44:23 +00:00
4 changed files with 26 additions and 2 deletions

View file

@ -51,6 +51,8 @@ private:
virtual void visit_edges(Cell::Visitor&) override;
WebIDL::ExceptionOr<void> validate_token(StringView token) const;
WebIDL::ExceptionOr<void> validate_token_not_empty(StringView token) const;
WebIDL::ExceptionOr<void> validate_token_not_whitespace(StringView token) const;
void run_update_steps();
String serialize_ordered_set() const;