« Bugzilla Issues Index
#3215 — 7.3.11 SetIntegrityLevel(O, level): [[PreventExtensions]] must be triggered before [[OwnPropertyKeys]]
- bug_id:
3215
- creation_ts:
2014-09-09 10:44:00 -0700
- short_desc:
7.3.11 SetIntegrityLevel(O, level): [[PreventExtensions]] must be triggered before [[OwnPropertyKeys]]
- delta_ts:
2014-10-14 15:17:45 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 27: August 24, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Claude Pache
- assigned_to:
Allen Wirfs-Brock
- commentid:
10171
- comment_count:
0
- who:
Claude Pache
- bug_when:
2014-09-09 10:44:43 -0700
7.3.11 SetIntegrityLevel(O, level)
Because [[OwnPropertyKeys]] (step 3) is called before [[PreventExtensions]] (step 9), a proxy on which the algorithm is applied could either conceal keys, or add new keys during the algorithm. Thus, even if the final step [[PreventExtensions]] succeeds, the algorithm may have actually failed in its purpose.
In order to prevent that, [[PreventExtensions]] must be called before [[OwnPropertyKeys]]. (Experience with FF Aurora suggests that it is indeed what FF does.)
- commentid:
10300
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-08 13:44:53 -0700
fixed in rev28 editor's draft
- commentid:
10388
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:45 -0700
fixed in rev28