1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

LibWeb: Discard old browsing context after obtaining a new one

Cleaning up an old FIXME from before discard was implemented.
This commit is contained in:
Andreas Kling 2022-10-16 15:16:25 +02:00
parent 24510b0845
commit a8bdf866d9

View file

@ -116,7 +116,8 @@ static NonnullRefPtr<HTML::BrowsingContext> obtain_a_browsing_context_to_use_for
// 3. Set newBrowsingContext's popup sandboxing flag set to a clone of sandboxFlags.
}
// FIXME: 6. Discard browsingContext.
// 6. Discard browsingContext.
browsing_context.discard();
// 7. Return newBrowsingContext.
return new_browsing_context;