<?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>57407</bug_id>
          
          <creation_ts>2011-03-29 17:30:13 -0700</creation_ts>
          <short_desc>Tokenizer stuck in ScriptDataDoubleEscapedState</short_desc>
          <delta_ts>2011-04-04 15:00:35 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>41115</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tony Gentilcore">tonyg</reporter>
          <assigned_to name="Tony Gentilcore">tonyg</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>gregsimon</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>375925</commentid>
    <comment_count>0</comment_count>
      <attachid>87441</attachid>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-29 17:30:13 -0700</bug_when>
    <thetext>Created attachment 87441
testcase

See attached test case. FF4 behaves the same way so this is likely a spec bug.

IE7-9: PASS
SF5: PASS
OP11: PASS
FF3.6: PASS
FF4: FAIL
CR10-12: FAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375927</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-03-29 17:36:40 -0700</bug_when>
    <thetext>Crazy.  That makes very little sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375930</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-03-29 17:40:31 -0700</bug_when>
    <thetext>No, you&apos;re just in ScriptDataDoubleEscapedState.  It&apos;s a comment inside of the script tag.  I don&apos;t remember why we have all these escape states, but it&apos;s to model something.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375933</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-29 17:43:20 -0700</bug_when>
    <thetext>tests16.dat (line 1498) has nearly this exact test case. I&apos;m going to fire up the debugger and see what it is doing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375940</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-03-29 17:51:16 -0700</bug_when>
    <thetext>Amusingly, but bug is a victim of itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>375941</commentid>
    <comment_count>5</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-29 17:54:11 -0700</bug_when>
    <thetext>Filed spec bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=12398</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>379107</commentid>
    <comment_count>6</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-04-04 15:00:35 -0700</bug_when>
    <thetext>This is working as intended per http://www.w3.org/Bugs/Public/show_bug.cgi?id=12398</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>87441</attachid>
            <date>2011-03-29 17:30:13 -0700</date>
            <delta_ts>2011-03-29 17:30:13 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>comment.html</filename>
            <type>text/html</type>
            <size>137</size>
            <attacher name="Tony Gentilcore">tonyg</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+DQo8ZGl2IGlkPW91dHB1dD5GQUlMPC9kaXY+DQo8c2NyaXB0PnZhciBh
ID0gIjwhLS08c2NyaXB0ICI7ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ291dHB1dCcpLmlubmVy
SFRNTD0nUEFTUyc7PC9zY3JpcHQ+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>