This is a behavior change that isn't specific to JavaScript, but seems like an oversight and was necessary for JavaScript specs. Previously the code was throwing ERR_INVALID_BACKREF here even if we've said that we don't want strict backref checking.