« Bugzilla Issues Index
#3115 — Skip HasProperty in Object.prototype.toString
- bug_id:
3115
- creation_ts:
2014-08-11 07:26:00 -0700
- short_desc:
Skip HasProperty in Object.prototype.toString
- delta_ts:
2015-07-10 08:34:23 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 26: July 18, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
9752
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2014-08-11 07:26:39 -0700
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.prototype.tostring
Step 14: Let hasTag be the result of HasProperty(O, @@toStringTag).
Why don't we just do Get and check if not undefined? Doing both HasProperty and Get requires two property lookups.
- commentid:
9830
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-20 16:18:13 -0700
fixed in rev27 editor's draft
- commentid:
9959
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-25 08:29:30 -0700
fixed in rev27 draft