Don't apply formatting to control frames
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: Harald, Assigned: kishlaya.j)
References
Details
Attachments
(1 file)
Control frames just the ping/pong heartbeat that keeps the connection alive. WS inspector should not try to format them.
Bug 1619026 shows how this breaks the UI.
Can you please assign this to me?
So the desired behaviour should be when the ping/pong/close frames are selected, then only the raw data should be displayed?
Reporter | ||
Comment 3•4 years ago
|
||
Thank you Kishlaya, assigned.
So the desired behaviour should be when the ping/pong/close frames are selected, then only the raw data should be displayed?
Yes, perfect. Control frames would be any opCode %x8
to %xF
.
Reference from the RFC: https://tools.ietf.org/html/rfc6455
* %x0 denotes a continuation frame
* %x1 denotes a text frame
* %x2 denotes a binary frame
* %x3-7 are reserved for further non-control frames
* %x8 denotes a connection close
* %x9 denotes a ping
* %xA denotes a pong
* %xB-F are reserved for further control frames
Reporter | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Harald, do you have a test case for this?
I don't see any control frame on https://crossbar.io/
?
Anything specific I should do with the page?
Honza
Reporter | ||
Comment 6•4 years ago
|
||
I could not find any on the index page or https://demo.crossbar.io/. I was hoping I can close the connection; which would generate a control frame.
(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #5)
Harald, do you have a test case for this?
You can use this website. It sends PING/PONG messages after staying idle for some time. And additionally, you can also send a CLOSE message.
I also wanted to ask the following: now that patch needs revision - after making the suggested changes, should I submit a new patch altogether?
Comment 9•4 years ago
|
||
Thanks for the test case!
after making the suggested changes, should I submit a new patch altogether?
Just update the existing revision
Honza
Comment 10•4 years ago
|
||
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01467623d2ea ControlFrame opCodes returns raw payload without parsing r=Honza
Comment 11•4 years ago
|
||
bugherder |
Description
•