<?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>28838</bug_id>
          
          <creation_ts>2009-08-30 22:55:15 -0700</creation_ts>
          <short_desc>DOM parser dies while parsing some comment tags</short_desc>
          <delta_ts>2009-09-01 10:36:23 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>16722</dup_id>
          
          <bug_file_loc>http://crbug.com/19356</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jerome Leclanche">jerome</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>143572</commentid>
    <comment_count>0</comment_count>
    <who name="Jerome Leclanche">jerome</who>
    <bug_when>2009-08-30 22:55:15 -0700</bug_when>
    <thetext>The parser seems to die if there is an open comment (&lt;!--) within a script tag which is closed outside the script tag.
See testcase.

Originally reported at http://crbug.com/19356

(This is pretty major, but I&apos;m not sure about severity levels here so leaving Normal)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143573</commentid>
    <comment_count>1</comment_count>
      <attachid>38800</attachid>
    <who name="Jerome Leclanche">jerome</who>
    <bug_when>2009-08-30 22:56:18 -0700</bug_when>
    <thetext>Created attachment 38800
Testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143591</commentid>
    <comment_count>2</comment_count>
    <who name="Jerome Leclanche">jerome</who>
    <bug_when>2009-08-31 02:30:50 -0700</bug_when>
    <thetext>Happens on all platforms</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143934</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-09-01 10:36:23 -0700</bug_when>
    <thetext>According to html5lib, WebKit behavior matches the spec here.

*** This bug has been marked as a duplicate of bug 16722 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>38800</attachid>
            <date>2009-08-30 22:56:18 -0700</date>
            <delta_ts>2009-08-30 22:56:18 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>webkit-19356.html</filename>
            <type>text/html</type>
            <size>309</size>
            <attacher name="Jerome Leclanche">jerome</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHRpdGxlPlRlc3RjYXNlPC90aXRsZT4KPC9o
ZWFkPgo8Ym9keT4KPHA+ClRoZXJlIHNob3VsZCBiZSBubyByZWQgb24gdGhpcyBwYWdlLgo8L3A+
CjxkaXYgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6IHJlZDsgd2lkdGg6IDEwMCU7IGhlaWdodDog
MjVweDsiPjwvZGl2Pgo8c2NyaXB0IHR5cGU9dGV4dC9qYXZhc2NyaXB0PjwhLS0KPC9zY3JpcHQ+
Ci0tPgo8c3R5bGU+CmRpdiB7IGJhY2tncm91bmQtY29sb3I6IGdyZWVuICFpbXBvcnRhbnQ7IH0K
PC9zdHlsZT4KPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>