<?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>161508</bug_id>
          
          <creation_ts>2016-09-01 14:03:58 -0700</creation_ts>
          <short_desc>GlobalFuncProtoSetterFunctor sometimes fails to get caller frame</short_desc>
          <delta_ts>2016-09-02 17:00:13 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>161455</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="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>ggaren</cc>
    
    <cc>mark.lam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1225518</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-09-01 14:03:58 -0700</bug_when>
    <thetext>GlobalFuncProtoSetterFunctor sometimes fails to get caller frame.

It skips the first frame, then there is no more frame so m_allowsAccess does not get initialized.

Happens during:
JSTests/stress/proxy-json-path.js

Found after landing patch for Bug 161455 because it started throwing a TypeError when trying to set __proto__ instead of merely ignoring the call.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225567</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-09-01 15:24:22 -0700</bug_when>
    <thetext>Sending back to Chris since he&apos;ll be looking into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1225860</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-09-02 11:42:37 -0700</bug_when>
    <thetext>Dropped this code in Bug 161455.

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

    </bug>

</bugzilla>