mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Remove API URL character encoding
See https://github.com/whatwg/html/pull/9755/
This commit is contained in:
Notes:
github-actions[bot]
2026-01-13 13:52:43 +00:00
Author: https://github.com/Gingeh Commit: https://github.com/LadybirdBrowser/ladybird/commit/fbde887cc8c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7454 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user