mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
This doesn't do anything by itself, the report a violation algorithm will handle this directive itself.
18 lines
395 B
C++
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))
|
|
{
|
|
}
|
|
|
|
}
|