<?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>4712</bug_id>
          
          <creation_ts>2005-08-28 09:24:31 -0700</creation_ts>
          <short_desc>Javascript inserted using innerHTML is not parsed</short_desc>
          <delta_ts>2005-08-31 00:46:53 -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>New Bugs</component>
          <version>412</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4403</dup_id>
          
          <bug_file_loc></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="Matt Kane">ascorbic</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17804</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Kane">ascorbic</who>
    <bug_when>2005-08-28 09:24:31 -0700</bug_when>
    <thetext>If the innerHTML of an element is set to an HTML string that includes javascript elements, the script is not 
executed. No error is logged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17805</commentid>
    <comment_count>1</comment_count>
      <attachid>3624</attachid>
    <who name="Matt Kane">ascorbic</who>
    <bug_when>2005-08-28 09:26:03 -0700</bug_when>
    <thetext>Created attachment 3624
Test case

If Firefox, the testcase displays an alert when loaded and another when the
link is clicked. Safari does neither.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18007</commentid>
    <comment_count>2</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2005-08-31 00:46:53 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 4403 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3624</attachid>
            <date>2005-08-28 09:26:03 -0700</date>
            <delta_ts>2005-08-28 09:26:03 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>509</size>
            <attacher name="Matt Kane">ascorbic</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPjx0aXRsZT5UZXN0PC90aXRsZT48L2hlYWQ+Cjxib2R5Pgo8ZGl2IGlkPSd0
aGVkaXYnPgo8L2Rpdj4KPHNjcmlwdCBsYW5ndWFnZT0namF2YXNjcmlwdCcgdHlwZT0ndGV4dC9q
YXZhc2NyaXB0Jz4KdmFyIHR4dCA9ICI8c2NyIiArICJpcHQgbGFuZ3VhZ2U9J2phdmFzY3JpcHQn
IHR5cGU9J3RleHQvamF2YXNjcmlwdCc+XG4iOwp0eHQgKz0gImFsZXJ0KCdzY3JpcHQgbG9hZGVk
Jyk7XG4iOwp0eHQgKz0gImZ1bmN0aW9uIGZvbygpXG4iOwp0eHQgKz0gIntcbiBhbGVydCgnZm9v
Jyk7XG4gfVxuIjsKdHh0ICs9ICI8L3NjciIgKyAiaXB0PjxwPnNvbWV0aGluZzwvcD4iOwpkaXYg
PSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdkaXYnKTsKZGl2LmlubmVySFRNTCA9IHR4dDsKZG9j
dW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3RoZWRpdicpLmFwcGVuZENoaWxkKGRpdik7Cjwvc2NyaXB0
Pgo8YSBocmVmPScjJyBvbmNsaWNrPSJmb28oKSI+Zm9vPC9hPgo8L2JvZHk+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>