mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:17:45 +00:00
LibWeb: Implement Navigable::target_name()
This commit is contained in:
parent
a482166087
commit
088af86c90
1 changed files with 2 additions and 3 deletions
|
@ -208,9 +208,8 @@ JS::GCPtr<HTML::Window> Navigable::active_window()
|
||||||
// https://html.spec.whatwg.org/multipage/document-sequences.html#nav-target
|
// https://html.spec.whatwg.org/multipage/document-sequences.html#nav-target
|
||||||
String Navigable::target_name() const
|
String Navigable::target_name() const
|
||||||
{
|
{
|
||||||
// FIXME: A navigable's target name is its active session history entry's document state's navigable target name.
|
// A navigable's target name is its active session history entry's document state's navigable target name.
|
||||||
dbgln("FIXME: Implement Navigable::target_name()");
|
return active_session_history_entry()->document_state->navigable_target_name();
|
||||||
return {};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/document-sequences.html#nav-container
|
// https://html.spec.whatwg.org/multipage/document-sequences.html#nav-container
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue