InterventionReportBody Class

The body of the reports of type intervention (https://wicg.github.io/intervention-reporting/): a request of a document that the user agent did not honor (e.g. a preventDefault() call in a listener that is passive by default).

public sealed class InterventionReportBody : ReportBody
Inheritance
ReportBody InterventionReportBody

Properties

NameDescription
ColumnNumberGets the column of the script that caused the intervention, or null.
IdGets the identifier of the intervention (the name used by Chromium, e.g. PreventDefaultPassive).
LineNumberGets the line of the script that caused the intervention, or null.
MessageGets a message that describes the intervention.
SourceFileGets the URL of the script that caused the intervention, or null.

Gets the column of the script that caused the intervention, or null.

public int? ColumnNumber { get; init; }

Gets the identifier of the intervention (the name used by Chromium, e.g. PreventDefaultPassive).

public string Id { get; init; }

Gets the line of the script that caused the intervention, or null.

public int? LineNumber { get; init; }

Gets a message that describes the intervention.

public string Message { get; init; }

Gets the URL of the script that caused the intervention, or null.

public string? SourceFile { get; init; }