mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +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
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