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

LibWeb: De-duplicate definition of url_matches_about_blank

We don't need two static methods for this.
This commit is contained in:
Andrew Kaster 2023-08-28 17:41:09 +02:00 committed by Alexander Kalenik
parent a83668d838
commit a565021147
3 changed files with 5 additions and 12 deletions

View file

@ -21,6 +21,7 @@
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
#include <LibWeb/HTML/NavigableContainer.h>
#include <LibWeb/HTML/Origin.h>
#include <LibWeb/HTML/SandboxingFlagSet.h>
#include <LibWeb/HTML/SessionHistoryEntry.h>
#include <LibWeb/HTML/TokenizedFeatures.h>
#include <LibWeb/HTML/VisibilityState.h>
@ -337,4 +338,7 @@ HTML::Origin determine_the_origin(BrowsingContext const& browsing_context, Optio
HTML::Origin determine_the_origin(AK::URL const& url, SandboxingFlagSet sandbox_flags, Optional<HTML::Origin> source_origin, Optional<HTML::Origin> container_origin);
// FIXME: Find a better home for this
bool url_matches_about_blank(AK::URL const& url);
}