Serie A: Roma 0 Juventus 1
The champions moved on to 99 points, beating the tally set by Inter in 2006-07, as Antonio Conte's men stand on the edge of reaching triple figures.
Juve need to avoid defeat against Cagliari on the final day to achieve that feat, though they will hope to do so in less dramatic circumstances than Sunday.
Paul Pogba struck the post just before the break and Gervinho wasted a gilt-edged one-on-one, though Giorgio Chiellini could have been dismissed for an elbow on Miralem Pjanic in the second half.
However, in the fourth minute of stoppage time former Roma man Osvaldo steered home his first Serie A goal of the season from the bench, ending Roma's unbeaten record on their own patch this term.
Roma's title challenge had ended with a desperate 4-1 reverse at Catania last week, leaving Juve to wrap up their third consecutive Scudetto and the result served as a reminder of their dominance.
The kick-off time at the Stadio Olimpico was brought forward by three hours following trouble in the capital before last week's Coppa Italia final.
It did little to dampen the atmosphere inside Roma's home ground as the supporters got behind their team, who started on the front foot but saw Francesco Totti and Mattia Destro fire off target.
Any fears that the game would be treated as a dead rubber were dispelled inside the opening half, which was played at a frenetic pace.
The visitors spurned an excellent chance to take the lead with 15 minutes gone when Carlos Tevez worked room for a shot inside the box but scuffed tamely wide.
Just a minute later at the other end, Vasilis Torosidis was denied his second league goal of the season after being adjudged to have handled the ball over the line.
Top scorer Destro wasted an opening when a heavy touch allowed Marco Storari to save, while Roma debutant Lukasz Skorupski made two good stops from Fernando Llorente as the contest became increasingly open.
Indeed, Juve's defence was wide open six minutes before the break when Gervinho raced through on goal, but he was thwarted by the onrushing Storari.
The woodwork came to Roma's rescue on the stroke of half-time, Pogba's powerful drive striking Skorupski's left upright.
Chiellini was fortunate to avoid sanction when he appeared to elbow Pjanic in a defensive wall for Andrea Pirlo's ultimately wasted free-kick around the hour mark.
Pjanic, who signed a new four-year deal before the game, took matters into his own hands and was booked for a blatant foul on Chiellini a minute later.
Skorupski was forced into an athletic save from Stephan Lichtsteiner and Storari produced a fine double save to deny Radja Nainggolan and substitute Alessandro Florenzi.
But, as the clock ticked down, Lichtsteiner's cut-back was turned into the corner by Osvaldo - Roma's top scorer last season - to spark jubilant celebrations among the travelling support and move Juve to the brink of history.