1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:37:45 +00:00

LibWeb: Remove old ad-hoc document-loading code

This also removes the code for displaying `gemini://` documents. We
currently don't load documents from that protocol anyway - we hit
`attempt_to_create_a_non_fetch_scheme_document()` in `Navigable.cpp`
which is just a stub. It looks like we should be handling those
separately from regular "fetch" documents, so that's a task for a
future person.
This commit is contained in:
Sam Atkins 2023-12-19 16:44:51 +00:00 committed by Andreas Kling
parent 9733524f8a
commit 5e2fc52b25
2 changed files with 0 additions and 83 deletions

View file

@ -12,7 +12,6 @@
namespace Web {
bool build_xml_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
bool parse_document(DOM::Document& document, ByteBuffer const& data, Optional<String> content_encoding);
JS::GCPtr<DOM::Document> load_document(HTML::NavigationParams navigation_params);
// https://html.spec.whatwg.org/multipage/document-lifecycle.html#read-ua-inline