mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
LibWeb: Port CrossOriginOpenerPolicy from DeprecatedString
Noone is using the members yet, so this is straight forward!
This commit is contained in:
parent
1b05598cd3
commit
49a48fcfac
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/DeprecatedString.h>
|
||||
#include <AK/String.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -24,13 +24,13 @@ struct CrossOriginOpenerPolicy {
|
|||
CrossOriginOpenerPolicyValue value { CrossOriginOpenerPolicyValue::UnsafeNone };
|
||||
|
||||
// A reporting endpoint, which is string or null, initially null.
|
||||
Optional<DeprecatedString> reporting_endpoint;
|
||||
Optional<String> reporting_endpoint;
|
||||
|
||||
// A report-only value, which is a cross-origin opener policy value, initially "unsafe-none".
|
||||
CrossOriginOpenerPolicyValue report_only_value { CrossOriginOpenerPolicyValue::UnsafeNone };
|
||||
|
||||
// A report-only reporting endpoint, which is a string or null, initially null.
|
||||
Optional<DeprecatedString> report_only_reporting_endpoint;
|
||||
Optional<String> report_only_reporting_endpoint;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue