<?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>154745</bug_id>
          
          <creation_ts>2016-02-26 13:28:23 -0800</creation_ts>
          <short_desc>Add Proxy tests for exceptions that depend on an object being non-extensible and having configurable properties</short_desc>
          <delta_ts>2019-06-10 20:07:23 -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>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saam Barati">saam</reporter>
          <assigned_to name="Saam Barati">saam</assigned_to>
          <cc>ashvayka</cc>
    
    <cc>benjamin</cc>
    
    <cc>fpizlo</cc>
    
    <cc>ggaren</cc>
    
    <cc>gskachkov</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>oliver</cc>
    
    <cc>sukolsak</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1168654</commentid>
    <comment_count>0</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-02-26 13:28:23 -0800</bug_when>
    <thetext>I missed writing some of these tests because I didn&apos;t realize you could easily
make an object get into this state. But it&apos;s super easy. Object.preventExtensions
puts an object into this state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170510</commentid>
    <comment_count>1</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2016-03-03 21:20:56 -0800</bug_when>
    <thetext>This is referenced from this commit: http://trac.webkit.org/changeset/197539.

That suggests that maybe that commit should have referenced a different bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170534</commentid>
    <comment_count>2</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-03-03 23:15:50 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; This is referenced from this commit: http://trac.webkit.org/changeset/197539.
&gt; 
&gt; That suggests that maybe that commit should have referenced a different bug?

Yeah it definitely should have. That was a mistake on my end.
Is it worth going back and editing the change log?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1543580</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2019-06-10 20:07:23 -0700</bug_when>
    <thetext>Test262 has complete coverage of internal methods invariants being validated by proxies, including non-extensible targets and non-configurable properties.
Just a few of them:
https://test262.report/browse/built-ins/Proxy/defineProperty/targetdesc-configurable-desc-not-configurable.js
https://test262.report/browse/built-ins/Proxy/defineProperty/targetdesc-undefined-target-is-not-extensible.js
https://test262.report/browse/built-ins/Proxy/set/target-property-is-not-configurable-not-writable-not-equal-to-v.js
https://test262.report/browse/built-ins/Proxy/set/return-true-target-property-is-not-configurable.js
https://test262.report/browse/built-ins/Proxy/isExtensible/return-is-different-from-target.js</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>