Class DeprecationIssueDetails


  • public class DeprecationIssueDetails
    extends java.lang.Object
    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
    • Constructor Detail

      • DeprecationIssueDetails

        public DeprecationIssueDetails​(java.util.Optional<AffectedFrame> affectedFrame,
                                       SourceCodeLocation sourceCodeLocation,
                                       java.util.Optional<java.lang.String> message)
    • Method Detail

      • getAffectedFrame

        public java.util.Optional<AffectedFrame> getAffectedFrame()
      • getMessage

        @Deprecated
        public java.util.Optional<java.lang.String> getMessage()
        Deprecated.
        The content of the deprecation issue (this won't be translated), 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."