Skip to content
Learn Measure Blog Case studies About
On this page
  • How the Lighthouse deprecated API audit fails
  • How to remove deprecated APIs
  • Resources

Uses deprecated APIs

May 2, 2019 — Updated Aug 28, 2019
Appears in: Best Practices audits
On this page
  • How the Lighthouse deprecated API audit fails
  • How to remove deprecated APIs
  • Resources

Deprecated APIs are scheduled to be removed from Chrome. Calling these APIs after they're removed causes errors on your site.

How the Lighthouse deprecated API audit fails #

Lighthouse flags pages that call deprecated APIs:

Lighthouse audit shows usage of deprecated APIs

Lighthouse includes all deprecated API warnings that Chrome logs to the DevTools Console.

Each Best Practices audit is weighted equally in the Lighthouse Best Practices Score. Learn more in The Best Practices score.

How to remove deprecated APIs #

Go to Chrome Platform Status and expand the entries for the APIs that you're using to learn why the APIs are deprecated and how to replace them.

Resources #

  • Source code for Uses deprecated APIs audit
  • Chrome Platform Status
Last updated: Aug 28, 2019 — Improve article
Return to all articles
Share
subscribe

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Web Fundamentals
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies.