LibWeb/HTML: Implement the exception checks for Document.domain setter

This commit is contained in:
Shannon Booth 2025-06-26 15:10:40 +12:00 committed by Shannon Booth
commit 20d369b96d
Notes: github-actions[bot] 2025-06-27 06:46:56 +00:00
7 changed files with 258 additions and 2 deletions

View file

@ -606,7 +606,7 @@ public:
void set_about_base_url(Optional<URL::URL> url) { m_about_base_url = url; }
String domain() const;
void set_domain(String const&);
WebIDL::ExceptionOr<void> set_domain(String const&);
auto& pending_scroll_event_targets() { return m_pending_scroll_event_targets; }
auto& pending_scrollend_event_targets() { return m_pending_scrollend_event_targets; }