Chrome DevTools for coding agents
chore: roll devtools-frontend and update snapshots (#59)
Jack Franklinb830b436f9fb
diff --git a/package-lock.json b/package-lock.jsonindex 4cf5810e..21c24d84 100644--- a/package-lock.json+++ b/package-lock.json@@ -26,7 +26,7 @@"@types/yargs": "^17.0.33","@typescript-eslint/eslint-plugin": "^8.43.0","@typescript-eslint/parser": "^8.43.0",- "chrome-devtools-frontend": "1.0.1515796",+ "chrome-devtools-frontend": "1.0.1516909","eslint": "^9.35.0","globals": "^16.4.0","prettier": "^3.6.2",@@ -1186,9 +1186,9 @@}},"node_modules/chrome-devtools-frontend": {- "version": "1.0.1515796",- "resolved": "https://registry.npmjs.org/chrome-devtools-frontend/-/chrome-devtools-frontend-1.0.1515796.tgz",- "integrity": "sha512-u5hyaSwxkioXHOSZSbk4oLROkP12sWw+6XJ5xw2qRfPvgjnosp6il1RhkpAITcfRvZrM6f8gBREcQ4b1iCUhkA==",+ "version": "1.0.1516909",+ "resolved": "https://registry.npmjs.org/chrome-devtools-frontend/-/chrome-devtools-frontend-1.0.1516909.tgz",+ "integrity": "sha512-e6RbPoMMJzg2k5xNOPufP0hv8yyuP60oZUHL+/GyF0qG5wEG/0cFzi04V/9HV146SzYlyYPjMBdMYiaYDZm1ZA==","dev": true,"license": "BSD-3-Clause"},diff --git a/package.json b/package.jsonindex 5310b7bd..4a6c3869 100644--- a/package.json+++ b/package.json@@ -50,7 +50,7 @@"@types/yargs": "^17.0.33","@typescript-eslint/eslint-plugin": "^8.43.0","@typescript-eslint/parser": "^8.43.0",- "chrome-devtools-frontend": "1.0.1515796",+ "chrome-devtools-frontend": "1.0.1516909","eslint": "^9.35.0","globals": "^16.4.0","prettier": "^3.6.2",diff --git a/tests/tools/performance.test.js.snapshot b/tests/tools/performance.test.js.snapshotindex 305647fb..42a46c2d 100644--- a/tests/tools/performance.test.js.snapshot+++ b/tests/tools/performance.test.js.snapshot@@ -5,18 +5,18 @@ exports[`performance > performance_analyze_insight > returns the information onThis insight is used to analyze the time spent that contributed to the final LCP time and identify which of the 4 phases (or 2 if there was no LCP resource) are contributing most to the delay in rendering the LCP element.## Detailed analysis:-The Largest Contentful Paint (LCP) time for this navigation was 129.2 ms.+The Largest Contentful Paint (LCP) time for this navigation was 129 ms.The LCP element is an image fetched from \`https://web-dev.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/4i7JstVZvgTFk9dxCe4a.svg\`.## LCP resource network request: https://web-dev.imgix.net/image/kheDArv5csY6rvQUJDbWRscckLr1/4i7JstVZvgTFk9dxCe4a.svgTimings:-- Queued at: 41.1 ms-- Request sent at: 46.6 ms-- Download complete at: 55.8 ms-- Main thread processing completed at: 58.2 ms+- Queued at: 41 ms+- Request sent at: 47 ms+- Download complete at: 56 ms+- Main thread processing completed at: 58 msDurations:- Download time: 0.3 ms-- Main thread processing time: 2.3 ms-- Total duration: 17.1 ms+- Main thread processing time: 2 ms+- Total duration: 17 msRedirects: no redirectsStatus code: 200MIME Type: image/svg+xml@@ -29,10 +29,10 @@ Initiators (root request to the request that directly loaded this one): noneWe can break this time down into the 4 phases that combine to make the LCP time:-- Time to first byte: 7.9 ms (6.1% of total LCP time)-- Resource load delay: 33.2 ms (25.7% of total LCP time)-- Resource load duration: 14.7 ms (11.4% of total LCP time)-- Element render delay: 73.4 ms (56.8% of total LCP time)+- Time to first byte: 8 ms (6.1% of total LCP time)+- Resource load delay: 33 ms (25.7% of total LCP time)+- Resource load duration: 15 ms (11.4% of total LCP time)+- Element render delay: 73 ms (56.8% of total LCP time)## Estimated savings: nonediff --git a/tests/trace-processing/parse.test.js.snapshot b/tests/trace-processing/parse.test.js.snapshotindex 2f09ca53..1988804b 100644--- a/tests/trace-processing/parse.test.js.snapshot+++ b/tests/trace-processing/parse.test.js.snapshot@@ -6,10 +6,10 @@ Network throttling: noneMetrics (lab / observed):- LCP: 129 ms, event: (eventKey: r-6063, ts: 122411126100)- LCP breakdown:- - TTFB: 7.9 ms, bounds: {min: 122410996889, max: 122411004828}- - Load delay: 33.2 ms, bounds: {min: 122411004828, max: 122411037986}- - Load duration: 14.7 ms, bounds: {min: 122411037986, max: 122411052690}- - Render delay: 73.4 ms, bounds: {min: 122411052690, max: 122411126100}+ - TTFB: 8 ms, bounds: {min: 122410996889, max: 122411004828}+ - Load delay: 33 ms, bounds: {min: 122411004828, max: 122411037986}+ - Load duration: 15 ms, bounds: {min: 122411037986, max: 122411052690}+ - Render delay: 73 ms, bounds: {min: 122411052690, max: 122411126100}- CLS: 0.00Metrics (field / real users): n/a – no data for this page in CrUXAvailable insights: