mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb+WebContent: Label redirects with new FrameLoader::Type::Redirect
Previously we labeled redirects as normal FrameLoader::Type::Navigation, now we introduce a new FrameLoader::Type::Redirect and label redirects with it. This will allow us to handle redirects in the browser differently (such as for overwritting the latest history entry when a redirect happens) :^)
This commit is contained in:
parent
45a59b4d7e
commit
45214fdb1a
Notes:
sideshowbarker
2024-07-17 04:02:43 +09:00
Author: https://github.com/Baitinq
Commit: 45214fdb1a
Pull-request: https://github.com/SerenityOS/serenity/pull/16004
Reviewed-by: https://github.com/davidot ✅
12 changed files with 16 additions and 15 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
endpoint WebContentClient
|
||||
{
|
||||
did_start_loading(URL url) =|
|
||||
did_start_loading(URL url, bool is_redirect) =|
|
||||
did_finish_loading(URL url) =|
|
||||
did_request_navigate_back() =|
|
||||
did_request_navigate_forward() =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue