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

LibWeb+WebContent: Change the "noopener" storage type to a named enum

This commit is contained in:
Timothy Flynn 2023-03-21 06:52:29 -04:00 committed by Andreas Kling
parent 496b7ffb2b
commit 1b811191cd
7 changed files with 65 additions and 16 deletions

View file

@ -0,0 +1,19 @@
/*
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Web::HTML::TokenizedFeature {
#define TOKENIZED_FEATURE(Feature) \
enum class Feature { \
Yes, \
No, \
}
TOKENIZED_FEATURE(NoOpener);
}