« Bugzilla Issues Index
#595 — Coverage: 15.4.4.5 - check steps 2/3 are executed before step 5
- bug_id:
595
- creation_ts:
2012-07-28 14:22:00 -0700
- short_desc:
Coverage: 15.4.4.5 - check steps 2/3 are executed before step 5
- delta_ts:
2012-07-28 14:22:28 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
CONFIRMED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Bill Ticehurst
- commentid:
1391
- comment_count:
0
- who:
André Bargull
- bug_when:
2012-07-28 14:22:28 -0700
Since the following test case only succeeds in JSC and Opera, it might make sense to add it to the other tests in ch15/15.4/15.4.4/15.4.4.5 . The test checks whether steps 2/3 are executed before step 5.
---
var object = {length: {valueOf: function(){ throw "length" }}};
var sep = {toString: function(){ throw "toString" }};
try {
Array.prototype.join.call(object, sep);
$ERROR("...");
} catch (e) {
if (e !== "length") {
$ERROR("...");
}
}
---