<?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>6395</bug_id>
          
          <creation_ts>2006-01-05 23:13:16 -0800</creation_ts>
          <short_desc>Activation objects should not have __proto__ property</short_desc>
          <delta_ts>2006-01-05 23:57:31 -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>JavaScriptCore</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6249</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>1</everconfirmed>
          <reporter name="Maciej Stachowiak">mjs</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27831</commentid>
    <comment_count>0</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-01-05 23:13:16 -0800</bug_when>
    <thetext>Activation objects (the objects that provide local scope for a function invocation) should not have a 
__proto__ property. They don&apos;t in Mozilla (which originated the __proto__ extension) and it allows various 
optimizations of property lookup if this is not supported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27832</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-01-05 23:20:40 -0800</bug_when>
    <thetext>Here&apos;s a simple test:

javascript:alert((function() { __proto__.testVariable = &apos;found&apos;; return window.testVariable; })())

This should show &apos;found&apos; and does in Firefox 1.5 (but not in some older versions - presumably that means 
they decided to change this too from the way it was).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27838</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2006-01-05 23:57:31 -0800</bug_when>
    <thetext>This is also fixed by the changes for 6249.

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

    </bug>

</bugzilla>