<?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>43224</bug_id>
          
          <creation_ts>2010-07-29 18:00:23 -0700</creation_ts>
          <short_desc>[V8] &quot;delete&quot; on IDL attributes that reflect DOM attributes does not match Firefox/Opera</short_desc>
          <delta_ts>2013-05-29 09:37:24 -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>PC</rep_platform>
          <op_sys>Linux</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>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>49739</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aryeh Gregor">ayg</reporter>
          <assigned_to name="Nate Chapin">japhet</assigned_to>
          <cc>arv</cc>
    
    <cc>dominicc</cc>
    
    <cc>jamesr</cc>
    
    <cc>japhet</cc>
    
    <cc>tabatkins</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>258009</commentid>
    <comment_count>0</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-07-29 18:00:23 -0700</bug_when>
    <thetext>data:text/html,&lt;!doctype html&gt;
 &lt;script&gt;
 var el = document.createElement(&quot;a&quot;);
 delete el.id;
 alert(typeof el.id);
 &lt;/script&gt;

Chrome dev channel (6.0.472.0 (Official Build 53024) dev, WebKit 534.3) outputs &quot;undefined&quot;.  Firefox and Opera output &quot;string&quot;.  Discussion in #whatwg concluded that the relevant spec here is WebIDL:

http://dev.w3.org/2006/webapi/WebIDL/

But no one who was awake was able to decipher what it actually required here.  WebKit seems like the one that&apos;s wrong here, but I&apos;m not totally sure on that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258015</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-07-29 18:06:08 -0700</bug_when>
    <thetext>Maciej Stachowiak reports that the test gives &quot;string&quot; in Safari, so it&apos;s presumably a bug in the V8 bindings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258016</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2010-07-29 18:06:23 -0700</bug_when>
    <thetext>Hey Nate, looks like a bindings generation bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>421942</commentid>
    <comment_count>3</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2011-06-16 07:20:52 -0700</bug_when>
    <thetext>This bug is a consequence of the way V8 bindings are generated. V8 generates IDL attributes as properties on the object. The Web IDL spec specifies them as getters and setters on the object&apos;s prototype [1]. If bug 49739 was fixed, this bug would also be fixed as a natural consequence.

[1] &lt;http://dev.w3.org/2006/webapi/WebIDL/#es-attributes&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>