Skip to content

network: Fix bad HAR data#9900

Open
srawlins wants to merge 3 commits into
flutter:masterfrom
srawlins:har-fix
Open

network: Fix bad HAR data#9900
srawlins wants to merge 3 commits into
flutter:masterfrom
srawlins:har-fix

Conversation

@srawlins

Copy link
Copy Markdown
Contributor

Fixes #8925

The text "error" was being encoded into an int field; should be -1 in such cases.

@srawlins
srawlins requested review from a team, bkonyi and kenzieschmoll as code owners July 18, 2026 15:46

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request ensures that exported response statuses in HAR files are parsed and serialized as integers instead of strings, updating the parsing logic, tests, and release notes accordingly. The feedback suggests refactoring the status value type-checking block in har_data_entry.dart to use a more idiomatic Dart 3 switch expression.

Comment thread packages/devtools_app/lib/src/screens/network/har_data_entry.dart Outdated
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.

HAR file downloaded from DevTools can not be loaded in Chrome DevTools

1 participant