mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-14 06:11:55 +00:00
LibWeb: Fix various typos
Corresponds to: - https://github.com/whatwg/html/pull/10934 - https://github.com/whatwg/html/pull/10950
This commit is contained in:
parent
c5d793c4a9
commit
3775f3399c
Notes:
github-actions[bot]
2025-01-30 15:01:16 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3775f3399c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3404
13 changed files with 25 additions and 26 deletions
|
@ -605,8 +605,7 @@ GC::Ref<NavigationAPIMethodTracker> Navigation::add_an_upcoming_traverse_api_met
|
|||
/* .committed_promise = */ committed_promise,
|
||||
/* .finished_promise = */ finished_promise);
|
||||
|
||||
// 4. Set navigation's upcoming traverse API method trackers[key] to apiMethodTracker.
|
||||
// FIXME: Fix spec typo key --> destinationKey
|
||||
// 4. Set navigation's upcoming traverse API method trackers[destinationKey] to apiMethodTracker.
|
||||
m_upcoming_traverse_api_method_trackers.set(destination_key, api_method_tracker);
|
||||
|
||||
// 5. Return apiMethodTracker.
|
||||
|
@ -1116,9 +1115,8 @@ bool Navigation::inner_navigate_event_firing_algorithm(
|
|||
if (navigation_type == Bindings::NavigationType::Traverse)
|
||||
m_suppress_scroll_restoration_during_ongoing_navigation = true;
|
||||
|
||||
// FIXME: Fix spec typo "serialied"
|
||||
// 7. If navigationType is "push" or "replace", then run the URL and history update steps given document and
|
||||
// event's destination's URL, with serialiedData set to event's classic history API state and historyHandling
|
||||
// event's destination's URL, with serializedData set to event's classic history API state and historyHandling
|
||||
// set to navigationType.
|
||||
if (navigation_type == Bindings::NavigationType::Push || navigation_type == Bindings::NavigationType::Replace) {
|
||||
auto history_handling = navigation_type == Bindings::NavigationType::Push ? HistoryHandlingBehavior::Push : HistoryHandlingBehavior::Replace;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue