dymokomi/luce-browser-engine
Source of release 0.6.0
0.6.0 / src / web / content_security_policy / directives / report_to_directive.lucb
#==============================================================================================
#
# report_to_directive - ContentSecurityPolicy::Directives::ReportToDirective
# (the report-to directive): only its constructor
#
# DESCRIPTION:
# Port of Libraries/LibWeb/ContentSecurityPolicy/Directives/ReportToDirective.cpp
# (lines 1-18).
#
# Copyright (c) 2024, Luke Wilde <luke@ladybird.org>
# SPDX-License-Identifier: BSD-2-Clause
#
#==============================================================================================
## Ported from Libraries/LibWeb/ContentSecurityPolicy/Directives/ReportToDirective.cpp:13 Web::ContentSecurityPolicy::Directives::ReportToDirective::ReportToDirective.
func content_security_policy_report_to_directive_construct(this: ContentSecurityPolicyReportToDirective*, name: ak.String, value: ak.Vector[ak.String]):
content_security_policy_directive_construct(this.content_security_policy_directive(), name, value)