Skip to content

Switch deprecations audit from ChromeConsoleMessages => ReportingObserver #5707

@ebidel

Description

@ebidel

The current impl uses the ChromeConsoleMessages gatherer and filters on message.type === 'deprecation'.

This works great, but ReportingObserver provides a better structured API intended for observing deprecations. It has other nice feature like buffering (can include deprecations that happen before the observer was added to the page) useful fields like anticipatedRemoval:

screen shot 2018-07-23 at 9 53 29 am

Switching to a ReportingObserver-based would set us up nicely for future audits that use the Reporting API: CSP violations, feature policy violations, browser interventions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions