Skip to content

Commit

Permalink
core(deprecations): ignore warning for ::-webkit-details-marker (#12341)
Browse files Browse the repository at this point in the history
  • Loading branch information
milutin committed Apr 13, 2021
1 parent f3bfb3c commit 802947d
Showing 1 changed file with 5 additions and 1 deletion.
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

0 comments on commit 802947d

Please sign in to comment.