« Bugzilla Issues Index
#1196 — __proto__ [[DefineOwnProperty]] treats missing descriptors as changes that disable __proto__, is this intentional?
  
  
  - bug_id:
    1196
  
 
  
  
  - creation_ts:
    2013-01-14 13:34:00 -0800
  
 
  
  
  - short_desc:
    __proto__ [[DefineOwnProperty]] treats missing descriptors as changes that disable __proto__, is this intentional?
  
 
  
  
  - delta_ts:
    2013-07-15 17:03:38 -0700
  
 
  
  
  - product:
    Draft for 6th Edition
  
 
  
  
  - component:
    technical issue
  
 
  
  
  - version:
    Rev 13: December 21, 2012 Draft
  
 
  
  
  - rep_platform:
    All
  
 
  
  
  - op_sys:
    All
  
 
  
  
  - bug_status:
    RESOLVED
  
 
  
  
  - resolution:
    FIXED
  
 
  
  
  - priority:
    Normal
  
 
  
  
  - bug_severity:
    enhancement
  
 
  
  
  - everconfirmed:
    true
  
 
  
  
  - reporter:
    Luke Hoban
  
 
  
  
  - assigned_to:
    Allen Wirfs-Brock
  
 
  
  
  
  
  - commentid:
    3120
  
 
  
  
  - comment_count:
    0
  
 
  
  
  - who:
    Luke Hoban
  
 
  
  
  - bug_when:
    2013-01-14 13:34:02 -0800
  
 
  
  
Current spec says this:
The definition of the [[DefineOwnProperty]] internal method given in 8.12.9 is replaced with the following:
1.	If UnderscoreProtoEnabled is true and P is the string value "__proto__" and O is the standard built-in Object prototype object, then 
a.	If any attribute contained in Desc is not present or has a different value from the corresponding attribute in { [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true }then,
i.	Set UnderscoreProtoEnabled to false.
2.	Continue by executing the steps of 8.12.9 starting with step 1.
Given that missing descriptors will not cause a change to the __proto__ property descriptor, is it intentional that these lead to disabling UnderscoreProtoEnabled?
  
  
  - commentid:
    4342
  
 
  
  
  - comment_count:
    1
  
 
  
  
  - who:
    Allen Wirfs-Brock
  
 
  
  
  - bug_when:
    2013-06-30 13:51:53 -0700
  
 
  
  
This is all gone from the rewrite of __proto__ that was done in rev 15
  
  
  - commentid:
    4430
  
 
  
  
  - comment_count:
    2
  
 
  
  
  - who:
    Allen Wirfs-Brock
  
 
  
  
  - bug_when:
    2013-07-15 17:03:38 -0700
  
 
  
  
fixed in rev16 draft.  July 15, 2013