Server sent events not displayed in the Network panel
Categories
(DevTools :: Netmonitor, defect, P2)
Tracking
(firefox144 fixed)
Tracking | Status | |
---|---|---|
firefox144 | --- | fixed |
People
(Reporter: Honza, Assigned: bomsy)
References
(Blocks 2 open bugs)
Details
(Keywords: perf-alert, regressionwindow-wanted)
Attachments
(3 files)
STR:
- Copy the attached PHP and HTML files into your webserver
- Load the
index.html
file in Firefox. - The page should show "Server Time". The time should be updated every second.
- Open DevTools and select the Network panel. Realod the page.
- Select the
server.php
request - Select the Response panel, events are not displayed => BUG
Expected Result:
Server side events should be displayed in the Response tab.
Tested also in Chrome DevTools and it works, I can see the events.
Honza
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
•
|
||
Thanks for reporting Honza.
This is likely related to Bug 1773181. The BUG here is that showing of the messages in response panel and the header information in headers panel are all blocked until the SSE channel for that request is closed.
In the STR above it never closes so we won't get those messages. I think that was the behaviour from when it was implemented, we should fix and show the messages as they come in.
Since its completely blocking the panels, i think we should prioritize fix.
i'll take a look
Updated•2 years ago
|
Assignee | ||
Updated•7 months ago
|
Comment 5•4 months ago
|
||
With the growing adoption of Server-Sent Events in RAG applications and real-time AI workflows, this bug has become increasingly impactful for web developers. The lack of proper SSE debugging tools in Firefox dev tools is currently forcing developers (myself included) to switch to Chromium-based browsers for debugging these applications.
Given the rising prominence of SSE in modern web development, fixing this would help Firefox maintain its position as a viable development browser for current tech stacks.
Comment 6•4 months ago
|
||
Bug 1557795 should help or even fix this issue. We have some more general issue around pending requests that goes beyond SSE.
Assignee | ||
Comment 7•4 months ago
|
||
With this patch we begin sending multiple RESPONSE_CONTET events and a RESPONSE_END
Updated•2 months ago
|
Updated•2 months ago
|
Comment 10•2 months ago
|
||
bugherder |
Comment 11•2 months ago
|
||
Comment 12•2 months ago
|
||
Backed out for causing Bug 1984562 and Bug 1984622
Comment 13•2 months ago
|
||
Backout merged to central: https://hg-edge.mozilla.org/mozilla-central/rev/1414e67dcc5f
Comment 14•1 month ago
|
||
(In reply to Iulian Moraru from comment #13)
Backout merged to central: https://hg-edge.mozilla.org/mozilla-central/rev/1414e67dcc5f
Perfherder has detected a devtools performance change from push 1414e67dcc5f3c7ee451e774ba5941a1af67e8e9. As author of one of the patches included in that push, we need your help to address this regression.
Please acknowledge, and begin investigating this alert within 3 business days, or the patch(es) may be backed out in accordance with our regression policy. Our guide to handling regression bugs has information about how you can proceed with this investigation.
If you have any questions or need any help with the investigation, please reach out to a performance sheriff. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Regressions:
Ratio | Test | Platform | Options | Absolute values (old vs new) |
---|---|---|---|---|
23% | damp custom.netmonitor.close.DAMP | linux1804-64-shippable-qr | e10s fission stylo webrender | 12.30 -> 15.14 |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a performance sheriff to do that for you.
You can run all of these tests on try with ./mach try perf --alert 46452
The following documentation link provides more information about this command.
Comment 15•1 month ago
|
||
(In reply to Florin Bilt from comment #14)
(In reply to Iulian Moraru from comment #13)
Backout merged to central: https://hg-edge.mozilla.org/mozilla-central/rev/1414e67dcc5f
Perfherder has detected a devtools performance change from push 1414e67dcc5f3c7ee451e774ba5941a1af67e8e9. As author of one of the patches included in that push, we need your help to address this regression.
Please acknowledge, and begin investigating this alert within 3 business days, or the patch(es) may be backed out in accordance with our regression policy. Our guide to handling regression bugs has information about how you can proceed with this investigation.
If you have any questions or need any help with the investigation, please reach out to a performance sheriff. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Regressions:
Ratio Test Platform Options Absolute values (old vs new) 23% damp custom.netmonitor.close.DAMP linux1804-64-shippable-qr e10s fission stylo webrender 12.30 -> 15.14 Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a performance sheriff to do that for you.
You can run all of these tests on try with
./mach try perf --alert 46452
The following documentation link provides more information about this command.
FWIW, the perf change on custom.netmonitor.close
can be ignored, those tests are not very meaningful
Assignee | ||
Updated•1 month ago
|
Comment 16•1 month ago
|
||
Comment 17•1 month ago
|
||
bugherder |
Description
•