1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00

Browser: Add error page

Add a simple HTML error page that gets loaded into the HtmlView when
loading the page fails.

Closes #1210 and #1516
This commit is contained in:
Linus Groh 2020-03-31 23:59:11 +01:00 committed by Andreas Kling
parent b1365d94f4
commit 021d78f8f7
5 changed files with 79 additions and 28 deletions

View file

@ -50,6 +50,7 @@ public:
void reload();
void load(const URL&);
void load_error_page(const URL&, const String& error);
void scroll_to_anchor(const StringView&);
URL url() const;