mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-22 18:22:07 +00:00
LibWeb: Convert SandboxingFlagSet into a enum class
Instead of having a nested enum within a struct, use the macro AK_ENUM_BITWISE_OPERATORS to add all the convienent has_flag free functions and such for ease of use.
This commit is contained in:
parent
967cb86c5b
commit
d97b09693e
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/ADKaster
Commit: d97b09693e
Pull-request: https://github.com/SerenityOS/serenity/pull/20822
9 changed files with 39 additions and 41 deletions
|
@ -36,7 +36,7 @@ struct NavigationParams {
|
|||
PolicyContainer policy_container;
|
||||
|
||||
// a sandboxing flag set to impose on the new Document
|
||||
SandboxingFlagSet final_sandboxing_flag_set;
|
||||
SandboxingFlagSet final_sandboxing_flag_set = {};
|
||||
|
||||
// a cross-origin opener policy to use for the new Document
|
||||
CrossOriginOpenerPolicy cross_origin_opener_policy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue