ladybird/Libraries/LibWeb/ContentSecurityPolicy/Directives/ReportUriDirective.cpp
Luke Wilde ed0230bb93 LibWeb/CSP: Implement the report-uri 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
395 B
C++

/*
* Copyright (c) 2024, Luke Wilde <luke@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <LibWeb/ContentSecurityPolicy/Directives/ReportUriDirective.h>
namespace Web::ContentSecurityPolicy::Directives {
GC_DEFINE_ALLOCATOR(ReportUriDirective);
ReportUriDirective::ReportUriDirective(String name, Vector<String> value)
: Directive(move(name), move(value))
{
}
}