File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Userland/Libraries/LibWeb/HTML Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -858,7 +858,7 @@ WebIDL::ExceptionOr<void> Navigable::navigate(
858
858
Optional<SerializationRecord> navigation_api_state,
859
859
Optional<Vector<XHR::FormDataEntry>&> form_data_entry_list,
860
860
ReferrerPolicy::ReferrerPolicy referrer_policy,
861
- UserNaviagationInvolvement user_involvement)
861
+ UserNavigationInvolvement user_involvement)
862
862
{
863
863
auto & active_document = *this ->active_document ();
864
864
auto & realm = active_document.realm ();
@@ -978,7 +978,7 @@ WebIDL::ExceptionOr<void> Navigable::navigate(
978
978
// - navigable's active document's is initial about:blank is false; and
979
979
// - url's scheme is a fetch scheme
980
980
// then:
981
- if (user_involvement != UserNaviagationInvolvement ::BrowserUI && active_document.origin ().is_same_origin_domain (source_document->origin ()) && !active_document.is_initial_about_blank () && Fetch::Infrastructure::is_fetch_scheme (url.scheme ())) {
981
+ if (user_involvement != UserNavigationInvolvement ::BrowserUI && active_document.origin ().is_same_origin_domain (source_document->origin ()) && !active_document.is_initial_about_blank () && Fetch::Infrastructure::is_fetch_scheme (url.scheme ())) {
982
982
// 1. Let navigation be navigable's active window's navigation API.
983
983
auto navigation = active_window ()->navigation ();
984
984
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ enum class CSPNavigationType {
31
31
};
32
32
33
33
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#user-navigation-involvement
34
- enum class UserNaviagationInvolvement {
34
+ enum class UserNavigationInvolvement {
35
35
BrowserUI,
36
36
Activation,
37
37
None,
@@ -123,7 +123,7 @@ class Navigable : public JS::Cell {
123
123
Optional<SerializationRecord> navigation_api_state = {},
124
124
Optional<Vector<XHR::FormDataEntry>&> form_data_entry_list = {},
125
125
ReferrerPolicy::ReferrerPolicy = ReferrerPolicy::ReferrerPolicy::EmptyString,
126
- UserNaviagationInvolvement = UserNaviagationInvolvement ::None);
126
+ UserNavigationInvolvement = UserNavigationInvolvement ::None);
127
127
128
128
WebIDL::ExceptionOr<void > navigate_to_a_fragment (AK::URL const &, HistoryHandlingBehavior, String navigation_id);
129
129
You can’t perform that action at this time.
0 commit comments