<?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>76107</bug_id>
          
          <creation_ts>2012-01-11 14:55:10 -0800</creation_ts>
          <short_desc>WebKit fails IETC Override_Property_Setter_High (both JSC and V8)</short_desc>
          <delta_ts>2024-02-04 13:17:03 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>76198</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ahmad.saleem792</cc>
    
    <cc>antonm</cc>
    
    <cc>ashvayka</cc>
    
    <cc>barraclough</cc>
    
    <cc>ggaren</cc>
    
    <cc>oliver</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>534292</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-01-11 14:55:10 -0800</bug_when>
    <thetext>WebKit fails IETC Override_Property_Setter_High (both JSC and V8)

http://samples.msdn.microsoft.com/ietestcenter/dominheritance/showdominheritancetest.htm?Override_Property_Setter_High

Passes in FF.  There seem to be a number of Object.defineProperty bugs on file, maybe this is just a dupe of one of them.

The test is doing the following:

        var setValue = false;
        if (Object.defineProperty) {
            Object.defineProperty(Node.prototype, &quot;nodeName&quot;, {
                set: function () {
                    setValue = true;
                }
            });
        }
        var div = document.createElement(&quot;div&quot;);
        div.nodeName = &quot;foo&quot;;
        if (setValue) {
            document.getElementById(&quot;testresult&quot;).innerHTML = &quot;Pass&quot;;
        }

CCing the JavaScript ninjas.

See also bug 76106 which is about the &quot;getter&quot; variant of this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534328</commentid>
    <comment_count>1</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-01-11 15:21:20 -0800</bug_when>
    <thetext>I think this is really a test of the DOM API. Whether a setter on the prototype overrides the DOM API depends on whether the DOM API is expressed as a setter on the DOM object&apos;s prototype or a direct property on the DOM object.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792737</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-12-17 08:26:57 -0800</bug_when>
    <thetext>I guess this boils down to the differences between WebKitIDL and WebIDL, as explained here:
http://trac.webkit.org/wiki/WebKitIDL#V8Unforgeable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>792742</commentid>
    <comment_count>3</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2012-12-17 08:30:50 -0800</bug_when>
    <thetext>This bug and bug #76106 should probably be marked as a duplicate of bug #49739 as many other bugs have been before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010411</commentid>
    <comment_count>4</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-03 14:06:04 -0800</bug_when>
    <thetext>@Alexey - is this applicable anymore?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2010522</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2024-02-04 13:17:03 -0800</bug_when>
    <thetext>(In reply to Eric Seidel (no email) from comment #0)
&gt; WebKit fails IETC Override_Property_Setter_High (both JSC and V8)
&gt; 
&gt; http://samples.msdn.microsoft.com/ietestcenter/dominheritance/
&gt; showdominheritancetest.htm?Override_Property_Setter_High

The link is no longer alive yet we pass the inline test case since bindings redesign circa 2015. Redefinition of DOM properties is heavily covered by both WPT and our tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>