Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 125190 EventSource: Events should not be dispatched after close()
Starred by 2 users Reported by, Apr 26 2012 Back to list
Status: Fixed
Owner: ----
Closed: Jul 2012
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment
    After EventSource#close() method is called, no events should be fired and 
    readyState attribute should stay equal to EventSource.CLOSED
    See: ,

    data: data0;
    data: data1;
    var es = new EventSource('...');
    var counter = 0;
    es.onmessage = function () {
      counter += 1;
      if (counter > 1) {

Labels: -Area-Undefined Area-WebKit WebKit-WebSockets
(not really WebSockets, but that's the closest label I could find, and maybe folks working on that have some familiarity with the server-sent events code)

Comment 2 by, May 2 2012
Labels: -OS-Windows -WebKit-WebSockets OS-All WebKit-WebApps WebKit-ID-85346
Status: Untriaged
Unfortunately I have never touched EventSource code, and I could not find a good owner as there seems no active developer on EventSource.

Anyway I filed a WebKit bug and cc'ed the original author:

Putting WebKit-WebApps label which should be more appropriate than WebKit-WebSockets. Also setting OS-All as this seems platform independent.
Project Member Comment 3 by, May 2 2012
Labels: -WebKit-ID-85346 WebKit-ID-85346-NEW
Summary: Server sent events (was: NULL)
Comment 4 by, May 2 2012
Summary: EventSource: Events should not be dispatched after close() (was: NULL)
Project Member Comment 5 by, Jun 26 2012
Labels: -WebKit-ID-85346-NEW WebKit-ID-85346-RESOLVED WebKit-Rev-121195
Comment 6 by, Jul 11 2012
Status: Fixed
Given the WebKit change, I'd like to mark this bug as fixed.
Project Member Comment 7 by, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member Comment 8 by, Mar 11 2013
Labels: -Area-WebKit -WebKit-WebApps Cr-Content-WebApps Cr-Content
Project Member Comment 9 by, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Sign in to add a comment