« Bugzilla Issues Index
#1119 — [[Call]] pass through result completion to callee even if [[value]] is empty
- bug_id:
1119
- creation_ts:
2012-12-04 11:14:00 -0800
- short_desc:
[[Call]] pass through result completion to callee even if [[value]] is empty
- delta_ts:
2012-12-21 18:08:46 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 12: November 22, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Yusuke Suzuki
- assigned_to:
Allen Wirfs-Brock
- commentid:
2986
- comment_count:
0
- who:
Yusuke Suzuki
- bug_when:
2012-12-04 11:14:42 -0800
Because of 8.3.19.1 step 17, [[Call]] returns result completion even if result.type isn't return.
As the result, [[Call]] may return NormalCompletion(empty).
For example,
function test() {
var i;
}
var value = test(); // value is empty...
- commentid:
2987
- comment_count:
1
- who:
Yusuke Suzuki
- bug_when:
2012-12-04 11:16:52 -0800
mail https://mail.mozilla.org/pipermail/es-discuss/2012-December/026847.html
- commentid:
2988
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-12-04 11:35:10 -0800
fixed in rev13 editor's draft