mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
LibWeb: Port AbstractBrowsingContext to String
This commit is contained in:
parent
03d6cb88ff
commit
1080281e58
Notes:
sideshowbarker
2024-07-17 04:10:16 +09:00
Author: https://github.com/kennethmyhra
Commit: 1080281e58
Pull-request: https://github.com/SerenityOS/serenity/pull/18197
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