mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 17:45:07 +00:00
LibWeb: Port Document interface from DeprecatedString to String
This commit is contained in:
parent
9d88e14f20
commit
e74031a396
15 changed files with 108 additions and 96 deletions
|
@ -91,7 +91,7 @@ JS::GCPtr<DOM::Document> WindowEnvironmentSettingsObject::responsible_document()
|
|||
DeprecatedString WindowEnvironmentSettingsObject::api_url_character_encoding()
|
||||
{
|
||||
// Return the current character encoding of window's associated Document.
|
||||
return m_window->associated_document().encoding_or_default();
|
||||
return m_window->associated_document().encoding_or_default().to_deprecated_string();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/window-object.html#script-settings-for-window-objects:api-base-url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue