<?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>45713</bug_id>
          
          <creation_ts>2010-09-13 15:31:34 -0700</creation_ts>
          <short_desc>Regression: crash in nightlies and Chrome 7.0.517 on object.removeAttribute(&quot;type&quot;)</short_desc>
          <delta_ts>2011-02-24 23:09:56 -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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://aryeh.name/tests/reflection.html</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="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>tabatkins</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>278531</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-09-13 15:31:34 -0700</bug_when>
    <thetext>http://aryeh.name/tests/reflection.html

Visit the page, and after a few seconds you get a sad tab in Chrome/crash in Safari.  This didn&apos;t happen before my last Chrome update (to 7.0.517), and happens for Chrome on both Windows and Linux.  It also happens in the r66933 and r67357 nightly builds for Windows, at least.  I don&apos;t think I can test in earlier nightly builds because of bug 44968.  It doesn&apos;t happen in Safari 5.

I might change the tests before you see this, so you can get a frozen version of the test page from git if the version at the URL right now isn&apos;t showing the problem:

http://aryeh.name/gitweb.cgi?p=tests;a=blob;f=reflection.html;hb=d18713d86

If I can provide any additional info, please advise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>280707</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-09-17 10:15:42 -0700</bug_when>
    <thetext>Minimal test case:

data:text/html,&lt;!doctype html&gt;
&lt;script&gt;
var el = document.createElement(&quot;object&quot;);
el.type = &quot;&quot;;
el.removeAttribute(&quot;type&quot;);
&lt;/script&gt;

This causes a sad tab for me in Chrome dev, and a crash in the latest WebKit nightly (r67637).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357106</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins">tabatkins</who>
    <bug_when>2011-02-24 09:38:15 -0800</bug_when>
    <thetext>No longer appears to cause a sad tab or crash for me.  Aryeh, wanna double-check and invalidate this if necessary?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357566</commentid>
    <comment_count>3</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-02-24 16:48:23 -0800</bug_when>
    <thetext>Nope, can&apos;t reproduce anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>