mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 17:48:37 +00:00
LibWeb: Implement navigation.reload()
This has the same issue as navigate(), in that we currently cannot guarantee that there is a valid navigable on every fully loaded document.
This commit is contained in:
parent
b66f65dc9e
commit
798a1b2751
Notes:
sideshowbarker
2024-07-16 20:05:14 +09:00
Author: https://github.com/ADKaster
Commit: 798a1b2751
Pull-request: https://github.com/SerenityOS/serenity/pull/20780
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/kalenikaliaksandr
3 changed files with 62 additions and 5 deletions
|
@ -14,9 +14,8 @@ interface Navigation : EventTarget {
|
|||
readonly attribute boolean canGoBack;
|
||||
readonly attribute boolean canGoForward;
|
||||
|
||||
// TODO: Actually implement navigation algorithms
|
||||
NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
|
||||
// NavigationResult reload(optional NavigationReloadOptions options = {});
|
||||
NavigationResult reload(optional NavigationReloadOptions options = {});
|
||||
|
||||
// NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
|
||||
// NavigationResult back(optional NavigationOptions options = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue