mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:27:35 +00:00
LibWeb+WebContent: Change the "noopener" storage type to a named enum
This commit is contained in:
parent
496b7ffb2b
commit
1b811191cd
7 changed files with 65 additions and 16 deletions
19
Userland/Libraries/LibWeb/HTML/TokenizedFeatures.h
Normal file
19
Userland/Libraries/LibWeb/HTML/TokenizedFeatures.h
Normal 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);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue