<?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>87372</bug_id>
          
          <creation_ts>2012-05-24 04:46:37 -0700</creation_ts>
          <short_desc>A DOMCharacterDataModified event is dispatched in loading HTML.</short_desc>
          <delta_ts>2019-02-06 09:18:33 -0800</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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>EasyFix</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hayato Ito">hayato</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>dglazkov</cc>
    
    <cc>dominicc</cc>
    
    <cc>jaepark</cc>
    
    <cc>jeffrey+webkit</cc>
    
    <cc>shinyak</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>632622</commentid>
    <comment_count>0</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-05-24 04:46:37 -0700</bug_when>
    <thetext>The attached html file fires a DOMCharacterDataModified event. That should not be dispatched since we just load the HTML file.
Note that the HTML does not contain new-line at the end of file. If we add a new-line at the end of file, event won&apos;t be dispatched.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632623</commentid>
    <comment_count>1</comment_count>
      <attachid>143787</attachid>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-05-24 04:47:27 -0700</bug_when>
    <thetext>Created attachment 143787
DOMCharacterDataModified event is wrongly dispatched.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632702</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-05-24 06:10:21 -0700</bug_when>
    <thetext>The related bug is here:
https://bugs.webkit.org/show_bug.cgi?id=86953 (This might not be viewable due to the security-restriction).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633129</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-24 13:33:27 -0700</bug_when>
    <thetext>We probably just need to change the parser to use an API that doesn&apos;t trigger this mutation event, like we do with parserAddChild.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693411</commentid>
    <comment_count>4</comment_count>
    <who name="Jae Hyun Park">jaepark</who>
    <bug_when>2012-08-12 23:56:32 -0700</bug_when>
    <thetext>This bug has been fixed in r125162.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>693791</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-08-13 10:25:08 -0700</bug_when>
    <thetext>Marking as fixed per Comment #4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1503194</commentid>
    <comment_count>6</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:18:33 -0800</bug_when>
    <thetext>Mass move bugs into the DOM component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>143787</attachid>
            <date>2012-05-24 04:47:27 -0700</date>
            <delta_ts>2012-05-24 04:47:27 -0700</delta_ts>
            <desc>DOMCharacterDataModified event is wrongly dispatched.</desc>
            <filename>dom-character-data-modified-event.html</filename>
            <type>text/html</type>
            <size>131</size>
            <attacher name="Hayato Ito">hayato</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KZG9jdW1lbnQuYWRkRXZlbnRMaXN0ZW5lcigiRE9NQ2hhcmFjdGVyRGF0YU1vZGlm
aWVkIiwKICBmdW5jdGlvbigpIHsKICAgIGNvbnNvbGUubG9nKCdmaXJlZCcpOwogfSk7Cjwvc2Ny
aXB0Pgo8dGV4dGFyZWE+IDw=
</data>

          </attachment>
      

    </bug>

</bugzilla>