Add and empty [Navigation](https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface) interface, behind the dom.navigation.webidl.enabled pref.
Bug 1895257 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Add and empty [Navigation](https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigation-interface) interface, behind the `dom.navigation.webidl.enabled` pref and expose it through `Window.navigation`, behind the same pref.
Since all of the navigation methods will probably share functionality we'll implement them together. In case of segmented landing make sure to split off bugs for each separate method. ``` NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {}); NavigationResult reload(optional NavigationReloadOptions options = {}); NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {}); NavigationResult back(optional NavigationOptions options = {}); NavigationResult forward(optional NavigationOptions options = {}); ```