mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:17:34 +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:
parent
24510b0845
commit
a8bdf866d9
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
// 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.
|
// 7. Return newBrowsingContext.
|
||||||
return new_browsing_context;
|
return new_browsing_context;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue