<?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>56492</bug_id>
          
          <creation_ts>2011-03-16 15:09:11 -0700</creation_ts>
          <short_desc>There should only be one [[ThrowTypeError]] per global object</short_desc>
          <delta_ts>2012-03-26 13:20:06 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>63398</dup_id>
          
          <bug_file_loc>javascript: alert(Object.getOwnPropertyDescriptor(function(){&apos;use strict&apos;}, &quot;caller&quot;).get === Object.getOwnPropertyDescriptor(function(){&apos;use strict&apos;;}, &quot;arguments&quot;).set ? &quot;PASS&quot; : &quot;FAIL&quot;)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>ES5</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeff Walden (remove +bwo to email)">jwalden+bwo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>368573</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff Walden (remove +bwo to email)">jwalden+bwo</who>
    <bug_when>2011-03-16 15:09:11 -0700</bug_when>
    <thetext>Not multiple such functions, created anew every time one is implicitly requested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>369156</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-03-17 10:53:29 -0700</bug_when>
    <thetext>How is this determined?  You get one per object, i don&apos;t see how the spec defines a single instance of that function shared everywhere.

That said i am annoyed that the spec require strict mode functions to have this property.  It means that in strict mode we have to instantiate this property, rather than simply not having it present.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>369273</commentid>
    <comment_count>2</comment_count>
    <who name="Jeff Walden (remove +bwo to email)">jwalden+bwo</who>
    <bug_when>2011-03-17 13:54:54 -0700</bug_when>
    <thetext>See 13.2 step 19 and 13.2.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588055</commentid>
    <comment_count>3</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2012-03-26 13:20:06 -0700</bug_when>
    <thetext>This is fixed in ToT, I think by the bug I&apos;ve duped to.

cheers!, G.

*** This bug has been marked as a duplicate of bug 63398 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>