mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10: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:
parent
b1365d94f4
commit
021d78f8f7
5 changed files with 79 additions and 28 deletions
|
@ -41,7 +41,7 @@ class ResourceLoader : public Core::Object {
|
|||
public:
|
||||
static ResourceLoader& the();
|
||||
|
||||
void load(const URL&, Function<void(const ByteBuffer&)>);
|
||||
void load(const URL&, Function<void(const ByteBuffer&)> success_callback, Function<void(const String&)> error_callback = nullptr);
|
||||
|
||||
Function<void()> on_load_counter_change;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue