From 802947d2d4b97b03912b9756c8b4607568523ee0 Mon Sep 17 00:00:00 2001 From: Milutin Kristofic Date: Tue, 13 Apr 2021 20:42:25 +0200 Subject: [PATCH] core(deprecations): ignore warning for ::-webkit-details-marker (#12341) --- lighthouse-core/audits/deprecations.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lighthouse-core/audits/deprecations.js b/lighthouse-core/audits/deprecations.js index 01299661983d..237ca29a0e82 100644 --- a/lighthouse-core/audits/deprecations.js +++ b/lighthouse-core/audits/deprecations.js @@ -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),