Andreas Kling
b3c4514902
LibWeb: Don't call an absent error callback in load_sync()
...
Make ResourceLoader::load_sync() match load() in checking if the
error_callback is null before actually calling it.
Fixes #1623 .
2020-04-04 14:17:39 +02:00
Andreas Kling
18d45d1082
LibWeb: Add ResourceLoader::load_sync()
...
This function creates a nested event loop and runs a load() operation
inside it, returning only once the load has either succeeded or failed.
This will be used to implement blocking loads (ew!)
2020-04-03 22:58:05 +02:00
Linus Groh
021d78f8f7
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
2020-04-01 18:49:48 +02:00
Andreas Kling
830a57c6b2
LibWeb: Rename directory LibHTML => LibWeb
...
Let's rename this to LibWeb since it aims to provide more parts of the
web platform than just HTML. :^)
2020-03-07 10:32:51 +01:00