Bug 1081065 - Fix broken test coverage
Merge pull request #25286 from RickyChien/bug-1081065

Bug 1081065 - Fix broken test coverage r=@julienw