mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Report URI with POST fetch request (#37209)
Part of #4577 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
1b5a10a55f
commit
63cfeb3a18
22 changed files with 277 additions and 119 deletions
|
@ -3501,7 +3501,8 @@ impl GlobalScope {
|
|||
Some(event_target) => Trusted::new(event_target.upcast()),
|
||||
};
|
||||
// Step 3: Queue a task to run the following steps:
|
||||
let task = CSPViolationReportTask::new(Trusted::new(self), target, report);
|
||||
let task =
|
||||
CSPViolationReportTask::new(Trusted::new(self), target, report, violation.policy);
|
||||
self.task_manager()
|
||||
.dom_manipulation_task_source()
|
||||
.queue(task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue