LibWeb: Remove API URL character encoding

See https://github.com/whatwg/html/pull/9755/
This commit is contained in:
Gingeh
2026-01-13 21:40:14 +11:00
committed by Sam Atkins
parent 68a349974c
commit fbde887cc8
Notes: github-actions[bot] 2026-01-13 13:52:43 +00:00
9 changed files with 0 additions and 20 deletions

View File

@@ -90,13 +90,6 @@ GC::Ptr<DOM::Document> WindowEnvironmentSettingsObject::responsible_document()
return m_window->associated_document();
}
// https://html.spec.whatwg.org/multipage/window-object.html#script-settings-for-window-objects:api-url-character-encoding
String WindowEnvironmentSettingsObject::api_url_character_encoding() const
{
// Return the current character encoding of window's associated Document.
return m_window->associated_document().encoding_or_default();
}
// https://html.spec.whatwg.org/multipage/window-object.html#script-settings-for-window-objects:api-base-url
URL::URL WindowEnvironmentSettingsObject::api_base_url() const
{