« Bugzilla Issues Index
#3280 — 9.1.2 [[SetPrototypeOf]] Contains unreachable steps
- bug_id:
3280
- creation_ts:
2014-10-14 09:58:00 -0700
- short_desc:
9.1.2 [[SetPrototypeOf]] Contains unreachable steps
- delta_ts:
2014-10-14 10:39:17 -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:
INVALID
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Sam L'ecuyer
- assigned_to:
Allen Wirfs-Brock
- cc:
andrebargull
- commentid:
10350
- comment_count:
0
- who:
Sam L'ecuyer
- bug_when:
2014-10-14 09:58:35 -0700
Substeps of 8 are unreachable in the latest draft, and step 7 is a duplicate of step 2.
Step 2: Let extensible be the value of the [[Extensible]] internal slot of O.
Step 5: If extensible is false, then return false.
Step 7: Let extensible be the value of the [[Extensible]] internal slot of O.
Step 8: If extensible is false, then (substeps)
[[Extensible]] is not modified in this algorithm, so if extensible is false, then it shouldn't be checked again.
- commentid:
10351
- comment_count:
1
- who:
Sam L'ecuyer
- bug_when:
2014-10-14 10:13:40 -0700
IMO, steps 7 & 8 should just be removed, since they just duplicate steps 3,4,5 in a different order.
- commentid:
10352
- comment_count:
2
- who:
André Bargull
- bug_when:
2014-10-14 10:30:21 -0700
Proxy handlers executed during the prototype chain traversal (step 6.b.ii) can change the [[Extensible]] internal slot, see bug 2489.
- commentid:
10353
- comment_count:
3
- who:
Sam L'ecuyer
- bug_when:
2014-10-14 10:39:17 -0700
Thanks, André. My mistake.