<?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>14651</bug_id>
          
          <creation_ts>2011-11-01 09:19:34 +0000</creation_ts>
          <short_desc>i think the websocket garbage collection rules might need tweaking now that message can&apos;t be fired in CLOSING (can error be fired in CLOSING?)</short_desc>
          <delta_ts>2012-07-18 18:48:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#garbage-collection-2</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59382</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-11-01 09:19:34 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html
Multipage: http://www.whatwg.org/C#garbage-collection-2
Complete: http://www.whatwg.org/c#garbage-collection-2

Comment:
 i think the websocket garbage collection rules might need tweaking now that
message can&apos;t be fired in CLOSING (can error be fired in CLOSING?)

Posted from: 88.131.66.80 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.15 Safari/535.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59397</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-01 15:40:33 +0000</bug_when>
    <thetext>Can you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59402</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2011-11-01 15:44:05 +0000</bug_when>
    <thetext>The GC rules assume that &apos;message&apos; events can be fired when readyState is CLOSING, so makes sure not to GC if there are listeners for &apos;message&apos;. But since we now don&apos;t fire &apos;message&apos; in CLOSING, we can allow the object to be GCed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59406</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-11-01 16:13:14 +0000</bug_when>
    <thetext>Oh, WebSocket. Sorry, I thought we were talking about EventSource.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59407</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-11-01 16:13:29 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6805.
Check-in comment: Allow a WebSocket object with only a message handler to be GC&apos;ed once it gets to CLOSING.
http://html5.org/tools/web-apps-tracker?from=6804&amp;to=6805</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>