« Bugzilla Issues Index
#350 — B.2.3 String.prototype.substr needs to check for null/undefined this value
  
  
  - bug_id:
    350
  
- creation_ts:
    2012-05-11 14:56:00 -0700
  
- short_desc:
    B.2.3 String.prototype.substr needs to check for null/undefined this value
  
- delta_ts:
    2015-10-02 14:33:02 -0700
  
- product:
    ECMA-262, Editions 5 and 5.1
  
- component:
    technical content
  
- version:
    Edition 5.1
  
- rep_platform:
    All
  
- op_sys:
    All
  
- bug_status:
    RESOLVED
  
- resolution:
    FIXED
  
- priority:
    Normal
  
- bug_severity:
    normal
  
- everconfirmed:
    true
  
- reporter:
    Allen Wirfs-Brock
  
- assigned_to:
    Allen Wirfs-Brock
  
- cc:
    jwalden+beo
  
  
  
  - commentid:
    934
  
- comment_count:
    0
  
- who:
    Allen Wirfs-Brock
  
- bug_when:
    2012-05-11 14:56:11 -0700
  
Immediately before the current step 1 of the algorithm insert the step:
Call CheckObjectCoercible passing the this value as its argument.
  
  
  - commentid:
    10116
  
- comment_count:
    1
  
- who:
    Jeff Walden (remove +beo to mail)
  
- bug_when:
    2014-09-02 14:50:21 -0700
  
Fixed in 20140824 draft, and probably earlier.
  
  
  - commentid:
    10118
  
- comment_count:
    2
  
- who:
    Allen Wirfs-Brock
  
- bug_when:
    2014-09-02 14:58:04 -0700
  
Rick,
This is an ES5.1 bug (note the produce field above).
For those, I use "In Progress" as a flag to indicate that the the bug has been verified and that it is something that needs to be documented in the next ES5.1 errata (although there probably never will be one).
When such bugs turn up that also apply to Es6, I clone the bug for ES6.
Changing the status back to  Confirmed and then In Progress.
  
  
  - commentid:
    10119
  
- comment_count:
    3
  
- who:
    Jeff Walden (remove +beo to mail)
  
- bug_when:
    2014-09-02 15:05:33 -0700
  
Oh, bleh, sorry about that.  :-(
  
  
  - commentid:
    14731
  
- comment_count:
    4
  
- who:
    Brian Terlson
  
- bug_when:
    2015-10-02 14:33:02 -0700
  
Bulk resolving ES5.1 errata issues as a sampling suggests these are all fixed. If this is in error, please open a new issue on GitHub.