mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
AK+LibWeb: Move generation of random UUIDs into AK
This will let us use this more outside of LibWeb more easily. Stop handling tiny OOM while we are here.
This commit is contained in:
Notes:
github-actions[bot]
2026-03-24 16:07:31 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/58791db8181 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8589 Reviewed-by: https://github.com/shannonbooth
@@ -1685,7 +1685,7 @@ void Navigable::begin_navigation(NavigateParams params)
|
||||
// NOTE: This step is handled in Navigable::navigate()
|
||||
|
||||
// 7. Let navigationId be the result of generating a random UUID.
|
||||
String navigation_id = MUST(Crypto::generate_random_uuid());
|
||||
auto navigation_id = Crypto::generate_random_uuid();
|
||||
|
||||
// FIXME: 8. If the surrounding agent is equal to navigable's active document's relevant agent, then continue these steps.
|
||||
// Otherwise, queue a global task on the navigation and traversal task source given navigable's active window to continue these steps.
|
||||
|
||||
Reference in New Issue
Block a user