Bug 1700051: part 30) Narrow scope of `newOffset`. r=smaug