Skip to content

Commit 32235d9

Browse files
Adam RaineDevtools-frontend LUCI CQ
authored andcommitted
[third-party] roll web-vitals to 4.2.4
Fixed: 369633243 Change-Id: I288656a448c8a1bf07b6e6d96cd6341471d6c869 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5956147 Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Adam Raine <[email protected]>
1 parent 53f41e5 commit 32235d9

File tree

10 files changed

+17
-11
lines changed

10 files changed

+17
-11
lines changed

front_end/third_party/web-vitals/README.chromium

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Name: Web Vitals
22
Short Name: Web Vitals
33
URL: https://github.com/GoogleChrome/web-vitals
4-
Version: 4.2.3
4+
Version: 4.2.4
55
License: Apache
66
License File: package/LICENSE
7-
Revision: 9b932519b16f72328c6d8e9814b811f1bc1a0bb5
7+
Revision: 3d2b3dc8576cc003618952fa39902fab764a53e2
88
Security Critical: no
99
Shipped: yes
1010

front_end/third_party/web-vitals/package/dist/modules/onLCP.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ export const onLCP = (onReport, opts) => {
8484
// Wrap in a setTimeout so the callback is run in a separate task
8585
// to avoid extending the keyboard/click handler to reduce INP impact
8686
// https://github.com/GoogleChrome/web-vitals/issues/383
87-
addEventListener(type, () => whenIdle(stopListening), true);
87+
addEventListener(type, () => whenIdle(stopListening), {
88+
once: true,
89+
capture: true,
90+
});
8891
});
8992
onHidden(stopListening);
9093
// Only report after a bfcache restore if the `PerformanceObserver`

front_end/third_party/web-vitals/package/dist/web-vitals.attribution.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/web-vitals/package/dist/web-vitals.attribution.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

front_end/third_party/web-vitals/package/dist/web-vitals.attribution.umd.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

front_end/third_party/web-vitals/package/dist/web-vitals.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)