Closed Bug 996221 Opened 12 years ago Closed 10 years ago

Server-sent event sources fail on error if URL contains query parameters

Categories

(Core :: DOM: Events, defect)

28 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ben, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140314220517 Steps to reproduce: Established a server-sent event source as follows: var source = new EventSource("/pilot2/source/?owner=0&shared=&start=&end=&networks=17399&query="); source.onmessage = function (event) { console.log(event); var data = JSON.parse(event.data); // Process it etc }; source.onerror = function(event) { console.log("Server-sent event error"); }; Actual results: Source errors out every time, and then is never re-polled. Expected results: The source should be loaded and data parsed. This occurs without problem in Chrome.
Failed to mention: the source URL without query parameters works fine.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Hi Ben, I tried to test the mentioned issue on latest Firefox release (43.0.4) and latest Nightly (46.0a1) but I need more information. Can you please provide a complete URL source so I can try to testes it on my end? Or can you provide a simple test case for this ? Maybe a website like (https://jsfiddle.net/) could help you do this. Also, can you please test this on the latest Firefox release (43.0.4) or latest Nightly (46.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?(ben)
Considering the fact that the reporter did not provided more information on my request, I will mark this issue as resolved - incomplete. If you can still reproduce this, feel free to reopen it and provide the requested information. Thanks, Cosmin.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(ben)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.