LibWeb/HTML: Update get_an_elements_noopener() to current spec

Note that this preemptively includes this fix to step 3:
https://github.com/whatwg/html/pull/10962
This commit is contained in:
Sam Atkins 2025-01-29 16:56:55 +00:00 committed by Tim Ledbetter
commit 1bd73184da
Notes: github-actions[bot] 2025-01-31 17:28:04 +00:00
7 changed files with 25 additions and 11 deletions

View file

@ -59,7 +59,7 @@ protected:
virtual bool hyperlink_element_utils_is_html_anchor_element() const = 0;
virtual bool hyperlink_element_utils_is_connected() const = 0;
virtual String hyperlink_element_utils_get_an_elements_target(Optional<String> target = {}) const = 0;
virtual TokenizedFeature::NoOpener hyperlink_element_utils_get_an_elements_noopener(StringView target) const = 0;
virtual TokenizedFeature::NoOpener hyperlink_element_utils_get_an_elements_noopener(URL::URL const& url, StringView target) const = 0;
virtual void hyperlink_element_utils_queue_an_element_task(HTML::Task::Source source, Function<void()> steps) = 0;