Open Bug 1646932 Opened 6 years ago Updated 6 days ago

Unicode support in Websocket inspector

Categories

(DevTools :: Netmonitor, defect, P3)

79 Branch
defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: bugzilla, Assigned: espen)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 1 external file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36

Steps to reproduce:

When inspecting a Websocket, and looking at the "Messages", unicode isn't supported. This leads to unreadable text if special characters (e.g. æøå) are used.

It would also be good to support unicode smilies, as they are quite widespread.

to reproduce, navigate to http://messenger.com and login, inspect the websocket and look at the messages tab when sending a message with special characters or a smiley.

See example images here: https://imgur.com/a/O79p6t6

(If it's possible to insert images inline, please let me know, I couldn't find a way to, and only one attachment is allowed.)

Actual results:

Gibberish is displayed (see attached picture).

Expected results:

Correct text and smilies should be displayed.

Thanks for the report!

(If it's possible to insert images inline, please let me know, I couldn't find a way to, and only one attachment is allowed.)
You can add as many attachments you like, just click the Attach New File button above.

I can reproduce this bug
Alternative STRs

  1. Load http://janodvarko.cz/test/websockets/
  2. Open DevTools and select the Network panel
  3. Click Connect to create a new connection
  4. Insert æøå into the text field (next to the Send button)
  5. Click the Send button
  6. Inspec the WS connection and the associated frame
  7. The WS inspector shows æøå => BUG

Honza

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Priority: -- → P3
Attached image smiley.png —
Attached image unicode.png —
Attached image msg.png —
Attached image rawdata.png —

(In reply to Jan Honza Odvarko [:Honza] (always need-info? me) from comment #1)

Thanks for the report!

(If it's possible to insert images inline, please let me know, I couldn't find a way to, and only one attachment is allowed.)
You can add as many attachments you like, just click the Attach New File button above.

I can reproduce this bug
Alternative STRs

  1. Load http://janodvarko.cz/test/websockets/
  2. Open DevTools and select the Network panel
  3. Click Connect to create a new connection
  4. Insert æøå into the text field (next to the Send button)
  5. Click the Send button
  6. Inspec the WS connection and the associated frame
  7. The WS inspector shows æøå => BUG

Honza

Thanks for the feedback. If possible, adding smiley support would also be very useful when debugging websocket messages.

Any updates?

Assignee: nobody → espen
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: