W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

[Bug 14048] Suggestion of change in process for "dispatch the event" in Server-Sent Events

From: <bugzilla@jessica.w3.org>
Date: Wed, 14 Sep 2011 19:11:51 +0000
To: public-webapps@w3.org
Message-Id: <E1R3usB-0000Dj-AQ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14048

Per-Erik Brodin <per-erik.brodin@ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|public-html-wg-issue-tracki |per-erik.brodin@ericsson.co
                   |ng@w3.org,                  |m, public-webapps@w3.org
                   |public-html@w3.org          |
          Component|HTML5 spec (editor: Ian     |Server-Sent Events (editor:
                   |Hickson)                    |Ian Hickson)
           Platform|Macintosh                   |Other
            Product|HTML WG                     |WebAppsWG
          QAContact|public-html-bugzilla@w3.org |member-webapi-cvs@w3.org
         OS/Version|MacOS X                     |other

--- Comment #1 from Per-Erik Brodin <per-erik.brodin@ericsson.com> 2011-09-14 19:11:50 UTC ---
If the data buffer is an empty string in step 1 it means that there were no
data: lines and that's why we want to abort.

If the data buffer contains only a line feed character in step 2 it means that
there was exactly one data: line but it didn't have a value and thus a
MessageEvent with an empty string as its data should be dispatched (similarly,
two data: lines without values will result in event.data containing a single
line feed character).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 14 September 2011 19:11:58 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT