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
parent 6bc38832af
commit 1bd73184da
7 changed files with 25 additions and 11 deletions

View File

@@ -117,7 +117,7 @@ public:
virtual Optional<ARIA::Role> default_role() const override;
String get_an_elements_target(Optional<String> target = {}) const;
TokenizedFeature::NoOpener get_an_elements_noopener(StringView target) const;
TokenizedFeature::NoOpener get_an_elements_noopener(URL::URL const& url, StringView target) const;
WebIDL::ExceptionOr<GC::Ref<ElementInternals>> attach_internals();