mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
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:
committed by
Tim Ledbetter
parent
6bc38832af
commit
1bd73184da
@@ -250,7 +250,7 @@ WebIDL::ExceptionOr<void> HTMLFormElement::submit_form(GC::Ref<HTMLElement> subm
|
||||
auto target = get_an_elements_target(form_target);
|
||||
|
||||
// 21. Let noopener be the result of getting an element's noopener with form, parsed action, and target.
|
||||
auto no_opener = get_an_elements_noopener(target);
|
||||
auto no_opener = get_an_elements_noopener(*parsed_action, target);
|
||||
|
||||
// 22. Let targetNavigable be the first return value of applying the rules for choosing a navigable given target,
|
||||
// form's node navigable, and noopener.
|
||||
|
||||
Reference in New Issue
Block a user