<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10130</bug_id>
          
          <creation_ts>2010-07-11 08:19:46 +0000</creation_ts>
          <short_desc>The steps to &quot;dispatch the event&quot; within EventSource should first remove the LF from the data buffer before checking whether it is empty. Otherwise it can never be empty.</short_desc>
          <delta_ts>2010-08-31 05:45:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Server-Sent Events (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#dispatchMessage</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36759</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-07-11 08:19:46 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#dispatchMessage

Comment:
The steps to &quot;dispatch the event&quot; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38253</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-30 18:56:33 +0000</bug_when>
    <thetext>Why? Surely it can be empty if there&apos;s not been a &quot;data:&quot; line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38279</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-08-31 05:45:43 +0000</bug_when>
    <thetext>Good point.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>