Skip to content

Deprecation warning Chrome 64 chrome.loadTimes() #858

Closed
@mudrz

Description

@mudrz

I am opening this issue in all 3 affected libraries (create-react-app facebook/create-react-app#4072 , html-webpack-plugin #858 , bluebird petkaantonov/bluebird#1505)

Is this a bug report?

No, it is a deprecation warning

Environment

  1. node -v: 8.5.0

  2. npm -v: 5.6.0

  3. yarn --version (if you use Yarn): 1.3.2

  4. npm ls react-scripts (if you haven’t ejected): 1.1.1

  5. Operating system: MacOS High Sierra 10.13.3

  6. Browser and version (if relevant): Chrome 64

Steps to Reproduce

  1. create-react-app test
  2. cd test
  3. yarn start
  4. Open with Chrome 64+

Behavior

Chrome 64 displays warnings (more annoyingly - even in production):
[Deprecation] chrome.loadTimes() is deprecated, instead use standardized API: nextHopProtocol in Navigation Timing 2.

It is related to:
https://www.chromestatus.com/features/5637885046816768

I have searched which dependencies might use chrome.loadTimes() and found, that it might be bluebird:

ent
└─┬ react-scripts@1.1.1
  └─┬ html-webpack-plugin@2.29.0
    └── bluebird@3.5.1 

Reproducible Demo

Open any create-react-app app, including the create-react-app template https://jsfiddle.net/84v837e9/
or bluebird's documentation http://bluebirdjs.com/docs/getting-started.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions