Aliaksandr Kalenik
2445205e9d
LibWeb: Align session history step application code with latest spec
...
Replaces direct "apply the history step" calls with new functions from
the spec:
- "update for navigable creation/destruction"
- "apply the push/replace history step"
- "apply the reload history step"
2023-09-15 18:27:17 +02:00
Andrew Kaster
0ed67fc0ce
LibWeb: Add virtual to check if a Navigable is a top level traversable
...
This avoids some AK::is casting when we need to check this property in
upcoming algorithms.
2023-08-29 09:39:57 +02:00
Aliaksandr Kalenik
343c709566
LibWeb: Add m_page
in TraversableNavigable
2023-08-22 20:30:06 +02:00
Andreas Kling
5a704453af
LibWeb: Implement "close a top-level traversable"
2023-08-22 20:30:06 +02:00
Aliaksandr Kalenik
d5adb7f10c
LibWeb: Implement "finalize a same-document navigation"
2023-08-20 16:06:56 +02:00
Aliaksandr Kalenik
08788072c1
LibWeb: Add SessionHistoryTraversalQueue
2023-08-14 17:46:46 +02:00
Timothy Flynn
c911781c21
Everywhere: Remove needless trailing semi-colons after functions
...
This is a new option in clang-format-16.
2023-07-08 10:32:56 +01:00
Andreas Kling
40e7f64433
LibWeb: Implement most of "destroy a top-level traversable"
...
Co-authored-by: Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
2023-06-21 16:26:44 +02:00
Aliaksandr Kalenik
ffd5b3da16
LibWeb: Implement reload for navigables
2023-06-20 18:30:27 +02:00
Aliaksandr Kalenik
aafa09e7a5
LibWeb: Implement "traverse the history by delta" for traversables
2023-06-20 17:36:44 +02:00
Aliaksandr Kalenik
c90136d48d
LibWeb: Start fleshing out "apply the history step" for traversables
...
Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#apply-the-history-step
2023-06-19 21:28:20 +02:00
Aliaksandr Kalenik
caf7fd4f19
LibWeb: Add supporting method to get navigables whose SHE will change
...
Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#get-all-navigables-whose-current-session-history-entry-will-change-or-reload
2023-06-19 21:28:20 +02:00
Aliaksandr Kalenik
9c1087de8c
LibWeb: Implement "get the used step" for traversable navigables
...
Implements https://html.spec.whatwg.org/multipage/browsing-the-web.html#getting-the-used-step
2023-06-19 21:28:20 +02:00
Aliaksandr Kalenik
5b06e43938
LibWeb: Implement get_the_history_object_length_and_index()
2023-06-19 21:28:20 +02:00
Aliaksandr Kalenik
0444df1a7c
LibWeb: Implement "clear the forward session history" for traversable
...
https://html.spec.whatwg.org/multipage/browsing-the-web.html#clear-the-forward-session-history
2023-05-08 17:53:59 +02:00
Aliaksandr Kalenik
62bc8590ad
LibWeb: Implement "get all used history steps" for traversables
...
https://html.spec.whatwg.org/multipage/browsing-the-web.html#getting-all-used-history-steps
2023-04-28 18:11:44 +02:00
Aliaksandr Kalenik
6660eb3e1b
LibWeb: Add non-const session_history_entries getter in traversable
2023-04-28 18:11:44 +02:00
Aliaksandr Kalenik
3c89286467
LibWeb: Implement creation of fresh top-level traversables
...
Co-authored-by: Andreas Kling <kling@serenityos.org>
2023-04-26 15:51:50 +02:00
Andreas Kling
74a6f50c91
LibWeb: Add HTML::TraversableNavigable
...
This is the "traversable navigable" concept from the HTML spec.
Co-authored-by: Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
2023-04-19 18:26:45 +02:00