InterventionReportBody class
The interface of the Reporting API represents the body of an intervention report. An intervention report is generated when usage of a feature in a web document has been blocked by the browser for reasons such as security, performance, or user annoyance. So for example, a script was been stopped because it was significantly slowing down the browser, or the browser's autoplay policy blocked audio from playing without a user gesture to trigger it. A deprecation report is generated when a deprecated feature (for example a deprecated API method) is used on a document being observed by a ReportingObserver. In addition to the support of this API, receiving useful intervention warnings relies on browser vendors adding these warnings for the relevant features.
ReportBody
InterventionReportBody
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- InterventionReportBody()
-
factory
Properties
- columnNumber → int?
-
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
no setter - lineNumber → int?
-
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
no setter - message → String
-
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFile → String?
-
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → dynamic -
Available on InterventionReportBody, provided by the PropsInterventionReportBody extension
-
toJSON(
) → dynamic -
Available on ReportBody, provided by the PropsReportBody extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited