Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Audits.DeprecationIssueDetails
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { DeprecationIssueDetails } = Protocol.Audits;

This issue tracks information needed to print a deprecation message. The formatting is inherited from the old console.log version, see more at: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc TODO(crbug.com/1264960): Re-work format to add i18n support per: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md

Properties

optional
affectedFrame: AffectedFrame
sourceCodeLocation: SourceCodeLocation
optional
message: string

The content of an untranslated deprecation issue, e.g. "window.inefficientLegacyStorageMethod will be removed in M97, around January 2022. Please use Web Storage or Indexed Database instead. This standard was abandoned in January, 1970. See https://www.chromestatus.com/feature/5684870116278272 for more details."

deprecationType: string

The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.