ladybird/Libraries/LibWeb/ContentSecurityPolicy/Directives/ReportToDirective.cpp
Luke Wilde 855e17529c LibWeb/CSP: Implement the report-to directive
This doesn't do anything by itself, the report a violation algorithm
will handle this directive itself.
2025-08-07 19:24:39 +02:00

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))
{
}
}