Starting Server Sent Events gives : connection was interrupted while page was loading

RESOLVED INCOMPLETE

Status

()

Core
DOM
RESOLVED INCOMPLETE
2 years ago
2 years ago

People

(Reporter: Dheeraj Barve, Unassigned)

Tracking

({testcase-wanted})

41 Branch
testcase-wanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [closeme 2016-04-01])

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce:

On mozilla 41.0.2, I am creating a server sent events in a normal or traditional way :

 var source = new EventSource(contextPath+"/xyz/Data.jsp?"+requestBody); 

and using methods: onmessage, onerror, onopen.






Actual results:

As soon as event is established I get an error : 
Connection was interrupted while page was loading with full request URL.
And then server sent events doesn't work.

Some time event get established and I get proper data from web server then in few seconds the same error message appears and events stop working.

Server sent events also does not reconnect automatically.

Same thing is working fine on chrome and on other browsers.


Expected results:

There should have been no error and server sent events should have worked properly.
Also if connection is dropped then also events should have reconnected.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Could you perhaps provide a minimal testcase for this, please?
Keywords: testcase-wanted
Hi Dheeraj,

Can you please provide a minimal test case like Olli`s suggested in comment 1, so we can try to reproduce this issue?  

Also, can you please test this on the latest Firefox release (44.0.2) or latest Nightly (47.0a1, https://nightly.mozilla.org/) and tell me if this still reproduces for you ? When doing this please use a new fresh Firefox profile, maybe also in safe mode (https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems).

Thanks,
Cosmin
Flags: needinfo?(dheerajk.barve)
Whiteboard: [closeme 2016-04-01]
Marking this as Resolved: Incomplete due to the lack of response from the reporter.
If anyone can still reproduce it on latest versions, feel free to reopen the issue and provide more information.

Thanks,
Cosmin.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(dheerajk.barve)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.