Open Bug 1880509 Opened 6 months ago Updated 6 months ago

Devtool displays text/event-stream in the type filed for Server Sent Events

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: smayya, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

(Whiteboard: [lang=js])

Attachments

(3 files)

Attached image ChromeDevtool.png

Thank you for helping make Firefox better. If you are reporting a defect, please complete the following:

What were you doing?

While reproducing Bug 1872413, I opened the link that establishes a connection with server to receive SSE.
I noticed the difference between the way Firefox displays Server Sent events with Chrome and Safari.

  1. Open devtools in Firefox
  2. Open the link -> https://berean-biblechurch.org/fxssebug.html
  3. Observe the network tab for incoming SSE from the server. Firefox does not display the request until we close the connection (known problem with devtools).

What happened?

The type column in the network tab displays as event-stream whereas chrome and safari displays it as eventsource.

What should have happened?

Firefox displays the type as eventsource similar to chrome and safari. Please find the attached screenshots for reference

Attached image DevtoolSafari.png
Attached image FirefoxDevtool.png

Thanks for filing. While showing event-stream is not necessarily incorrect (the response does come with content-type text/event-stream), showing eventsource to have consistency with other devtools UIs sounds good.

Can be a mentored bug.

Mentor: hmanilla
Severity: -- → S3
Priority: -- → P3
Whiteboard: [lang=js]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: