-
Notifications
You must be signed in to change notification settings - Fork 3
task: Log network activity #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
Make reading files easier, encountering high-level logic first before the implementation details of helper utilities.
All requests were failing due to the blocking processing of the body.
The data structure for networking logging is incompatible with `dispatchToBridge`.
The absence of these keys resulted in resetting the value to its default when converting the configuration to a builder.
Avoid logging `[Object object]` string values.
Improve assertion explicitness.
aa07850 to
eac9a47
Compare
jkmassel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works well on iOS – adding @oguzkocer as a reviewer for Android to confirm that all the data is present there.
|
@jkmassel I've tested this in WPAndroid Chucker integration and it worked well. The only missing bit was the status text, which is relatively easy to map from the status code, so I think it's fine to land as is. Note that I didn't review the implementation. Let me know if that's needed. |
What?
Allow logging network activity occurring in the WebView.
Why?
Improve observability and debugging of editor network activity.
How?
window.fetchto intercept network activity.Testing Instructions
Accessibility Testing Instructions
N/A, no user-facing changes.
Screenshots or screencast
N/A, no user-facing changes.