<?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>12211</bug_id>
          
          <creation_ts>2011-03-01 16:45:31 +0000</creation_ts>
          <short_desc>WebSocket open method</short_desc>
          <delta_ts>2011-08-04 05:01:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/websockets/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>what_ever</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46133</commentid>
    <comment_count>0</comment_count>
    <who name="">what_ever</who>
    <bug_when>2011-03-01 16:45:31 +0000</bug_when>
    <thetext>Please make &quot;open&quot; method. what happened if connection establish before onopen property is set?
How to reset socket without it? Only create new socket?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46967</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-03-24 20:12:14 +0000</bug_when>
    <thetext>The events are queued, so there&apos;s actually no problem with the event being sent before the handler is set. So long as you set the handler in the same script that creates the object, you are guaranteed to get every event even if they are queued before the handler is set.

If you want a new connection, yes, create a new socket.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46981</commentid>
    <comment_count>2</comment_count>
    <who name="">what_ever</who>
    <bug_when>2011-03-25 09:19:03 +0000</bug_when>
    <thetext>Okey, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52424</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:01:21 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>