Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Audits.DeprecationIssueDetails

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Audits.DeprecationIssueDetails
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.