This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10130 - The steps to "dispatch the event" within EventSource should first remove the LF from the data buffer before checking whether it is empty. Otherwise it can never be empty.
Summary: The steps to "dispatch the event" within EventSource should first remove the ...
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Server-Sent Events (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-11 08:19 UTC by contributor
Modified: 2010-08-31 05:45 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2010-07-11 08:19:46 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#dispatchMessage

Comment:
The steps to "dispatch the event" within EventSource should first remove the
LF from the data buffer before checking whether it is empty. Otherwise it can
never be empty.

Posted from: 83.85.115.123 by annevk@opera.com
Comment 1 Ian 'Hixie' Hickson 2010-08-30 18:56:33 UTC
Why? Surely it can be empty if there's not been a "data:" line.
Comment 2 Anne 2010-08-31 05:45:43 UTC
Good point.