mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
LibWeb: Port AbstractBrowsingContext to String
This commit is contained in:
parent
03d6cb88ff
commit
1080281e58
4 changed files with 7 additions and 7 deletions
|
@ -58,7 +58,7 @@ void BrowsingContextContainer::create_new_nested_browsing_context()
|
|||
|
||||
// 4. If element has a name attribute, then set browsingContext's name to the value of this attribute.
|
||||
if (auto name = attribute(HTML::AttributeNames::name); !name.is_empty())
|
||||
m_nested_browsing_context->set_name(name);
|
||||
m_nested_browsing_context->set_name(String::from_deprecated_string(name).release_value_but_fixme_should_propagate_errors());
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/browsers.html#concept-bcc-content-document
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue