Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core(deprecations): ignore warning for ::-webkit-details-marker #12341

Merged
merged 10 commits into from
Apr 13, 2021
6 changes: 5 additions & 1 deletion lighthouse-core/audits/deprecations.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ class Deprecations extends Audit {
static audit(artifacts) {
const entries = artifacts.ConsoleMessages;

const deprecations = entries.filter(log => log.source === 'deprecation').map(log => {
const deprecations = entries.filter(log => log.source === 'deprecation')
// TODO(M91): Temporary ignore until Chrome M91 became stable version.
// M91 doesn't throw deprecation on ::-webkit-details-marker.
.filter(log => !log.text.includes('::-webkit-details-marker'))
.map(log => {
return {
value: log.text,
source: Audit.makeSourceLocationFromConsoleMessage(log),
Expand Down