Messages panel: WebSocket messages in HAR exports
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: tanhengyeow, Assigned: deltatekalec, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
Expected results:
When exporting resources into HAR, we should have WS messages included, so that users can share them out or debug them later by importing them.
| Reporter | ||
Updated•6 years ago
|
| Reporter | ||
Comment 1•6 years ago
|
||
Allow WebSocket messages to be copied/saved as HAR.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•5 years ago
•
|
||
I think it's safe to unassign this bug and make it available to others.
I am marking this as good first bug since the patch is already available and seems to be closed to be done.
Honza
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Comment 4•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
@surya_b: there is a patch, perhaps we could try to finish that? Still valid bug and it would be great to fix that.
Comment 6•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 7•3 years ago
•
|
||
Adding myself as a mentor. Patches are welcome.
This bug is still somethinge we want to have fixed, but it isn't a priority for the team at the moment.
Comment 8•3 years ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:Honza, could you please find another way to get the information or close the bug as INCOMPLETE if it is not actionable?
For more information, please visit auto_nag documentation.
Comment 9•3 years ago
|
||
This is still valid bug. WS data should be part of HAR.
Updated•3 years ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
| Assignee | ||
Comment 11•1 year ago
|
||
Hello, I currently have a patch for this in progress. My patch adds an "_messages" field to HAR entries. This field is only populated for an entry where the request initiates a WS connection and sends or receives WS messages. The _messages items have a very similar format to Chrome's _webSocketMessages. It currently works for WS and seemingly SSE although I'm still seeing errors for that case, and I'm not sure if we want to provide support for them in this field.
I noticed the last time this was worked there was discussion of making this fully compatible with Chrome's HAR format. If this is still the path we want to follow I think it is feasible.
Please make me assignee on this issue. Any available reviewers, please get in touch with me so we can discuss next steps. Thank you.
| Assignee | ||
Comment 12•1 year ago
|
||
(In reply to Delta Tekalec from comment #11)
Hello, I currently have a patch for this in progress. My patch adds an "_messages" field to HAR entries. This field is only populated for an entry where the request initiates a WS connection and sends or receives WS messages. The _messages items have a very similar format to Chrome's _webSocketMessages. It currently works for WS and seemingly SSE although I'm still seeing errors for that case, and I'm not sure if we want to provide support for them in this field.
I noticed the last time this was worked there was discussion of making this fully compatible with Chrome's HAR format. If this is still the path we want to follow I think it is feasible.
Please make me assignee on this issue. Any available reviewers, please get in touch with me so we can discuss next steps. Thank you.
On second thought, it makes more sense to separate WS and SSE messages into separate attributes. That way we can maintain compatibility with Chrome's HAR format and leave the door open for SSE support in the future. I'd like to hear to hear from those with more experience however.
| Assignee | ||
Comment 13•1 year ago
|
||
Updated•1 year ago
|
Thank you for the patch Delta!
Bomsy, thank you for reviewing it!
Comment 15•1 year ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•1 year ago
|
| Assignee | ||
Comment 16•1 year ago
|
||
While working this ticket, I found this bug. Web Socket messages that reproduce this bug also cause the HAR builder to fail on their originating requests. It seems very likely to me that they share the same cause.
| Assignee | ||
Comment 17•5 months ago
|
||
Recreation of my previous patch because I could not reapply it locally
since migration to git.
Updated•5 months ago
|
Updated•5 months ago
|
Description
•