mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 15:40:28 +00:00
This doesn't do anything by itself, the report a violation algorithm will handle this directive itself.
18 lines
391 B
C++
18 lines
391 B
C++
/*
|
|
* Copyright (c) 2024, Luke Wilde <luke@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/ContentSecurityPolicy/Directives/ReportToDirective.h>
|
|
|
|
namespace Web::ContentSecurityPolicy::Directives {
|
|
|
|
GC_DEFINE_ALLOCATOR(ReportToDirective);
|
|
|
|
ReportToDirective::ReportToDirective(String name, Vector<String> value)
|
|
: Directive(move(name), move(value))
|
|
{
|
|
}
|
|
|
|
}
|