« Bugzilla Issues Index
#25 — S12.6.4_A14_T1.js is invalid
- bug_id:
25
- creation_ts:
2011-02-21 10:02:00 -0800
- short_desc:
S12.6.4_A14_T1.js is invalid
- delta_ts:
2011-09-24 19:45:12 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- bug_file_loc:
http://hg.ecmascript.org/tests/test262/rev/c32da1976b53
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Dave Fugate
- assigned_to:
Mark S. Miller
- cc:
erights
- commentid:
43
- comment_count:
0
- who:
Dave Fugate
- bug_when:
2011-02-21 10:02:38 -0800
This test case consists of the following:
for(x in function __func(){return 0;}){
if (x=="prototype")
var __reached = 1;
};
followed by an assert to ensure __reached===1. While this might have been valid for ES3, this is invalid for ES5 as prototype is no longer enumerable. Section 15.3.3.1 states:
The initial value of Function.prototype is the standard built-in Function prototype object (15.3.4). This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
- commentid:
471
- comment_count:
1
- who:
Mark S. Miller
- bug_when:
2011-09-24 19:45:12 -0700
Fixed at http://hg.ecmascript.org/tests/test262/rev/c32da1976b53