commit | d05b46dd579e48501e57901d4a17f76f291736e0 | [log] [tgz] |
---|---|---|
author | Kouhei Ueno <kouhei@chromium.org> | Fri Nov 02 04:42:10 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 02 04:42:10 2018 |
tree | ee56c7c26a3095cc961efbb702444bb780429906 | |
parent | 3d3b764b12b41af3cebf40e68182791e913807a5 [diff] |
UseCounter: Count ES6 modules instantiation This should serve as a better proxy for measuring ES6 modules usage in the wild. Before this CL, we relied on kPrepareModuleScript, which only counts ES6 module usage via <script type=module>, and no other invocation paths. kInstantiateModuleScript will also cover module usage via dynamic import, via workers, and others. Bug: 594639 Change-Id: I5d1690fcfb7ea6ee9eac3beb22a4659a1410c561 Reviewed-on: https://chromium-review.googlesource.com/c/1314011 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#604842}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .