Partial backport of 27e92415a. The JS modification is not applied, in
case any extension would use `records_length`.
opw-668781
Partial backport of 27e92415a. The JS modification is not applied, in
case any extension would use `records_length`.
opw-668781