DETROIT (AP) -- Trent Edwards will watch J.P. Losman take every significant snap, if all goes well for the Buffalo Bills this year.
If it doesn't, the rookie quarterback hopes he can draw on experience from the exhibition season.
Edwards directed a 90-yard drive that set up a tiebreaking field goal with 1:46 left, and Buffalo recovered a fumble on the ensuing kickoff to seal a 16-13 win over the Detroit Lions on Thursday night in the preseason finale.
"It's going to be a long stretch of sitting on the sidelines and watching, so I need to be able to use what I learned in the preseason," Edwards said.
Edwards was 18-of-24 for 182 yards, perhaps solidifying a job as Losman's backup ahead of Craig Nall even though coach Dick Jauron said the decision would be made soon.
"I was really happy with Trent," Jauron said. "He's performed so well. He just gets a little better all the time. He's pretty good to start with, like we said when we drafted him."
Losman was 5-for-6 over two drives.
"I felt sharp, personally," he said. "I'm definitely ready for next week."
The Lions hope J.T. O'Sullivan is relegated to the sidelines this season, but like Edwards, he gained some needed experience in case Jon Kitna can't withstand 63 sacks as he did last season while taking every snap.
O'Sullivan took every snap for the second straight week and was 15-of-26 for 175 yards and a TD. Kitna (back) and reserve Dan Orlovsky (toe) were held out of the final two exhibition games with injuries.
"In this league, every snap is make or break unless you are a big-time guy," O'Sullivan said. "It's been a great opportunity to get these reps in training camp and get a chance to prove myself."
O'Sullivan, drafted in the sixth round in 2002 by New Orleans, has been on a handful of rosters in the league and led the Frankfort Galaxy to NFL Europa's World Bowl earlier this year and in 2004.
His NFL experience consists of kneeling down twice to seal a win for the Green Bay Packers in 2004.
Chicago cut him just before training camp, and the Lions quickly signed him. The former California-Davis standout has gone from possibly being released again to probably being the No. 2 quarterback because second-round pick Drew Stanton went on injured reserve with a knee injury and Orlovsky was hurt in the second preseason game.
Even though O'Sullivan's job seems to be secure, he has been through enough to avoid being cocky.
"The way I can sleep at night is by knowing that I prepared as hard as I could and I played as well as I could," he said.
O'Sullivan threw a perfect pass on an 18-yard touchdown to Sean McHugh late in the first half, then Rian Lindell kicked his first of three field goals as time expired in the first half to start the comeback.
Reserve running back Fred Jackson pulled Buffalo within three with a 5-yard run early in the third quarter and the plodding game was won by the Bills (2-2) as their rookie quarterback drove them downfield with some clutch passes on third downs.
Kevin Kasper, possibly motivated to make a spectacular play and earn a final roster spot, brought the final kickoff out of the middle of the end zone while teammate Brian Calhoun tried to stop him and turned over the ball.
"If you try to do too much -- secure the ball," Lions coach Rod Marinelli said.
Both teams played without several key players, keeping them healthy for next week's opener.
Detroit (2-2) sat about half of its starters, including receiver Roy Williams, running back Tatum Bell, defensive tackles Shaun Rogers and Cory Redding. The Bills held out several players, including receiver Lee Evans and cornerback Terrence McGee.
Marinelli was pleased to get out of the preseason relatively healthy, but he was disappointed with how his team played in the final half.
"I was very direct with them after the game. I said, 'Some of you hurt yourselves after we gave you every opportunity,"' Marinelli said.