Skip to content

chore: fix typos in network formatter function names - #2511

Open
ZayanKhan-12 wants to merge 1 commit into
ChromeDevTools:mainfrom
ZayanKhan-12:refactor/formatter-typos
Open

chore: fix typos in network formatter function names#2511
ZayanKhan-12 wants to merge 1 commit into
ChromeDevTools:mainfrom
ZayanKhan-12:refactor/formatter-typos

Conversation

@ZayanKhan-12

Copy link
Copy Markdown

Fixes two typos in module-local (non-exported) function names in src/formatters/NetworkFormatter.ts:

  • formatHeadlersformatHeaders (declaration + 2 call sites)
  • converNetworkRequestDetailedToStringDetailedconvertNetworkRequestDetailedToStringDetailed (declaration + 1 call site)

Both functions are only referenced within this file, so this is a pure rename with no behavior change and no public API impact. Output snapshots are unchanged.

Testing

  • npm run build — passes
  • npm run test:no-build — passes (a handful of extension-related tests hit the known Timeout uninstalling extension flake under parallel load; all of them pass when re-run in isolation: npm run test:no-build -- tests/tools/script.test.ts tests/tools/console.test.ts tests/tools/pages.test.ts tests/tools/extensions.test.ts exits 0)
  • npm run test:no-build -- tests/formatters/NetworkFormatter.test.ts — passes, no snapshot changes
  • npm run check-format — passes

🤖 Generated with Claude Code

@google-cla

google-cla Bot commented Aug 8, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Rename two module-local functions in src/formatters/NetworkFormatter.ts:

- formatHeadlers -> formatHeaders
- converNetworkRequestDetailedToStringDetailed -> convertNetworkRequestDetailedToStringDetailed

Pure rename, no behavior change.
@ZayanKhan-12
ZayanKhan-12 force-pushed the refactor/formatter-typos branch from d11fa1a to 0235162 Compare August 8, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants