« Bugzilla Issues Index
#2017 — 22.1.3.*: [[GlobalArray]] + IsConstructor() checks should be reversed
- bug_id:
2017
- creation_ts:
2013-10-01 02:32:00 -0700
- short_desc:
22.1.3.*: [[GlobalArray]] + IsConstructor() checks should be reversed
- delta_ts:
2013-10-29 09:46:16 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 19: September 27, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
5752
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-10-01 02:32:31 -0700
The current [[GlobalArray]] checks perform the following steps:
---
1. If C does not have a [[GlobalArray]] internal data property, then
a. If IsConstructor(C) is true, then
...
---
Normally internal data properties are only accessed when a previous step already confirmed the value is an Object. That means the expected order is:
---
1. If IsConstructor(C) is true, then
a. If C does not have a [[GlobalArray]] internal data property, then
...
---
- commentid:
5812
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-02 16:18:31 -0700
fixed in Rev20 editor's draft
new Object(aSymbol) now does ToObject(aSymbol)
- commentid:
5814
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-02 16:19:31 -0700
(updated wrong bug)
- commentid:
5964
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-24 13:40:37 -0700
[[GlobalArray]] eliminated in Rev20, but the ordering issue is still valid and was also fixed.
Fixed in Rev20 editor's draft
- commentid:
6128
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-29 09:46:16 -0700
fixed in rev20 draft, Oct. 28, 2013