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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>81517</bug_id>
          
          <creation_ts>2012-03-19 09:22:17 -0700</creation_ts>
          <short_desc>Mobile Safari crash when returning to WebSocket page</short_desc>
          <delta_ts>2012-04-06 14:43:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martyn Loughran">mail</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dev+webkit</cc>
    
    <cc>mail</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>581856</commentid>
    <comment_count>0</comment_count>
    <who name="Martyn Loughran">mail</who>
    <bug_when>2012-03-19 09:22:17 -0700</bug_when>
    <thetext>This bug report is for iOS: if there&apos;s a better place to post this bug please let me know.

Summary: calling send() on a closed WebSocket object which reports an open readyState causes a crash. This scenario can occur when returning to a backgrounded page which received data and then closed when in the backgrounded state.

I wrote up full details, with code and steps to reproduce in this gist https://gist.github.com/2052006</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>583207</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-03-20 10:35:13 -0700</bug_when>
    <thetext>The proper way to report iOS bugs is via &lt;http://bugreport.apple.com&gt;.

However, this is likely to be an issue in open source WebKit, so keeping this report open, too.

This is currently tracked internally by Apple as &lt;rdar://problem/10738627&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>583448</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2012-03-20 14:23:44 -0700</bug_when>
    <thetext>Are you going through a proxy?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>583661</commentid>
    <comment_count>3</comment_count>
    <who name="Martyn Loughran">mail</who>
    <bug_when>2012-03-20 17:37:15 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Are you going through a proxy?

No I&apos;m not</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>597672</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-06 14:43:24 -0700</bug_when>
    <thetext>This issue doesn&apos;t appear to be in open source WebKit trunk. It will continue to be tracked via &lt;rdar://problem/10738627&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>